Welcome to Microsoft Q&A Forum, thank you for posting your query here!
Yes, you can upload documents to the Azure OpenAI assistant's vector store using the API. You can create a vector store and add files to it in a single API call.
vector_store = client.beta.vector_stores.create(
name="Product Documentation",
file_ids=['file_1', 'file_2', 'file_3', 'file_4', 'file_5']
)
Additionally, you can add files to a vector store after it's created by creating vector store files or by creating batches of up to 500 files
Kindly refer below link: vector-stores
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful.
Thank You.