its required to connect an app wich backend is development in laravel, in order to…
- User
its required to connect an app wich backend is development in laravel, in order to export a question to a chatbot, in ora.ai. the question, once annswered, must be send back to the app, in order to show the answer to the user of the app
- Assistant
To connect your Laravel backend with the ora.ai chatbot and ensure the question is exported and the answer is sent back to your app, you can follow these general steps:
-
Set up an API endpoint in your Laravel application that will receive and process the question from the app. You can create a route and corresponding controller method to handle the incoming request.
-
Implement code in your Laravel controller to send the question data to the ora.ai chatbot API. You'll need to make an HTTP request (e.g., using Guzzle HTTP library) to the ora.ai API, passing the question as a parameter in the request payload. Refer to the ora.ai documentation for the API endpoint and parameters required for exporting a question.
-