Include images and source references in Fibi API answers
We use Fibi in our own product's chat through the conversation API. We need its answers to include images and source references, so customers can see the same supporting content they would see in the Featurebase Messenger.
Please return the images and source titles and URLs alongside the answer text, so we can display them in our own chat interface.
Log in to comment and vote
Comments1
Bruno
Nov 18
Hey everyone!
This is now live. AI agent answers in the API include their sources and images, so your own chat can show the same content that customers see in the Messenger. Check out Show AI agent sources and images in your own chat for the full guide.
Sources - each answer has a
sourceslist with the title and URL of every cited source.Citations - the citations in the answer text are numbered links, in
bodyHtmland inbodyMarkdown.Images - images that belong to an answer arrive as a follow-up message right after it.
You get all of this when you get a conversation through the API, and in the conversation.admin.replied webhook event. It works in every API version, and there is nothing to turn on.