-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new attribute 'citations' to ConversationMessage type #193
base: main
Are you sure you want to change the base?
Conversation
Hi @hghandri |
Great idea ! I will work on it. By the way, I’ve made some changes to integrate the usage of the new version of ConversationMessage. |
This is a good start: usage and latency |
@brnaba-aws : I’ve made some changes to the Bedrock LLM agent. What do you think? Is this the right approach expected ? |
… used to handle additional metadata related to a response, such as token consumption.
…bedrock LLM and OpenAI
eb084b6
to
6bb8e1d
Compare
@brnaba-aws : I've just pushed a last update of source, could you check ? |
Issue number:
Summary
Update the type "ConversationMessage" to include a "citations" property, allowing the possibility to reference the sources used by the LLM to generate its responses.
This is the first step towards enabling everyone to conveniently use citations for each agent, with built-in source and citation capabilities.
Changes
User experience
For certain LLMs that use the web or knowledge base systems, it might be beneficial to track the source of the response, such as a link to a website or a document in the knowledge base.
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Is this a breaking change?
RFC issue number:
Checklist:
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.