Add few-shot learning to your PandasAI agent
train
method on the Agent
.
No vector store provided. Please provide a vector store to train the agent
.
train
method on the Agent
, as it follows:
The training uses by default the BambooVectorStore
to store the training data, and it’s accessible with the API key.
As an alternative, if you want to use a local vector store (enterprise only for production use cases), you can use the ChromaDB
, Qdrant
or Pinecone
vector stores (see examples below).
train
method on the Agent
, as it follows:
ChromaDB
, Qdrant
or Pinecone
vector stores. Here’s how to do it:
An enterprise license is required for using the vector stores locally, (check it out).
If you plan to use it in production, contact us.
No vector store provided. Please provide a vector store to train the agent
. It means no API key has been generated to use the BambooVectorStore
.
Here’s how to fix it:
First of all, you’ll need to generated an API key (check the prerequisites paragraph above).
Once you have generated the API key, you have 2 options:
os.environ["PANDABI_API_KEY"] = "YOUR_PANDABI_API_KEY"
)