Skip to content

Commit 08e2a80

Browse files
committed
docs: fix grammar, clarify sampling strategies description
1 parent 39158e0 commit 08e2a80

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Mellea — build predictable AI without guesswork
44

5-
Inside every AI-powered pipeline, the unreliable part is the same: the LLM calls itself.
5+
Inside every AI-powered pipeline, the unreliable part is the same: the LLM call itself.
66
Silent failures, untestable outputs, no guarantees.
77
Mellea is a Python library for writing *generative programs* — replacing brittle prompts and flaky agents
88
with structured, testable AI workflows built around type-annotated outputs, verifiable requirements, and automatic retries.
@@ -53,7 +53,7 @@ print(user.age) # 31 — always an int, guaranteed by the schema
5353

5454
- **Structured output**`@generative` turns typed functions into LLM calls; Pydantic schemas are enforced at generation time
5555
- **Requirements & repair** — attach natural-language requirements to any call; Mellea validates and retries automatically
56-
- **Sampling strategies** — rejection sampling, majority voting, inference-time scaling with one parameter change
56+
- **Sampling strategies**run a generation multiple times and pick the best result; swap between rejection sampling, majority voting, and more with one parameter change
5757
- **Multiple backends** — Ollama, OpenAI, vLLM, HuggingFace, WatsonX, LiteLLM, Bedrock
5858
- **Legacy integration** — easily drop Mellea into existing codebases with `mify`
5959
- **MCP compatible** — expose any generative program as an MCP tool

0 commit comments

Comments
 (0)