Skip to content

Commit

Permalink
Fix LLMLabelGenerator.generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknovak committed Jul 17, 2024
1 parent ca797bf commit 8ef642b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

- Rename the `EntityExtractor` to `NERExtractor`
- Rename the input variable `output_gen` to `sub_variant` in `DateGenerator`
- Rename the input variable `entity_prefix` to `add_entity_attrs` in `LLMLabelGenerator.generate`
- Move the `regex` submodule from `anonipy.anonymize` to `anonipy.utils`

**New Features:**
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to-guides/posts/generators-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Let us now change the label prefix and generate the replacement using a higher t
```python
llm_generator.generate(
entities[0],
entity_prefix="Spanish",
add_entity_attrs="Spanish",
temperature=0.7
)# (1)!
```
Expand Down

0 comments on commit 8ef642b

Please sign in to comment.