Skip to content

Commit 4259d27

Browse files
nrfultonGitHub Enterprise
authored andcommitted
Addresses some typos in the README.
1 parent 47ef9a2 commit 4259d27

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pre-commit install
9999

100100
Mellea supports validation of generation results through a **instruct-validate-repair** pattern.
101101
Below, the request for *"Write an email.."* is constrained by the requirements of *"be formal"* and *"Use 'Dear interns' as greeting."*.
102-
Using a simple rejection sampling strategy, the request is send up to three (loop_budget) times to the model and
102+
Using a simple rejection sampling strategy, the request is sent up to three (loop_budget) times to the model and
103103
the output is checked against the constraints using (in this case) LLM-as-a-judge.
104104

105105

@@ -133,11 +133,11 @@ print(f"***** email ****\n{str(email_v1)}\n*******")
133133

134134
## Getting Started with Generative Slots
135135

136-
Generative slots allow to define functions without implementing them.
137-
By using the `@generative` decorator, the function gets converted into an LLM function.
138-
The example below, is a minimal version of writing a sentiment classification function
139-
using Mellea's generative slots and a local LLM.
140-
136+
Generative slots allow you to define functions without implementing them.
137+
The `@generative` decorator marks a function as one that should be interpreted by querying an LLM.
138+
The example below demonstrates how an LLM's sentiment classification
139+
capability can be wrapped up as a function using Mellea's generative slots and
140+
a local LLM.
141141

142142

143143
```python

0 commit comments

Comments
 (0)