Spaces:
Sleeping
Sleeping
File size: 849 Bytes
823b9f5 e34a2a6 823b9f5 e34a2a6 823b9f5 e34a2a6 823b9f5 e34a2a6 823b9f5 e34a2a6 823b9f5 c102038 823b9f5 c102038 823b9f5 e34a2a6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
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 |