Add Flask-style endpoints and customize the bot by defining the chain. Below you can see two endpoints 1. To generate a Response for a Text – "send_message" 2. To give the full chat history – "transcript" Similarly add endpoints for your usecases. Server-side code:
Flask endpoints for chatbot customization and message handling
By
–
Leave a Reply