mem0
mem0 copied to clipboard
ModuleNotFoundError: No module named 'embedding'
🐛 Describe the bug
Have a proplem in my example:
File "/Users/berchan/.pyenv/versions/3.10.0/lib/python3.10/site-packages/mem0/embeddings/ollama.py", line 2, in
Comparing the import way in the openai.py, as follows: from mem0.embeddings.base import EmbeddingBase
My Code: config = { "embedder": { "provider": "ollama", "config": { "base_url":"http://127.0.0.1:11434", "model":"nomic-embed-text" } } } memory = Memory.from_config(config) app_id = "PersonalAITutor" memory.add(question, user_id=user_id, metadata={"app_id": app_id})
Hey @berchan ! I have fixed the issue in #1548