mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-06 01:48:34 +00:00
feat(config): Use toml instead of env
This commit is contained in:
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
|
Reference in New Issue
Block a user