Replies: 1 comment
-
Has anyone solved this?
I see that the problem relies in VectorStoreIds being an unitialized list. FileSearchToolResources.cs Does anyone know a workaround? |
Beta Was this translation helpful? Give feedback.
-
Has anyone solved this?
I see that the problem relies in VectorStoreIds being an unitialized list. FileSearchToolResources.cs Does anyone know a workaround? |
Beta Was this translation helpful? Give feedback.
-
Am trying to add a vector store to a new Assistant thread. Have added the vectorStore.Id to the fileSearchToolResources and then included it in the ThreadCreationOptions. Following is the code. Am getting a null reference error.
//Add vector store to thread
FileSearchToolResources fileSearchToolResources = new FileSearchToolResources();
fileSearchToolResources.NewVectorStores.Clear();
fileSearchToolResources.VectorStoreIds.Add(vectorStore.Id);
ThreadRun threadRun;
try
{
}
Beta Was this translation helpful? Give feedback.
All reactions