We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Api doc provides following example:
api_name: /chat curl -X POST http://localhost:8001/call/chat -s -H "Content-Type: application/json" -d '{ "data": [ "Hello!!", "RAG", "Hello!!" ]}' \ | awk -F'"' '{ print $4}' \ | read EVENT_ID; curl -N http://localhost:8001/call/chat/$EVENT_ID
no result, but get an error in logs:
File "/home/worker/app/.venv/lib/python3.11/site-packages/gradio/blocks.py", line 1620, in validate_inputs raise ValueError( ValueError: An event handler (_chat) didn't receive enough input values (needed: 4, got: 3).
The text was updated successfully, but these errors were encountered:
You can check the API usage format on the Swagger Endpoint, just put it on the postman then convert to Curl
Sorry, something went wrong.
My example is from the high level api, the swagger endpoint does not seem list "/call/chat" juts low level api?
No branches or pull requests
Question
Api doc provides following example:
no result, but get an error in logs:
The text was updated successfully, but these errors were encountered: