Prompt Studio (public preview) RAG connection crashes
![santingb](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar11.png)
Hi,
Using the public preview feature 'Prompt Studios', I tried to call a RAG connection (openAI + FAISS datastore) using a single-shot prompt. I basically wanted to implement this example.
When running the prompt, I'm getting the attached error. Does anyone have an idea how to trouble shoot this, or what might cause it?
Thank you in advance!
/Bart
Best Answer
-
Antal Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 88 Neuron
I had this error and in my case it was due to the code environment defined in Administration > Settings > LLM Mesh (Public Preview) > Retrieval augmentation not having a correct version of the langchain package.
Double check if the code env you assigned contains all the packages mentioned in the 'Add sets of packages' > 'Retrieval augmented generation' dropdown in the Packages to install tab.
At time of writing these are:
langchain==0.0.270
pydantic<2
chromadb
faiss-cpu
pinecone-client
Answers
-
Hi,
There seem to be some kind of underlying error. Please retry after upgrading to the latest DSS version (12.3.1 as of this post), and if the error persists, please reach out to Dataiku technical support, providing an instance diagnostic.