Files as AI Context

User Problem

Users often require specific, detailed context—like custom code, screenshots of existing dashboards or charts, styling guidelines, or detailed requirement documents—to ensure the LLM generates applications and components (charts, tables, etc.) that meet exact project specifications. Without a dedicated method to provide this context, the LLM's output may be generic or fail to align with the project's unique needs, leading to extra manual rework.


What is it?

This feature is a File Upload and Context Attachment mechanism for Plotly Studio projects and components. It allows users to upload files and associate their content as context for the underlying Large Language Model (LLM). The LLM can then utilize this information during the generation process for applications or individual components.


What does it allow users to do?

This feature allows users to directly influence and guide the LLM's output by providing essential external files. Specifically, users can:

  • Provide Code & Styling: Upload files like stylesheets (for custom theming) or Python scripts (for specific calculations or data manipulation logic) to ensure generated components and apps adhere to technical standards.

  • Specify Requirements: Attach requirements documents, screenshots, or detailed specifications to direct the LLM to build apps and charts that precisely match project goals and constraints.

  • Control Context Scope: Attach files to an entire project when building a new application, or attach them to individual components when generating specific charts or tables, giving users fine-grained control over the context provided to the LLM.

Please authenticate to join the conversation.

Upvoters
Status

Under Consideration

Board

Plotly Studio

Tags

Roadmap Candidate

Date

4 months ago

Author

Matthew Brown

Subscribe to post

Get notified by email when there are changes.