Designed and implemented a chatbot using Google DialogFlow CX, enabling seamless integration with live data through API calls using webhooks.
Enhanced user interaction with visual and interactive cards, supporting multimodal communication, and incorporating a custom persona. Covered 13+ topics, providing comprehensive answers and information through the chatbot.
Steps:
- Setup an account on Google DialogFlow CX.
- Create a new agent.
- Import the '.blob' file to retrieve the agent.
- Go to Webhooks and create a new Webhook with Python language and use the code in 'function-source.zip'.
- Replace the API-KEY with your own key from api-football.
- Copy the webhook link into your agent to connect them.
- Now, you can test the agent using 'Test Agent' mode.
- To set up the Web interface, get a local Python server running for the 'chatbot.html'.
- Replace the '<script> and data with the one from your agent.
- Run the webpage and use the chatbot.