[383a81]: / production / action-server / config.yml

Download this file

48 lines (47 with data), 1.7 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
retriever:
# Choose retviever type
# Supported types:
# - SQL_table:
# Uses extracted intents and entities to query the database.
# Necessary configuration parameters:
# - host: <host address>
# - user: <database user>
# - database: <database name>
# NOTE: Password for database user must be in .env file in
# the directory of this file with key SQL_PASSWORD.
# NOTE: The code is written for MYSQL and might not work with
# other database services.
# - semantic:
# Candidate passages are retrieved using semantic search.
# NOT IMPLEMENTED YET!
type: SQL_table
host: localhost
user: root
database: datasets
tables:
- drugs
- labs
processor:
# Choose the kind of process you want to be done on retrieved context
# Supported types:
# - no_process:
# Shows full context to user
# - QA:
# Displays(or annotates) a part of context as answer
# Necessary configuration parameters:
# - host_url: <host address>
# NOTE: You can enter port inside host_url if needed.(e.g http://localhost:9095/)
# NOTE: If API key is needed to communicate with QA server it must be
# in .env file in the directory of this file with key QA_API_KEY.
# - RAG:
# A generative model returns answer using context
# NOT IMPLEMENTED YET!
# - summarizer:
# Displays the summary of context
# Necessary configuration parameters:
# - host_url: <host address>
# NOTE: You can enter port inside host_url if needed.(e.g http://localhost:9095/)
# NOTE: If API key is needed to communicate with QA server it must be
# in .env file in the directory of this file with key QA_API_KEY.
type: summarizer
host_url: http://localhost:9090/