Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/ai/chat/anthropic_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App(width="medium")


Expand Down Expand Up @@ -74,9 +74,9 @@ def _(key, mo):

@app.cell
def _(mo):
mo.md(
"""Access the chatbot's historical messages with [`chatbot.value`](https://docs.marimo.io/api/inputs/chat.html#accessing-chat-history)."""
)
mo.md("""
Access the chatbot's historical messages with [`chatbot.value`](https://docs.marimo.io/api/inputs/chat.html#accessing-chat-history).
""")
return


Expand Down
6 changes: 4 additions & 2 deletions examples/ai/chat/bedrock_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App(width="medium")


Expand Down Expand Up @@ -160,7 +160,9 @@ def _(mo):

@app.cell
def _(mo):
mo.md(r"""## AWS Bedrock Chat""")
mo.md(r"""
## AWS Bedrock Chat
""")
return


Expand Down
6 changes: 4 additions & 2 deletions examples/ai/chat/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App(width="medium")


Expand Down Expand Up @@ -51,7 +51,9 @@ def simple_echo_model(messages, config):

@app.cell
def _(mo):
mo.md("""Access the chatbot's historical messages with `chatbot.value`.""")
mo.md("""
Access the chatbot's historical messages with `chatbot.value`.
""")
return


Expand Down
8 changes: 4 additions & 4 deletions examples/ai/chat/deepseek_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App(width="medium")


Expand Down Expand Up @@ -86,9 +86,9 @@ def _(key, mo):

@app.cell(hide_code=True)
def _(mo):
mo.md(
"""Access the chatbot's historical messages with [`chatbot.value`](https://docs.marimo.io/api/inputs/chat.html#accessing-chat-history)."""
)
mo.md("""
Access the chatbot's historical messages with [`chatbot.value`](https://docs.marimo.io/api/inputs/chat.html#accessing-chat-history).
""")
return


Expand Down
8 changes: 4 additions & 4 deletions examples/ai/chat/gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App(width="medium")


Expand Down Expand Up @@ -68,9 +68,9 @@ def _(key, mo):

@app.cell(hide_code=True)
def _(mo):
mo.md(
"""Access the chatbot's historical messages with [`chatbot.value`](https://docs.marimo.io/api/inputs/chat.html#accessing-chat-history)."""
)
mo.md("""
Access the chatbot's historical messages with [`chatbot.value`](https://docs.marimo.io/api/inputs/chat.html#accessing-chat-history).
""")
return


Expand Down
8 changes: 4 additions & 4 deletions examples/ai/chat/groq_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App(width="medium")


Expand Down Expand Up @@ -86,9 +86,9 @@ def _(key, mo):

@app.cell(hide_code=True)
def _(mo):
mo.md(
"""Access the chatbot's historical messages with [`chatbot.value`](https://docs.marimo.io/api/inputs/chat.html#accessing-chat-history)."""
)
mo.md("""
Access the chatbot's historical messages with [`chatbot.value`](https://docs.marimo.io/api/inputs/chat.html#accessing-chat-history).
""")
return


Expand Down
10 changes: 7 additions & 3 deletions examples/ai/chat/llm_datasette.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,23 @@

import marimo

__generated_with = "0.15.5"
__generated_with = "0.17.4"
app = marimo.App()


@app.cell(hide_code=True)
def _(mo):
mo.md(r"""## Using <https://llm.datasette.io> with `mo.ui.chat()`""")
mo.md(r"""
## Using <https://llm.datasette.io> with `mo.ui.chat()`
""")
return


@app.cell(hide_code=True)
def _(mo):
mo.md("""To set a key, run: `llm keys set openai` in your terminal""")
mo.md("""
To set a key, run: `llm keys set openai` in your terminal
""")
return


Expand Down
6 changes: 4 additions & 2 deletions examples/ai/chat/mlx_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App(width="medium")


Expand Down Expand Up @@ -192,7 +192,9 @@ def mlx_chat_model(messages, config):

@app.cell(hide_code=True)
def _(mo):
mo.md("""Access the chatbot's historical messages with `chatbot.value`.""")
mo.md("""
Access the chatbot's historical messages with `chatbot.value`.
""")
return


Expand Down
8 changes: 4 additions & 4 deletions examples/ai/chat/openai_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App(width="medium")


Expand Down Expand Up @@ -73,9 +73,9 @@ def _(mo, openai_key):

@app.cell
def _(mo):
mo.md(
"""Access the chatbot's historical messages with [`chatbot.value`](https://docs.marimo.io/api/inputs/chat.html#accessing-chat-history)."""
)
mo.md("""
Access the chatbot's historical messages with [`chatbot.value`](https://docs.marimo.io/api/inputs/chat.html#accessing-chat-history).
""")
return


Expand Down
8 changes: 4 additions & 4 deletions examples/ai/chat/simplemind_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App(width="full")


@app.cell(hide_code=True)
def _(mo):
mo.md(
r"""## Using [simplemind](https://github.com/kennethreitz/simplemind) with `mo.ui.chat()`"""
)
mo.md(r"""
## Using [simplemind](https://github.com/kennethreitz/simplemind) with `mo.ui.chat()`
""")
return


Expand Down
10 changes: 7 additions & 3 deletions examples/ai/data/data_labeler.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import marimo

__generated_with = "0.15.5"
__generated_with = "0.17.4"
app = marimo.App()


@app.cell
def _(mo):
mo.md("# Data Labeler")
mo.md("""
# Data Labeler
""")
return


Expand Down Expand Up @@ -36,7 +38,9 @@ def _(decrement_index, increment_index, mo):

@app.cell
def _(mo):
mo.md(f"**Choose an example to label.**")
mo.md(f"""
**Choose an example to label.**
""")
return


Expand Down
10 changes: 7 additions & 3 deletions examples/ai/data/model_comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App()


@app.cell(hide_code=True)
def _(mo):
mo.md("""# Model Comparison""")
mo.md("""
# Model Comparison
""")
return


Expand Down Expand Up @@ -61,7 +63,9 @@ def _(NUMBER_OF_EXAMPLES, get_index, mo, set_index):

@app.cell(hide_code=True)
def _(mo):
mo.md(f"_Models A and B both predict spans. Which do you prefer?_")
mo.md(f"""
_Models A and B both predict spans. Which do you prefer?_
""")
return


Expand Down
6 changes: 4 additions & 2 deletions examples/ai/misc/build_a_superhero.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@

import marimo

__generated_with = "0.15.5"
__generated_with = "0.17.4"
app = marimo.App()


@app.cell(hide_code=True)
def _(mo):
mo.md("""## Build a Superhero with Generative AI""")
mo.md("""
## Build a Superhero with Generative AI
""")
return


Expand Down
6 changes: 4 additions & 2 deletions examples/ai/misc/micrograd_mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App()


@app.cell(hide_code=True)
def _(mo):
mo.md("""# Neural Networks with Micrograd""")
mo.md("""
# Neural Networks with Micrograd
""")
return


Expand Down
10 changes: 7 additions & 3 deletions examples/ai/misc/pdf_question_answer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,23 @@

import marimo

__generated_with = "0.15.5"
__generated_with = "0.17.4"
app = marimo.App()


@app.cell
def _(mo):
mo.md("""# PDF Q&A""")
mo.md("""
# PDF Q&A
""")
return


@app.cell(hide_code=True)
def _(mo):
mo.md("""This app lets you upload a PDF and ask questions about it.""")
mo.md("""
This app lets you upload a PDF and ask questions about it.
""")
return


Expand Down
10 changes: 7 additions & 3 deletions examples/ai/tools/chat_with_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import marimo

__generated_with = "0.17.2"
__generated_with = "0.17.4"
app = marimo.App(width="medium")


Expand Down Expand Up @@ -45,7 +45,9 @@ def _(mo):

@app.cell
def _(mo):
mo.md(r"""## Setup""")
mo.md(r"""
## Setup
""")
return


Expand Down Expand Up @@ -104,7 +106,9 @@ def _(data, dataset_dropdown, pl):

@app.cell
def _(mo):
mo.md(r"""## Defining tools""")
mo.md(r"""
## Defining tools
""")
return


Expand Down
6 changes: 4 additions & 2 deletions examples/cloud/gcp/google_cloud_bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import marimo

__generated_with = "0.15.5"
__generated_with = "0.17.4"
app = marimo.App(width="medium")


Expand All @@ -24,7 +24,9 @@ def _():

@app.cell(hide_code=True)
def _(mo):
mo.md("""# Google Cloud BigQuery""")
mo.md("""
# Google Cloud BigQuery
""")
return


Expand Down
Loading
Loading