Hello @Mohamed Hussein , Thanks for using Microsoft Q&A Platform.
Regarding your first question, Azure OpenAI assistants does provide REST APIs for interacting with Vector Stores. You can use these APIs to perform operations such as creating, searching, and managing files.
To your second question about the documentation, if you choose not to use the SDKs, you can still retrieve the file ingestion operation by directly accessing the vector_store object via the REST API. Where, a vector store is a collection of processed files can be used by the file_search
tool. Specifically, you can check the file_counts property of the vector_store
object. This property provides information about the number of files that are currently being processed.
The REST APIs for Vector Stores is explained detailed in the following documentation: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference-preview#create---vector-store
For example, to Create - Vector Store File:Create a vector store file by attaching a File to a vector store.
POST https://{endpoint}/openai/vector_stores/{vector_store_id}/files?api-version=2024-10-01-preview
In the request body you can add this parameter file_id
:
I hope this helps.
Regards,
Vasavi