Spaces:
Sleeping
Sleeping
vectorDB: | |
class: Qdrant | |
kwargs: | |
url: "" | |
api_key: "" | |
collection_name: chat-eur-lex | |
timeout: 60 | |
retriever_args: | |
search_type: mmr | |
search_kwargs: | |
k: 100 | |
fetch_k: 300 | |
lambda_mult: 0.8 | |
rerank: | |
class: CohereRerank | |
kwargs: | |
cohere_api_key: "" | |
model: rerank-multilingual-v3.0 | |
top_n: 15 | |
embeddings: | |
class: OpenAIEmbeddings | |
kwargs: | |
model: text-embedding-ada-002 | |
llm: | |
class: ChatOpenAI | |
use_context_function: True | |
max_context_size: 12000 | |
kwargs: | |
model_name: gpt-4o | |
temperature: 0.8 | |
chatDB: | |
class: DynamoDBChatMessageHistory | |
kwargs: | |
table_name: '' | |
aws_access_key_id: '' | |
aws_secret_access_key: '' | |
max_history_messages: 10 |