File size: 604 Bytes
7bd11ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/**
 * @typedef {import('app/config/types').LLMConfig} LLMConfig
 */

/**
 * @type {LLMConfig}
 */

const config = {
    type: "openai",
    params: {
        prompt_template: `
### Instruction:
Use the following pieces of context to answer the question at the end. If the answer isn't in the context, say that you don't know, don't try to make up an answer.

### Context:
---------------
{context}
---------------

### Question: {question}
### Response:
    `,
        model_kwargs: {
            model_name: "gpt-3.5-turbo",
            temperature: 0.0,
        },
    },
};

module.exports = config;