Welcome to Microsoft Q&A! Thanks for posting the question.
Here is something you can do to implement your solution -
- To extract images from a source document and use them in a chatbot response, you can use optical character recognition (OCR) and image processing techniques to identify and extract the relevant images from the document. You can then store these images in Azure Blob Storage and extract the text from these images to add to your Azure Search Index. Please refer to the OCR - Optical Character Recognition documentation for details.
- To process the text content of the document using the Text Analytics API, you can use the key phrase extraction and entity recognition features to identify relevant keywords and concepts. You then need to add your summarized text to your Azure Search Index. Please refer to documentation for details.
As Azure search can be integrated with Azure Open AI, you then use the Azure Search service with the Open AI with your own data to include int the chatbot response.
You can also refer to this solution for extracting images and using text api for reference.
Hope this helps.
Thanks
Saurabh
Please 'Accept as answer' and Upvote if it helped so that it can help others in the community looking for help on similar topics.