my code was working perfectly fine. but now they have decided to work with vector store.
my complete scenario is like below.
upload file then
create assistant with all details
attach this file to current assistant(CreateAssistantFileRequest). (here i was using below code and now its giving false result.)
create the thread.
create MessageResponse
create RunResponse
if run response true then get all MessageData from MessagesService.
after all these i was deleting file and assistant in finally block.
so what to do now to fix this?
var createAssistantFileRequest = new CreateAssistantFileRequest()
{
AssistantId = assistantId,
FileId = assistantFileId
};
var createAssistantFileResult = await openAi.AssistantFileService.CreateAsync(createAssistantFileRequest, CancellationToken.None);
Hi @JZO001,
my code was working perfectly fine. but now they have decided to work with vector store. my complete scenario is like below.
upload file then create assistant with all details attach this file to current assistant(CreateAssistantFileRequest). (here i was using below code and now its giving false result.) create the thread. create MessageResponse create RunResponse if run response true then get all MessageData from MessagesService.
after all these i was deleting file and assistant in finally block.
so what to do now to fix this?