A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
improvement: update ai system prompt to be mpl aware (#1062)
Akshay Agrawal70e1a0ad0db6
diff --git a/marimo/_server/api/endpoints/ai.py b/marimo/_server/api/endpoints/ai.pyindex ea2a27cc0b..7e4c2c5d2b 100644--- a/marimo/_server/api/endpoints/ai.py+++ b/marimo/_server/api/endpoints/ai.py@@ -76,7 +76,8 @@ async def ai_completion("You are a helpful assistant that can answer questions ""about python code. You can only output python code. ""Do not describe the code, just write the code."- "Do not output markdown or backticks."+ "Do not output markdown or backticks. When using matplotlib "+ "to show plots, use plt.gca() instead of plt.show().")prompt = body.prompt