-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
49 lines (45 loc) · 1.64 KB
/
config.json.example
File metadata and controls
49 lines (45 loc) · 1.64 KB
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
46
47
48
49
{
"llm": {
"default_model": "openai",
"openai": {
"model": "gpt-3.5-turbo"
},
"ollama": {
"model": "llama3",
"base_url": "http://localhost:11434"
},
"claude": {
"model": "claude-3-haiku-20240307"
},
"gemini": {
"model": "models/gemini-pro"
},
"groq": {
"model": "mixtral-8x7b-32768"
}
},
"rag": {
"source_dir": "docs",
"chunk_size": 1000,
"chunk_overlap": 200,
"embedding_model": "all-MiniLM-L6-v2",
"kb_dir": ".kb"
},
"prompts": {
"default_template": "isolation",
"templates": {
"isolation": "You are a helpful assistant. Use the following files to help answer the question.\nDo not use any other information beyond what is provided in these files.\n\n{context}\n\nQuestion: {query}\nAnswer:",
"complementary": "You are a helpful assistant. First, try to answer using the following files as references.\nIf these files don't contain the information needed to answer the question, then use your general knowledge to provide the best possible answer.\n\n{context}\n\nQuestion: {query}\nAnswer:",
"supplementary": "You are a helpful assistant. Use both the following files AND your general knowledge to provide the most helpful and accurate answer possible.\n\n{context}\n\nQuestion: {query}\nAnswer:"
}
},
"web": {
"title": "AskDocs",
"host": "0.0.0.0",
"port": 8000,
"debug": true
},
"cli": {
"show_progress": true
}
}