Skip to content

Commit

Permalink
Fixed import for EmbeddingBase class for ollama and huggingface embed…
Browse files Browse the repository at this point in the history
…ders (mem0ai#1548)
  • Loading branch information
kmitul authored Aug 1, 2024
1 parent ab4f872 commit e287fb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mem0/embeddings/huggingface.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from embedding.base import EmbeddingBase
from mem0.embeddings.base import EmbeddingBase
from sentence_transformers import SentenceTransformer


Expand Down
2 changes: 1 addition & 1 deletion mem0/embeddings/ollama.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ollama
from embedding.base import EmbeddingBase
from mem0.embeddings.base import EmbeddingBase


class OllamaEmbedding(EmbeddingBase):
Expand Down

0 comments on commit e287fb9

Please sign in to comment.