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

Component Request: Container for non-textual output #7

Open
mattgiles opened this issue Aug 10, 2023 · 3 comments
Open

Component Request: Container for non-textual output #7

mattgiles opened this issue Aug 10, 2023 · 3 comments
Labels
component request New component request in progress Being worked on

Comments

@mattgiles
Copy link

Greetings! What a lovely and simple project.

A lot of our use cases involve a canvas container for non-text responses , or text responses attended by non-text output (e.g. images, tabular data, interactive data visualizations, etc). This typically sits side by side with the prompt container.

It would be great to have a styled component designed to play well with the other components in langui that boxed off whatever we might want to display. Hope that makes sense / is potentially in scope.

Thanks!

@ahmadbilaldev ahmadbilaldev added component request New component request in progress Being worked on labels Aug 10, 2023
@ahmadbilaldev
Copy link
Collaborator

ahmadbilaldev commented Aug 10, 2023

Hi @mattgiles, that's a great suggestion. I will work on adding it.

In the meantime, could you provide an example component that will go inside this new container? Even a screenshot would do. It will help me test and optimize the design. Thanks for the feedback!

@mattgiles
Copy link
Author

mattgiles commented Aug 10, 2023

Sure thing. We use a super simple prototype at the moment (hence interest in langui), with the component I'm talking about on the right:

image

Unfortunately, I can't share the output, but I think good use cases to think about are (a) hosted visualizations like vega-lite, (b) LLM-generated images like DALL-E, and (c) HTML tables.

Which is all to say, my use case is really just for a canvas that might display any number of things, depending.

@ahmadbilaldev
Copy link
Collaborator

Got it. Thanks for the example. I'll cook something up and let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component request New component request in progress Being worked on
Projects
None yet
Development

No branches or pull requests

2 participants