Chat-EUR-Lex / config.yaml
MattiaSangermano's picture
Added app code
823b9f5
raw
history blame
761 Bytes
vectorDB:
class: Qdrant
kwargs:
url: ""
api_key: ""
collection_name: chat-eur-lex
retriever_args:
search_type: mmr
search_kwargs:
k: 15
fetch_k: 300
score_threshold: 0.0
lambda_mult: 0.8
embeddings:
class: OpenAIEmbeddings
kwargs:
openai_api_key: ""
openai_organization: ""
model: text-embedding-ada-002
llm:
class: ChatOpenAI
use_context_function: True
max_context_size: 6000
kwargs:
openai_organization: ""
openai_api_key: ""
model_name: gpt-4
temperature: 0.8
chatDB:
class: FileChatMessageHistory
kwargs:
output_path: ./output
max_history_messages: 5