Prompt Studio (public preview) RAG connection crashes

Options
santingb
santingb Registered Posts: 1

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

Tagged:

Best Answer

  • Antal
    Antal Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 85 Neuron
    Answer ✓
    Options

    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

Setup Info
    Tags
      Help me…