gws_core

Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

Smart plot generator

TASK
Typing name :  TASK.gws_core.SmartPlot Brick :  gws_core

Generate a plot using an AI (OpenAI).

This task uses AI to generate a plot image from a table. It uses the matplotlib library.

The data of the table is not transferered to OpenAI, only the provided text. Please provide a clear description of what you want to achieve by providing column names, row names, etc. You can provide multiple message to the AI to get the best result, the context will be kept between the messages.

This task uses openAI API to generate python code which is then automatically executed.

⚠️ This task does not support table tags. ⚠️

Input

Table
2d excel like table

Output

Plot
Generated plot file by the AI.
Generated code
Modified generated code that can be used in a python agent directly.

Configuration

prompt

Type : open_ai_chat_param