# rag_config.yaml
chunk_size:
searchspace_type: continuous
bounds: [200, 2000]
dtype: int
chunk_overlap:
searchspace_type: continuous
bounds: [0, 500]
dtype: int
k:
searchspace_type: continuous
bounds: [1, 20]
dtype: int
temperature:
searchspace_type: continuous
bounds: [0.0, 2.0]
dtype: float
search_type:
searchspace_type: categorical
choices: ["similarity", "mmr", "bm25", "hybrid"]
llm:
searchspace_type: categorical
choices:
openai:
provider: openai
models: ["gpt-3.5-turbo", "gpt-4"]
pricing:
gpt-3.5-turbo:
input: 0.0015
output: 0.002
anthropic:
provider: anthropic
models: ["claude-3-7-sonnet-latest"]
pricing:
claude-3-7-sonnet-latest:
input: 0.003
output: 0.015
embedding:
searchspace_type: categorical
choices:
openai:
provider: openai
models: ["text-embedding-ada-002"]
huggingface:
provider: huggingface
models: ["all-MiniLM-L6-v2"]
vector_store:
searchspace_type: categorical
choices:
faiss:
provider: faiss
chroma:
provider: chroma
use_reranker:
searchspace_type: boolean
allow_multiple: true
reranker:
searchspace_type: categorical
choices:
cross_encoder:
provider: cross_encoder
models: ["msmarco-MiniLM-L-6-v3"]