Skip to content

Commit f25cc02

Browse files
committed
Version to 3.1.1
1 parent a965b29 commit f25cc02

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

docs/api/generator.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,26 @@ top_p: float | None = None
165165

166166
The nucleus sampling probability.
167167

168+
### \_\_hash\_\_
169+
170+
```python
171+
__hash__() -> int
172+
```
173+
174+
Create a hash based on the json representation of this object.
175+
176+
<Accordion title="Source code in rigging/generator/base.py" icon="code">
177+
```python
178+
def __hash__(self) -> int:
179+
"""
180+
Create a hash based on the json representation of this object.
181+
"""
182+
return hash(self.model_dump_json())
183+
```
184+
185+
186+
</Accordion>
187+
168188
### clone
169189

170190
```python

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "rigging"
3-
version = "3.1.0"
3+
version = "3.1.1"
44
description = "LLM Interaction Framework"
55
authors = ["Nick Landers <monoxgas@gmail.com>"]
66
license = "MIT"

0 commit comments

Comments
 (0)