Accessing Jibber AI (Docker) using Curl
You can access Jibber AI in Docker using Curl.
Here are the basic steps to get started:
Here's an example using the Fetch API:
curl -X POST http://my-docker-server-name:5000/analyze \
--header 'Content-Type: application/json' \
--header 'TOKEN: your-jibber-ai-license-token' \
--data-binary @- << EOF
{
"features": {
"sentiment": true,
"keyword": true,
"pii": true,
"entities": true,
"summary": true
},
"text": "My name is Julia Peach and I live in Paris."
}
EOF
In the above example, replace http://my-docker-server-name:5000 with your docker host and port. You also need to replace `my-license-token-from-jibber-ai` with your license key.