-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings_example.py
More file actions
31 lines (31 loc) · 979 Bytes
/
settings_example.py
File metadata and controls
31 lines (31 loc) · 979 Bytes
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
# The directory where Chroma DB will reside. Must exist beforehand.
CHROMA_DB_DIRECTORY="/home/ubuntu/repos/ai-experiments/chroma_db"
# The models to use for chat and embeddings (generating integers from text for
# later querying in the Chroma DB).
MODELS = {
"chat": {
"name": "deepseek-r1:1.5b",
"url": "http://localhost:11434",
},
"embeddings": {
"name": "nomic-embed-text:latest",
"url": "http://localhost:11434",
},
}
# The sources to use for ingestion and querying.
SOURCES = {
"django": {
"name": "Django",
"collection_name": "django_docs",
"doc_type": "rst",
"docs_dir": "/home/ubuntu/repos/ai-experiments/sources/django/docs",
"version": "4.2",
},
"laravel": {
"name": "Laravel",
"collection_name": "laravel_docs",
"doc_type": "md",
"docs_dir": "/home/ubuntu/repos/ai-experiments/sources/laravel/docs",
"version": "11.x",
}
}