I have installed llama_index in to my environment correctly, however every time I import SimpleDirectoryReader or VectorStoreIndex from llama_index.core, I get the error “TypeError: Plain typing.TypeAlias is not valid as type argument”. How can I fix this?
I am working on a RAG LLM app using LlamaIndex and OpenAI where I am supposed to be indexing and querying multiple PDFs. However every time I try to access the llama_index.core functionalities I have been encountering the same error over and over
Ayush Garg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.