There is a task involving the use of the Assistant API and vector storage.
A JSON file is uploaded to vector storage, containing word objects. The structure is approximately as follows:
{
"car": {
"id": 1,
"forms": ["car", "cars"],
"description": "Car's description",
"example": "Example of usage"
},
"run": {
"id": 2,
"forms": ["run", "runs", "ran", "running"],
"description": "Run's description",
"example": "Example of usage"
}
}
There are about 50 words in total. The goal is for the assistant to generate meaningful sentences using only these 50 words.
A simple instruction like: “Use only words from vector storage for your response. Other words are not allowed.” does not yield any results. The assistant continues to include words not found in the file and also constructs grammatically incorrect sentences.
Could you please suggest how to configure the assistant to meet this requirement?