feat(config): Use toml instead of env
This commit is contained in:
parent
dd1ce4e324
commit
c6a5790d33
26 changed files with 799 additions and 596 deletions
9
sample.config.toml
Normal file
9
sample.config.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[GENERAL]
|
||||
PORT = 3001 # Port to run the server on
|
||||
SIMILARITY_MEASURE = "cosine" # "cosine" or "dot"
|
||||
|
||||
[API_KEYS]
|
||||
OPENAI = "sk-1234567890abcdef1234567890abcdef" # OpenAI API key
|
||||
|
||||
[API_ENDPOINTS]
|
||||
SEARXNG = "http://localhost:32768" # SearxNG API ULR
|
||||
Loading…
Add table
Add a link
Reference in a new issue