Thanks for reaching out to us, could you please share more details about your scenario? From the current information you provided to us, below steps seems a solution -
To connect an Azure chatbot to a Python application that serves as a data source, you can use Azure Functions and Azure Blob Storage. Here's an architecture that you can use:
- Upload the 100 PDFs to Azure Blob Storage. You can use the Azure Portal or Azure Storage Explorer to upload the PDFs.
- Create an Azure Function that reads the PDFs from Azure Blob Storage, scans them for content, and returns the matched content. You can use a Python script to perform the scanning and matching.
- Configure the Azure Function to be triggered by an HTTP request. This will allow the chatbot to call the Azure Function and retrieve the matched content.
- Create an Azure Bot Service bot and configure it to use the Direct Line channel. This will allow the bot to communicate with users through a web chat interface.
- In the bot's code, call the Azure Function to retrieve the matched content and use it to generate a response to the user.
Please let me know how it works, thanks.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.