Skip to content

feat(r): Plotting capability #46

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

feat(r): Plotting capability #46

wants to merge 3 commits into from

Conversation

oacar
Copy link
Contributor

@oacar oacar commented Jul 2, 2025

This might be out of scope for this project, so feel free to close this if so.

I am aware of some commercial solutions that provides plotting within their data chat experiences (datachat, snowflake intelligence etc.), so I thought this could be a nice feature to add.

I added a

  • ui component to render ggplot within the chat,
  • a function to evaluate ggplot2 code generated by LLM
  • registered a new tool called update_plot.
  • utilized callr to run the plotting as a way to increase security of running arbitrary code and added guardrails to the prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant