View source: R/context_management.R
| create_context_management_config | R Documentation |
Build a normalized context-management configuration list.
create_context_management_config(
mode = NULL,
llm_synthesis = FALSE,
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 = FALSE,
retrieval_reranking_model = NULL,
retrieval_reranking_policy = NULL
)
mode |
One of |
llm_synthesis |
Logical; whether to enable optional LLM enrichment for working-memory synthesis. |
synthesis_model |
Optional model reference used for LLM synthesis. |
llm_synthesis_policy |
Optional named list controlling LLM synthesis
behavior. Supported fields are |
context_window_override |
Optional numeric context-window override. |
max_output_tokens_override |
Optional numeric max-output override. |
project_memory_root |
Optional project root used for |
retrieval_providers |
Optional retrieval-provider selection. Accepts either a character vector of enabled providers or a named logical/list map. |
retrieval_provider_order |
Optional character vector controlling render and ranking priority across retrieval providers. |
retrieval_provider_limits |
Optional named list of per-provider result limits. |
retrieval_min_hits |
Optional named list of per-provider matching thresholds. |
retrieval_scoring_policy |
Optional named list controlling cross-provider
retrieval scoring. Supported fields are |
retrieval_reranking |
Logical; whether to enable optional learned reranking on top of deterministic retrieval scoring. |
retrieval_reranking_model |
Optional model reference used for reranking. |
retrieval_reranking_policy |
Optional named list controlling reranking.
Supported fields are |
A normalized configuration list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.