Relative Content

Tag Archive for pythonlangchainlarge-language-modeltransformer-modelctransformers

ValidationError: 1 validation error for RetrievalQA retriever

I am using pinecone vector database for storing the veactors of the text chunks, then I am imlementing similarity search to get similar document after that I am loading my llm model and using the retrieveralQA chain I am trying to use “from langchain.chains import RetrievalQA ” for my chatbot but I am always getting a validation error in RetrieveralQA.from_chain_type.