requests
library to perform HTTP requests to the API endpoints.
requests
library if you haven’t already:
BASE_URL
variable to match the server’s actual address if necessary.
/create/config
endpoint.
/create/from-pdf/{config_id}
endpoint.
/check/{chatbot_id}
endpoint.
/chat/{chatbot_id}
endpoint with a message and chat history.
/health
endpoint.
/recreate/{chatbot_id}/{config_id}
endpoint with the new configuration.
/create/from-docx/{config_id}
endpoint.
/create/from-text/{config_id}
endpoint.
BASE_URL
as necessary to match the server’s actual address.