Sariga Rahul Greetings!
Is there a suggested way to import website content to bring your own data. Also is there an api to upload documents to Bring your own data like in playground?
Did you check the documentations Azure OpenAI on your data (preview) and Rest API - Files already?
Azure OpenAI on your data supports the following filetypes:
-
.txt
-
.md
-
.html
- Microsoft Word files
- Microsoft PowerPoint files
There are some caveats about document structure and how it might affect the quality of responses from the model:
The model provides the best citation titles from markdown (.md
) files.
If a document is a PDF file, the text contents are extracted as a preprocessing step (unless you're connecting your own Azure Cognitive Search index). If your document contains images, graphs, or other visual content, the model's response quality depends on the quality of the text that can be extracted from them.
- If you're converting data from an unsupported format into a supported format, make sure the conversion:
- Doesn't lead to significant data loss.
- Doesn't add unexpected noise to your data.
- Doesn't lead to significant data loss.
Let us know if that helps or have any further queries.