Spaces:
Sleeping
Sleeping
Download mem0/embedchain/docs/examples/rest-api/query.mdx from alrojas68/Embedchain: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/spaces/alrojas68/Embedchain/resolve/main/mem0/embedchain/docs/examples/rest-api/query.mdx
- Command line
-
hf download hf://spaces/alrojas68/Embedchain/mem0/embedchain/docs/examples/rest-api/query.mdx
-
curl -L -o query.mdx https://huggingface.co/spaces/alrojas68/Embedchain/resolve/main/mem0/embedchain/docs/examples/rest-api/query.mdx
336 Bytes
| openapi: post /{app_id}/query | |
| <RequestExample> | |
| ```bash Request | |
| curl --request POST \ | |
| --url http://localhost:8080/{app_id}/query \ | |
| -d "query=who is Elon Musk?" | |
| ``` | |
| </RequestExample> | |
| <ResponseExample> | |
| ```json Response | |
| { "response": "Net worth of Elon Musk is $218 Billion." } | |
| ``` | |
| </ResponseExample> | |