View source: R/context_management.R
| set_context_management_config | R Documentation |
Apply adaptive context-management settings to a session.
set_context_management_config(
session,
config = NULL,
mode = NULL,
llm_synthesis = NULL,
synthesis_model = NULL,
llm_synthesis_policy = NULL,
context_window_override = NULL,
max_output_tokens_override = NULL,
project_memory_root = NULL,
retrieval_providers = NULL,
retrieval_provider_order = NULL,
retrieval_provider_limits = NULL,
retrieval_min_hits = NULL,
retrieval_scoring_policy = NULL,
retrieval_reranking = NULL,
retrieval_reranking_model = NULL,
retrieval_reranking_policy = NULL
)
session |
A |
config |
Optional config list created by |
mode |
Optional override for config mode. |
llm_synthesis |
Optional override for config LLM synthesis flag. |
synthesis_model |
Optional override for config synthesis model. |
llm_synthesis_policy |
Optional override for config LLM synthesis policy. |
context_window_override |
Optional override for context window. |
max_output_tokens_override |
Optional override for max output tokens. |
project_memory_root |
Optional override for project memory root. |
retrieval_providers |
Optional override for retrieval-provider selection. |
retrieval_provider_order |
Optional override for provider ranking/order. |
retrieval_provider_limits |
Optional override for per-provider limits. |
retrieval_min_hits |
Optional override for per-provider matching thresholds. |
retrieval_scoring_policy |
Optional override for cross-provider scoring policy. |
retrieval_reranking |
Optional override for learned reranking enablement. |
retrieval_reranking_model |
Optional override for the reranker model. |
retrieval_reranking_policy |
Optional override for reranking policy. |
Invisible session.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.