Perplexica/sample.config.toml
2024-11-08 14:38:20 -05:00

16 lines
No EOL
567 B
TOML

[GENERAL]
PORT = 3001 # Port to run the server on
SIMILARITY_MEASURE = "cosine" # "cosine" or "dot"
[API_KEYS]
OPENAI = "" # OpenAI API key - sk-1234567890abcdef1234567890abcdef
GROQ = "" # Groq API key - gsk_1234567890abcdef1234567890abcdef
ANTHROPIC = "" # Anthropic API key - sk-ant-1234567890abcdef1234567890abcdef
[API_ENDPOINTS]
SEARXNG = "http://localhost:32768" # SearxNG API URL
OLLAMA = "" # Ollama API URL - http://host.docker.internal:11434
[OLLAMA_PARAMS]
TEMPERATURE = 0.7 # ollama default temp is 0.8
NUM_CTX = 2_048 # ollama num_ctx default is 2048