Explore data and create code or visuals with one click using CanvasXpress AI, and build effective prompts with Copilot.
CanvasXpress AI is a feature that allows users to interact with their data using large language models (LLMs). This functionality enables you to explore data and create visualizations or code with a single click by simply describing what you want in plain English. You can use provided datasets or upload your own files via drag-and-drop.
Below are examples of how CanvasXpress AI works with different data types and visualizations.
Here are some examples of how to interact with CanvasXpress AI using large language models (LLMs). You can either use the provided datasets or drag and drop your own tab-delimited file into any of the CanvasXpress visualizations (currently shown as data tables for clarity). Simply describe in plain English what you want the visualization to look like, including the column names you want to use.
**Copilot for CanvasXpress** is an integrated feature designed to help users create effective prompts for configuring parameters accurately. This functionality was instrumental in generating the few-shot examples required to train our LLM model.
When you use Copilot, there is no need to ask the LLM to generate visualizations. Instead, CanvasXpress will generate the configuration parameters needed for the visualizations. If the prompt cannot be validated, CanvasXpress will forward it to the LLM for processing.
Setting up the correct configuration isn't complicated. It's simply about translating the parameters into plain English—there's no need to craft it into poetry.
Copilot can be enabled or disabled using a toggle widget in the chat interface. As you start typing, you'll see a set of initial suggestions for how to begin your new sentence. You can simply press the tab key to accept a suggestion. If there are multiple options available, pressing tab will select the first one in the list.
Based on the initial suggestion, Copilot will propose ways to complete the sentence. Several of these suggestions exhibit a well-defined structured format.
When you begin typing your suggestion, Copilot will automatically complete the sentence with the available graph types in CanvasXpress, such as bar graph, line graph, scatter plot, and more. Once you select the graph type, Copilot will add the term 'of' and suggest the columns from your dataset. After you finish typing the first column, Copilot will propose a comma, a period, or 'and' to help you concatenate the entries.