Replies: 23 comments
|
tiagoriosrocha — 13/12/25, 1:42 AM LLM_API_KEY="sk-key" ERROR: [2m2025-12-15T17:21:17.412371[0m [[31m[1merror [0m] [1m<failed_attempts> Error code: 405 - {'detail': 'Method Not Allowed'} None Error code: 405 - {'detail': 'Method Not Allowed'} None Error code: 405 - {'detail': 'Method Not Allowed'} None Error code: 405 - {'detail': 'Method Not Allowed'} None Error code: 405 - {'detail': 'Method Not Allowed'} None</failed_attempts> <last_exception> [2m2025-12-15T17:21:17.413564[0m [[31m[1merror [0m] [1mConnection to LLM could not be |
|
tiagoriosrocha — 11:28 PM import requests url = "http://localhost:3000/api/chat/completions" response = requests.post( if response.status_code != 200: result = response.json() answer = result["choices"][0]["message"]["content"] print("Response:") ############################ import requests url = "http://localhost:3000/ollama/api/embed" response = requests.post(url, json=data, headers=headers) embedding = response.json()['embeddings'][0] print(f"Size: {len(embedding)}") |
|
LLM API KEY="sk-737983c62cea4440b586867d7e85b270" |
|
can you try this once what error we are getting please share |
|
ok. here is the error for this environmental variables. |
|
LLM_MODEL="openai/llama3:8b" |
|
please try with this |
|
ok, follow the error, it seems to be the embedding model for now.. |
|
when I change embedding environment variables the error is... |
|
please try this LLM_API_KEY="sk-737983c62cea4440b586867d7e85b270" EMBEDDING_PROVIDER="openai" |
|
Ok. The error was huge! I can't capture all.. I used this variables: EMBEDDING_API_KEY="sk-737983c62cea4440b586867d7e85b270" |
|
can you please try this one too LLM_API_KEY="sk-737983c62cea4440b586867d7e85b270" EMBEDDING_API_KEY="sk-737983c62cea4440b586867d7e85b270" |
|
follow the error (without HUGGINGFACE_TOKENIZER) |
|
when I put the HUGGINFACE_TOKENIZER, the error is: |
|
when I play the python script, I run the command: "ollama ps". I can see the model llam3:8b running.. In this way, I understood that it is connecting and running... the problem probably is the embedding connection for now... |
|
If I am using EMBEDDING_PROVIDER="openai", I need remove HUGGINGFACE_TOKENIZER="Salesforce/SFR-Embedding-Mistral"? I am confusing about it. |
|
I don't know if the EMBEDDING_MODEL="avr/sfr-embedding-mistral:latest" is compatible with openai... |
|
May you change the topic name for: Issue with cognee and Ollama connection through Open WebUI. |
|
Issue with cognee and Ollama connection through Open WebUI |
|
I have tried using ollama with cognee i didn't try it with open web ui |
|
But I will suggest use BAML |
|
Instead of instructor |
|
It works well |
Uh oh!
There was an error while loading. Please reload this page.
=<@1069659243810144386> please move your problem here
This discussion was automatically pulled from Discord.
All reactions