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

basic RAG example #82

Open
silvacarl2 opened this issue Aug 10, 2024 · 1 comment
Open

basic RAG example #82

silvacarl2 opened this issue Aug 10, 2024 · 1 comment

Comments

@silvacarl2
Copy link

I get this error and i cannot figure out how to get rid of it for the llama-index part of the example:


ImportError Traceback (most recent call last)
in <cell line: 3>()
1 import os
2 from llama_index.core import Settings, SimpleDirectoryReader, VectorStoreIndex
----> 3 from llama_index.llms.mistralai import MistralAI
4 from llama_index.embeddings.mistralai import MistralAIEmbedding
5

2 frames
/usr/local/lib/python3.10/dist-packages/mistralai/async_client.py in
21 MistralException,
22 )
---> 23 from mistralai.files import FilesAsyncClient
24 from mistralai.jobs import JobsAsyncClient
25 from mistralai.models.chat_completion import (

ImportError: cannot import name 'FilesAsyncClient' from 'mistralai.files' (/usr/local/lib/python3.10/dist-packages/mistralai/files.py)

@lifelonglearnerforever
Copy link

Same issue

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

2 participants