1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
I don't know about the enforcement, but at leat, you can trace between the retrieve and generate phases to see what the RAG proposes to use for the generation.
For all details, see https://repost.aws/articles/AR-LV1HoR_S0m-qy89wXwHmw/the-leverage-of-llm-system-prompt-by-knowledge-bases-for-bedrock-in-rag-workflows
Best,
Didier
Thanks for the answer Didier, we tried to parse the citation references from the debug traces, but the problem is, that in the traces, there can be references which are not cited in the final response, so this workaround does not work well.
Relevant content
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 months ago

Hello have you found a solution of this please. And please can you explain citations array a bit more with examples like is it in the trace?