How to use Natural Language Categorization & Search with Ollama as backend? #906
|
I added the following variables to use Ollama as backend, but nothing happened. Note that Ollama doesn't use API keys for using local models. |
Answered by
zanllp
Jan 31, 2026
Replies: 3 comments 6 replies
|
First, check what errors are recorded in the log.log file in the root directory. |
1 reply
|
Maybe you can try entering any random value into the API key field first to allow some of the validation logic to run properly. |
1 reply
|
I've added a lot of logging. Please try it again now. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
OPENAI_BASE_URLyou provided is incorrect. If it were correct, you should be able to call the endpoint{base_url}/chat/completions(the API needs to be OpenAI-compatible). For example, with OpenRouter, it would behttps://openrouter.ai/api/v1.