Ask over REST
Send a question to POST https://octo.ad/api/ask and read the answer and the follow-up.
Example
curl -s https://octo.ad/api/ask -H 'content-type: application/json' \
-d '{"message":"What is OCTOPUS?"}'
Steps
- Send
POST https://octo.ad/api/askwith a JSON body holdingmessage. Keep the message under 2,000 characters. - Read
answerandfollow_upfrom the response. - To continue, send the
session_idyou got back with your next message.
What you have at the end
Answers about OCTOPUS from public material, in the same conversation.