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

Styling improvements for prompt display #23

Open
calebsheridan opened this issue May 6, 2024 · 1 comment
Open

Styling improvements for prompt display #23

calebsheridan opened this issue May 6, 2024 · 1 comment

Comments

@calebsheridan
Copy link
Contributor

Currently prompts are displayed as text with whitespace preserved in the inference parameters section and experiment dialog. This has a drawback that long prompts do not fit well and push other important content down.

Potential solutions:

  • Use collapsible sections to display any text prompts. Truncate prompt content until it is clicked.
  • Use titles or uuids to display text prompts (see Prompt Library #20). Allow library to be opened by clicking on the titles so the prompt can be reviewed.
@dezoito
Copy link
Owner

dezoito commented May 6, 2024

Use collapsible sections to display any text prompts. Truncate prompt content until it is clicked.

I'm all for this option, @calebsheridan, since the experiments may refer to prompts that have been deleted or updated since they were run.

For context, I see this view as a human readable log (not saying it can't have some sort of interactivity, just that the data displayed should be a "frozen" snapshot of what happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants