The World's First fully free chatbot API
API Documentation API Documentation Xylaria API Choose a language to see the code snippets for interacting with the API. Python Javascript Bash Install the python client (docs) if you don't already have it installed. $ pip install gradio_client Find the API endpoint below corresponding to your desired function in the app. Copy the code snippet, replacing the placeholder values with your own input data. If this is a private Space, you may need to pass your Hugging Face token as well (read more). Or use the API Recorder to automatically generate your API requests. api_name: /chat from gradio_client import Client client = Client("Lap1official/API") result = client.predict( message="Hello!!", system_message="You are a friendly Chatbot who always responds in English unless the user specifically uses another language