-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsettings.yaml
More file actions
78 lines (63 loc) · 1.9 KB
/
settings.yaml
File metadata and controls
78 lines (63 loc) · 1.9 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Default environment
default:
# Documented in LogSettings class
log_level: info
log_filename_prefix: main
# Documented in EnvSettings class
env_id: dev_hackathon_main
env_kind: dev
env_packages:
- cl.runtime
- cl.convince
- cl.hackathon
- stubs.cl.runtime
- stubs.cl.convince
# Documented in DbSettings class
db_id: dev_hackathon_main
db_type: BasicMongoDb
db_mongo_uri: "mongodb://localhost:27017/"
# db_type: SqliteDb
# Documented in CelerySettings class (multiple workers)
celery_broker_uri: mongodb://localhost:27017/celery-{context_id}
# celery_broker_uri: sqlalchemy+sqlite:///{project_dir}/celery-{context_id}.db
celery_multiprocess_pool: true # Enable multiprocess worker pool
celery_workers: 8 # Number of worker processes
celery_pool_type: solo # Each worker uses solo pool
celery_worker_restart_interval: 30 # Restart workers if unresponsive for 30 seconds
celery_worker_log_level: info
# Documented in ApiSettings class
api_hostname: localhost
api_port: 7008
# Documented in PreloadSettings class
preload_dirs:
- preloads/cl
# Documented in CompletionSettings (disable caching for client)
completion_disable_caching: True
completion_load_from_csv: False
completion_save_to_csv: False
# Test environment
testing:
db_type: BasicMongoMockDb
# Documented in QaSettings class
# TODO: Add other DB types
qa_db_types:
- BasicMongoMockDb
- SqliteDb
env_packages:
- cl.runtime
- cl.convince
- cl.hackathon
- stubs.cl.runtime
- stubs.cl.convince
preload_dirs:
- preloads/cl
- preloads/stubs
# Documented in LogSettings class
log_filename_prefix: tests
# Documented in CompletionSettings (use caching for tests)
completion_disable_caching: False
completion_load_from_csv: True
completion_save_to_csv: True
# Documented in LlmSettings class
llm_type: GptLlm
llm_id: gpt-4o