By setec
Does this setting only affect the “playground” and the provided chatbot widget or does it also change the API behavior?
It’s not clear exactly how this works and.what it’s supposed to do. In the playground it’s functionality seems to just hyper link to the same information that is linked from “Message Info” below every message whether that checkbox is checked or not.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey Setec,
From what I can tell, the “Include citations” checkbox in the Agent settings mainly affects how citations are displayed in the Playground and the built-in chatbot widget, I guess that it is likely it doesn’t change API behavior on its own.
If you’re working with the API directly and want retrieval metadata like source documents or citations, you probably need to set "include_retrieval_info": true
explicitly in your request. I think that this seems to be what controls whether the retrievals
field is returned in the response.
So while the checkbox and the API flag appear to serve similar purposes, they don’t seem to be directly linked, at least not in a way that impacts the API output automatically. But I haven’t found official confirmation on this.
Has the DigitalOcean support team been able to confirm if this is the case?
- Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.