How to add files to an existing Vector Store? #11434
Unanswered
lovedeepatsgit
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Tagging @crickman |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @lovedeepatsgit, Adding a file to an existing vector-store requires roughly the same steps as creating one:
// #1
PersistentAgentFileInfo fileInfo = await agentsClient.Files.UploadFileAsync(stream, PersistentAgentFilePurpose.Agents, "<filename>");
// #2
await agentsClient.VectorStores.CreateVectorStoreFileAsync("<storeid>", fileInfo.Id); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have used AzureAiAgents following (
semantic-kernel/dotnet/samples/GettingStartedWithAgents/AzureAIAgent/Step05_AzureAIAgent_FileSearch.cs
Line 16 in e936f93
Beta Was this translation helpful? Give feedback.
All reactions