Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embedding = ollama.embeddings(model="nomic-embed-text", prompt=inp) AttributeError: module 'ollama' has no attribute 'embeddings' #26

Open
myyourgit opened this issue Jul 21, 2024 · 0 comments

Comments

@myyourgit
Copy link

I strictly do test step and setting.yaml. but meet below error.
I really installed nomic-embed-text with command:

ollama pull nomic-embed-text

error file:

File "C:\Users\xxx\AppData\Local\Programs\Ollama\graphrag-local-ollama\graphrag\llm\openai\openai_embeddings_llm.py", line 31, in _execute_llm
embedding = ollama.embeddings(model="nomic-embed-text", prompt=inp)
^^^^^^^^^^^^^^^^^
AttributeError: module 'ollama' has no attribute 'embeddings'
22:53:43,676 graphrag.index.reporting.file_workflow_callbacks INFO Error running pipeline! details=None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant