Forum Discussion
What services should I use to search data from website
Hi,
I want to create a chat bot which will get answers from my website with citations.
Currently I am using Microsoft PVA and direct line API and have built a custom chat interface.
I just added the website link in PVA and its working well.
The issue I am facing with PVA is that I can't add any custom logic like generating follow up questions using the context of previous questions.
I did some investigation on the Azure Bot service but didn't find a way to add a website url.
I would value your input on how to achieve this while considering cost implications.
2 Replies
- SenthilCopper Contributor
To achieve your goal of creating a chat bot that can provide answers from your website with citations, you can consider the following approach:
Microsoft Power Virtual Agents (PVA):
- Use PVA for its ease of integration with Direct Line API and existing custom chat interface.
- Utilize PVA's built-in capabilities for handling basic interactions and routing user queries.
Azure Bot Service:
- Develop a custom bot using Azure Bot Service for more advanced logic and integration capabilities.
- Use the Bot Framework SDK to build a bot that can fetch information from your website and provide citations.
Custom Logic:
- Implement custom logic within your bot to generate follow-up questions based on the context of previous questions.
- Use Azure Functions or other serverless computing options for cost-effective execution of custom logic.
Integrating Website URL:
- You can integrate a website URL in your bot's responses by fetching information from the website's API or using web scraping techniques.
- Ensure compliance with the website's terms of service and legal requirements for accessing and using their data.
Cost Implications:
- Evaluate the cost of using Azure Bot Service, Azure Functions, and other Azure services based on your bot's expected usage and complexity.
- Consider using Azure's free tier and pay-as-you-go pricing model to manage costs efficiently.
By combining the features of PVA, Azure Bot Service, and custom logic, you can create a chat bot that provides answers from your website with citations, while considering cost implications and maintaining compliance with legal requirements.