You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uv run --with mellea docs/examples/tutorial/example.py
70
75
```
71
76
77
+
### Get Started with Colab
78
+
79
+
| Notebook | Try in Colab | Goal |
80
+
|----------|--------------|------|
81
+
| Hello, World | <ahref="https://colab.research.google.com/github/generative-computing/mellea/blob/main/docs/examples/notebooks/example.ipynb"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a> | Quick‑start demo |
82
+
| Simple Email | <ahref="https://colab.research.google.com/github/generative-computing/mellea/blob/main/docs/examples/notebooks/simple_email.ipynb"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a> | Using the `m.instruct` primitive |
83
+
| Instruct-Validate-Repair | <ahref="https://colab.research.google.com/github/generative-computing/mellea/blob/main/docs/examples/notebooks/instruct_validate_repair.ipynb"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a> | Introduces our first generative programming design pattern |
84
+
| Model Options | <ahref="https://colab.research.google.com/github/generative-computing/mellea/blob/main/docs/examples/notsbooks/model_options_example.ipynb"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a> | Demonstrates how to pass model options through to backends |
85
+
| Sentiment Classifier | <ahref="https://colab.research.google.com/github/generative-computing/mellea/blob/main/docs/examples/notebooks/sentiment_classifier.ipynb"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a> | Introduces the `@generative` decorator |
86
+
| Managing Context | <ahref="https://colab.research.google.com/github/generative-computing/mellea/blob/main//docs/examples/notebooks/context_example.ipynb"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a> | Shows how to construct and manage context in a `MelleaSession`|
87
+
| Generative OOP | <ahref="https://colab.research.google.com/github/generative-computing/mellea/blob/main/docs/examples/notebooks/table_mobject.ipynb"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a> | Demonstrates object-oriented generative programming in Mellea |
88
+
| Rich Documents | <ahref="https://colab.research.google.com/github/generative-computing/mellea/blob/main/docs/examples/notebooks/document_mobject.ipynb"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a> | A generative program that uses Docling to work with rich-text documents |
89
+
| Composing Generative Functions | <ahref="https://colab.research.google.com/github/generative-computing/mellea/blob/main/docs/examples/notebooks/compositionality_with_generative_slots.ipynb"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a> | Demonstrates contract-oriented programming in Mellea |
90
+
|`m serve`| <ahref="https://colab.research.google.com/github/generative-computing/mellea/blob/main/docs/examples/notebooks/m_serve_example.ipynb"><imgsrc="https://colab.research.google.com/assets/colab-badge.svg"alt="Open In Colab"/></a> | Serve a generative program as an openai-compatible model endpoint |
0 commit comments