You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a LFAI user I want the reference passage in my chat thread So that I can have all the context together
Acceptance Criteria
Given I submit a prompt that references a RAG file Design: Annotation Links When I click on the the annotation link at the end of the response Then a window opens below the link displaying the passage of the reference file Design: Reference Window And I am able to scroll file within the window
When I click on an annotation link that is already Then the reference window closes
NOTE Only one reference window can be open at one time. So if one is already open and another is click then the previous one closes and the new one opens.
When I click on the annotations throughout the response ([1], [2], [3], etc) Then I am auto scrolled to the bottom of the response And the link's reference windows opens automatically (Copy behavior as though the link was clicked)
When a reference window opens for a PDF file Then I see 2 tertiary buttons (Download and Launch)
When a reference windows opens for a NON PDF file Then I see 1 tertiary button (Download)
When I click the Download button in the reference window Then the file is downloaded Design: Reference Downloaded
When I click the Launch button in the reference window Then a new tab opens displaying the PDF Design: PDF Viewer
User Story
As a LFAI user
I want the reference passage in my chat thread
So that I can have all the context together
Acceptance Criteria
Given I submit a prompt that references a RAG file
Design: Annotation Links
When I click on the the annotation link at the end of the response
Then a window opens below the link displaying the passage of the reference file
Design: Reference Window
And I am able to scroll file within the window
When I click on an annotation link that is already
Then the reference window closes
NOTE Only one reference window can be open at one time. So if one is already open and another is click then the previous one closes and the new one opens.
When I click on the annotations throughout the response ([1], [2], [3], etc)
Then I am auto scrolled to the bottom of the response
And the link's reference windows opens automatically (Copy behavior as though the link was clicked)
When a reference window opens for a PDF file
Then I see 2 tertiary buttons (Download and Launch)
When a reference windows opens for a NON PDF file
Then I see 1 tertiary button (Download)
When I click the Download button in the reference window
Then the file is downloaded
Design: Reference Downloaded
When I click the Launch button in the reference window
Then a new tab opens displaying the PDF
Design: PDF Viewer
Additional context
Design Links:
Functionality Video:
https://github.com/user-attachments/assets/6b9454e6-cde3-4c6a-883e-b755e7a1f379
The text was updated successfully, but these errors were encountered: