-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Passing memory=True
reaches out to Open AI, even when running locally with Ollama
#447
Comments
Hi you can refer to this issue #105 (comment) for an explanation of why this issue arises. |
The referred comment actually does not solve the issue, it just shows how it works with Gemini as a model. The problem reported which is also mine, it is how to make that works with local models like Ollama. Is this Memory tailored to work with Ollama as well even though if necessary a custom embedding? If yes, how is it looking like? |
Hi @brunoreisportela, The comment only explains why this error arises, if you want to make embedding work with ollama embeddings models, you can't as of now the library used by crewai for embeddings (embedchain) doesn't support ollama embeddings but you can use huggingface embeddings if you want. embeddings : https://docs.crewai.com/core-concepts/Memory/#using-openai-embeddings-already-default
|
Amazing. Thanks for further explaining it. |
It should support an open interface for embedding model integration similar to LLMs, especially for local deployment. I haven't observed such support currently; if it exists, please inform me—would be immensely grateful! |
I believe embedchain does support ollama now |
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Hey all, I thought I was having the same problem as described by this previously closed issue:
#21
it turns out that I was actually experiencing the following error stack when attempting to run with
memory=True
in my Crew:Here's a snippet of how I was looking to run my Crew:
Figured I'd share what I found in case it saves anyone a few hours ;)
The text was updated successfully, but these errors were encountered: