diff --git a/.gitignore b/.gitignore index 8391d19..348ea29 100644 --- a/.gitignore +++ b/.gitignore @@ -21,7 +21,7 @@ yarn-error.log .env.production.local # Config files -config.toml +# config.toml # Log files logs/ diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..490429f --- /dev/null +++ b/config.toml @@ -0,0 +1,14 @@ +[GENERAL] +PORT = 3001 # Port to run the server on +SIMILARITY_MEASURE = "cosine" # "cosine" or "dot" +KEEP_ALIVE = "5m" # How long to keep Ollama models loaded into memory. (Instead of using -1 use "-1m") + +[API_KEYS] +OPENAI = "sk-proj-42-jaMais-en-cLair-Mon-R3uf-4337" # OpenAI API key - sk-1234567890abcdef1234567890abcdef +GROQ = "" # Groq API key - gsk_1234567890abcdef1234567890abcdef +ANTHROPIC = "" # Anthropic API key - sk-ant-1234567890abcdef1234567890abcdef +GEMINI = "" # Gemini API key - sk-1234567890abcdef1234567890abcdef + +[API_ENDPOINTS] +SEARXNG = "http://localhost:32768" # SearxNG API URL +OLLAMA = "" # Ollama API URL - http://host.docker.internal:11434 http://127.0.0.1:11434/ \ No newline at end of file