Thank you for using the Microsoft Q&A platform.
The
file_ids
parameter is required to give tools likecode_interpreter
access to files. When using the File upload endpoint, you must have thepurpose
set to assistants to be used with the Assistants API.
Files can be uploaded via Studio or programmatically using the File upload endpoint. When using the File upload endpoint, you must have the purpose parameter set to assistants to be used with the Assistants API.
If you have data stored in SQL Server, you can ingest it into Azure Assistants API. To ingest data from SQL Server into Azure Assistants API, begin by retrieving the desired data through SQL queries. Optionally, transform the data to fit the API's requirements and its supported file types. Then, pass the prepared data to the API using suitable parameters, including direct Rest API requests. Finally, invoke the Azure Assistants API with the prepared data to execute desired tasks like generating visualizations or responding to queries.
I hope the provided details help you in your particular use case. Thank you.