File size: 761 Bytes
823b9f5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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