Skip to content
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

feat(api): return more annotation details #766

Closed
andrewrisse opened this issue Jul 11, 2024 · 0 comments · Fixed by #1164
Closed

feat(api): return more annotation details #766

andrewrisse opened this issue Jul 11, 2024 · 0 comments · Fixed by #1164
Assignees
Labels
enhancement New feature or request

Comments

@andrewrisse
Copy link
Contributor

andrewrisse commented Jul 11, 2024

User Story

As the LeapfrogAI UI
I want to display the passage a RAG response used
So that users have more context on how the response was generated

Acceptance Criteria

Given a run returns a message with annotations
When the UI consumes that data
Then it has data for the file_citation IAW the OpenAI spec

Reference the OpenAI message object and ensure all fields for file_citation are being returned (content.text.annotations[0].file_citation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment