meta-introspector / https-streamlit.io-community-llm-hackathon-2023

hackathon
Apache License 2.0
0 stars 1 forks source link

How to use #23

Open jmikedupont2 opened 1 year ago

jmikedupont2 commented 1 year ago

Great, it's important to provide clear documentation for how to use your application. Based on your description, here's some documentation for your Streamlit app:

Using the Streamlit App

  1. Load the Page: Open the Streamlit app, and you'll be presented with a page of input items.

  2. Input Items: Each input item represents a data node and includes the following information:

    • ID: This is the unique identifier for the data node.

    • URL: The URL associated with the data node.

    • Run Inference Button: Each input item has a button labeled "Run Inference." This button is used to trigger the execution of a selected workflow on the associated data node.

  3. Select Workflow: At the bottom of the page, there is a selector that allows you to choose which workflow you want to run on the data nodes. This workflow determines the processing that will be applied to the data nodes.

  4. Paging Controls:

    • Starting ID: The "Starting ID" field allows you to specify the node from which you want to start paging through the data. Enter the ID of the node you want to start from.

    • Page Size: The "Page Size" field specifies how many data nodes you want to display on the current page.

  5. Paging Forward: To page forward and view the next set of data nodes, you need to copy the ID of the last node displayed on the current page and paste it into the "Starting ID" field. Then, click the "Run Workflow" button again to apply the workflow to the next set of data nodes.

  6. Applying Workflow: To execute the selected workflow on a specific data node, click the "Run Inference" button associated with that node.

  7. Results: The results of the workflow execution will be displayed on the page.

This documentation should provide users with clear instructions on how to interact with your Streamlit app, including how to navigate between data nodes and apply workflows. You can also add any additional details or context that you think would be helpful for users.

jmikedupont2 commented 1 year ago

https://vimeo.com/863808626 org-clarifai.streamlit.app