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

Feature: adding llm prompts to the UI #232

Merged
merged 7 commits into from
Nov 22, 2023

Conversation

massi-ang
Copy link
Collaborator

Issue #, if available:

resolves #224

Description of changes:
This change adds the possibility to display the prompts being sent by the solution to the LLM in the UI. We have also added a tabbed UI element to display the content of the documents that might have been used for RAG.
Both prompts and documents provide a 1-click copy to clipboard button.

image

Prompts and documents are shown as part of the Metadata section.

We have also limited the node expansions in the Metadata JSON view to the first 2 levels in order to keep the UI more compact and have the focus on the document and prompts tabs.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bigadsoleiman bigadsoleiman merged commit 6229b4b into aws-samples:main Nov 22, 2023
@massi-ang massi-ang deleted the feat_llm_prompts branch March 8, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Feature: add setting to display the prompts that have been sent to the LLM in the metadata in UI
2 participants