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

[Demo] Add VizroAI dashboard UI #690

Closed
wants to merge 15 commits into from

Conversation

nadijagraca
Copy link
Contributor

@nadijagraca nadijagraca commented Sep 9, 2024

Description

Dashboard to-do:

  • show uploaded data
  • try large datasets
  • send dashboard object in subprocess

Outstanding questions:

  • try large datasets
  • should text-to -dashboard and image-to-dashboard be together
  • should uploaded images be visible

Screenshot

Notice

  • I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

    • I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
    • I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
    • I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
    • I have not referenced individuals, products or companies in any commits, directly or indirectly.
    • I have not added data or restricted code in any commits, directly or indirectly.

@github-actions github-actions bot added the Vizro-AI 🤖 Issue/PR that addresses Vizro-AI package label Sep 9, 2024
actions=[
vm.Action(
function=data_upload_action(),
inputs=["data-upload-id.contents", "data-upload-id.filename"],
outputs=["data-store-id.data"],
inputs=["dashboard-data-upload.contents", "dashboard-data-upload.filename"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it support multiple dataframes upload and render all files uploaded?

def show_api_base(value):
"""Callback to show api base."""
return "text" if value else "password"
def run_script(user_prompt, model, api_key, api_base, n_clicks, data, vendor): # noqa: PLR0913
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just run it locally, we probably still need to render something to showing the dashboard generation is in progress. Otherwise it is quite confusing.

One option is to add loading/spinner like when chart UI is running,
Second option probably is more intuitive for dashboard - could we render the progress bar in UI? like when it's running in notebook

@nadijagraca
Copy link
Contributor Author

PR closed, new version available on branch: vizro_ai/demo/add_dashboard_ui

@nadijagraca nadijagraca closed this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Vizro-AI 🤖 Issue/PR that addresses Vizro-AI package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants