Skip to content

Commit 4b99b24

Browse files
committed
Merge branch 'main' into pr/ink-pad/678
2 parents db4b81a + 1734900 commit 4b99b24

32 files changed

Lines changed: 332 additions & 12308 deletions

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33

44
# Mellea Core requires special review
55
/mellea/core/ @nrfulton @jakelorocco
6+
7+
# Mellea Intrinsics
8+
/mellea/formatters/granite @generative-computing/mellea-intrinsics
9+
/test/formatters/granite @generative-computing/mellea-intrinsics

CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,6 @@ print(m.last_prompt())
424424
### Documentation
425425

426426
- **[Docs writing guide](docs/docs/guide/CONTRIBUTING.md)** - Conventions, PR checklist, and review process for documentation contributions
427-
- **[Tutorial](docs/tutorial.md)** - Comprehensive guide to Mellea concepts
428427
- **[API Documentation](https://docs.mellea.ai)** - Published documentation site
429428
- **[Test Markers Guide](test/MARKERS_GUIDE.md)** - Detailed pytest marker documentation
430429
- **[AGENTS.md](AGENTS.md)** - Guidelines for AI assistants working on Mellea internals
@@ -452,4 +451,4 @@ Help us improve this guide by opening a PR with your additions!
452451

453452
---
454453

455-
Thank you for contributing to Mellea! 🎉
454+
Thank you for contributing to Mellea! 🎉

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,6 @@ if __name__ == "__main__":
182182
```
183183
184184
185-
186-
## Tutorial
187-
188-
See the [tutorial](docs/tutorial.md)
189-
190185
## Contributing
191186
192187
We welcome contributions to Mellea! There are several ways to contribute:

docs/docs/examples/index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ to run.
4949
| `tools/` | `@tool` definition, code interpreter integration, tool argument validation, safe `eval` patterns |
5050
| `mini_researcher/` | Complete research assistant: multi-model architecture, document retrieval, safety checks, custom validation pipeline |
5151

52+
### Extensibility
53+
54+
| Category | What it shows |
55+
| -------- | ------------- |
56+
| `plugins/` | Plugin system end-to-end: function hooks, class-based plugins, payload modification, scoped and session-scoped plugins, `PluginSet` composition, execution modes, tool hooks, and testing patterns |
57+
5258
### Safety and validation
5359

5460
| Category | What it shows |
@@ -60,6 +66,7 @@ to run.
6066
| Category | What it shows |
6167
| -------- | ------------- |
6268
| `m_serve/` | Deploying Mellea programs as REST APIs with production deployment patterns |
69+
| `m_decompose/` | Decomposing complex prompts into sub-tasks via the CLI and Python API |
6370
| `library_interop/` | LangChain message conversion, OpenAI format compatibility, cross-library workflows |
6471
| `mcp/` | MCP tool creation, Claude Desktop integration, Langflow integration |
6572
| `bedrock/` | Amazon Bedrock backend configuration and usage |
@@ -90,6 +97,14 @@ to run.
9097
| -------- | ------------- |
9198
| `melp/` | ⚠️ Experimental lazy evaluation — thunks, deferred execution, advanced control flow |
9299

100+
### Getting started and tutorials
101+
102+
| Category | What it shows |
103+
| -------- | ------------- |
104+
| `hello_world.py` | Minimal single-file starting point |
105+
| `tutorial/` | Python script versions of the tutorials: email generation, IVR, generative slots, contexts, MObjects, model options, and more |
106+
| `notebooks/` | Jupyter notebook versions of the same tutorials for interactive, cell-by-cell exploration |
107+
93108
---
94109

95110
## Running the examples

docs/docs/guide/CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,15 @@ Where a CI-tested example exists in `docs/examples/`, link it:
251251

252252
Only link examples that are current and in CI.
253253

254+
### Keeping the examples catalogue up to date
255+
256+
Check that every example directory under `docs/examples/` has a corresponding
257+
row in the catalogue table in `docs/docs/examples/index.md`. When adding a new
258+
example directory, add a row with a short description of what the examples
259+
demonstrate. This ensures users browsing the published docs can discover all
260+
available examples, not only the ones linked from individual guide or concept
261+
pages.
262+
254263
---
255264

256265
## Missing content

docs/examples/intrinsics/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ Core example showing how to directly use intrinsics with adapters.
1313
- Working with Granite Common adapters (aLoRA-based)
1414
- Understanding adapter output formats
1515

16-
### answer_relevance.py
17-
Evaluates whether an answer is relevant to a question.
18-
1916
### answerability.py
2017
Checks if a question can be answered given the context.
2118

@@ -83,7 +80,6 @@ out, new_ctx = mfuncs.act(
8380
## Available Intrinsics
8481

8582
- **requirement_check**: Validate requirements (used by ALoraRequirement)
86-
- **answer_relevance**: Check answer-question relevance
8783
- **answerability**: Determine if question is answerable
8884
- **citations**: Extract and validate citations
8985
- **context_relevance**: Assess context-query relevance

docs/examples/intrinsics/answer_relevance.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)