skytin1004 / teach-chatgpt-to-answer

This repository is a lab for a post published on the Microsoft Tech Community blog.
0 stars 0 forks source link

teach-chatgpt-to-answer

This repository is a lab for a post published on the Microsoft Tech Community blog.

Did you know that you can teach ChatGPT to answer questions using Azure AI Search & Azure OpenAI?

If you want to get the answer based on a large amount of PDF documents, the integration of Azure AI Search with Azure OpenAI enables fast and accurate information retrieval and processing.

Here is the overview of this tutorial

img

How to USE?

1. Create a folder where you can work

2. Create a virtual environment.

3. Put example.py and config.py into a single folder.

Complete folder structure:

└── YourUserName
        └── yourFolder
                ├── example.py
                └── config.py

4. Fill in your config.py file with your Azure information.

5. Run example.py

For more information on each step, see the blog links above.

Common issues