generated from dream-aim-deliver/caps-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.yaml
148 lines (128 loc) · 4.11 KB
/
config.yaml
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
mode: ${KP_MODE:development}
log:
level: "DEBUG"
format: "[%(asctime)s] [%(levelname)s] [%(name)s]: %(message)s"
files:
root_directory: "${KP_ROOT_DIRECTORY:./test/mocks}"
source_data_directory: "${KP_SOURCE_DATA_DIR:source_data}"
rdbms:
host: ${KP_RDBMS_HOST:localhost}
port: ${KP_RDBMS_PORT:5432}
database: ${KP_RDBMS_DBNAME:kp-db}
username: ${KP_RDBMS_USERNAME:postgres}
password: ${KP_RDBMS_PASSWORD:postgres}
object_store:
host: ${KP_OBJECT_STORE_HOST:localhost}
port: ${KP_OBJECT_STORE_PORT:9001}
access_key: ${KP_OBJECT_STORE_ACCESS_KEY:minio}
secret_key: ${KP_OBJECT_STORE_SECRET_KEY:minio123}
secure: ${KP_OBJECT_STORE_SECURE:false}
cert_check: ${KP_OBJECT_STORE_CERT_CHECK:false}
signed_url_expiry: ${KP_OBJECT_STORE_SIGNED_URL_EXPIRY:60}
fastapi:
host: ${KP_FASTAPI_HOST:localhost}
port: ${KP_FASTAPI_PORT:8000}
debug: ${KP_FASTAPI_DEBUG:false}
reload: ${KP_FASTAPI_RELOAD:false}
default_data:
client_sub: "[email protected]"
llm_name: "gpt-4o"
features:
demo:
name: "Sum Feature"
description: "Adds 2 numbers"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: false
list_conversations:
name: "List Conversations"
description: "List all conversations in a research context"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
create_default_data:
name: "Create Default Data"
description: "Create default data for testing: one user with a hard-coded SUB; one llm with a hardcoded name. This is meant to be executed first to setup the necessary components to (1) register new source data, (2) create a new research context selecting from the available source data"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
new_source_data:
name: "Register Source Data"
description: "Register a new source data in the database"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
list_source_data:
name: "List Source Data"
description: "List all source data registered in the database for a given Client"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
new_research_context:
name: "Create Research Context"
description: "Create a new research context from a subset of the available source data for a client"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
extend_research_context:
name: "Extend Research Context"
description: "Create a new research context incorporating source data from an existing context with new source data from the client"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
new_conversation:
name: "Create Conversation"
description: "Create a new conversation in a research context"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
list_research_contexts:
name: "List Research Contexts"
description: "List all research contexts in the database for a given user"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
list_source_data_for_research_context:
name: "List Source Data for Research Context"
description: "List all source data registered in the database for a given research context"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
get_client_data_for_upload:
name: "Get Client Data for Upload"
description: "Get the data required to upload a file to one of the storage services"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
get_client_data_for_download:
name: "Get Client Data for Download"
description: "Get the data required to download a file from one of the storage services"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
list_messages:
name: "List Messages"
description: "List all messages in a conversation"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true
new_message:
name: "Create Message"
description: "Create a new message in a conversation"
version: "1.0.0"
tags: ["client"]
enabled: true
auth: true