Skip to content

Commit 6f45e45

Browse files
committed
chore: clean unused dependencies and resolve version errors
1 parent b478570 commit 6f45e45

3 files changed

Lines changed: 78 additions & 258 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,14 @@ export OPENAI_API_KEY="your_api_key_here"
4949
Finally, use vCache in your Python code:
5050

5151
```python
52-
from vcache import VCache, VerifiedDecisionPolicy
52+
from vcache import VCache, VCachePolicy, VerifiedDecisionPolicy
5353

5454
error_rate_bound: int = 0.01
5555
policy: VCachePolicy = VerifiedDecisionPolicy(delta=error_rate_bound)
56-
vcache: VCache = VCache(policy)
56+
vcache: VCache = VCache(policy=policy)
5757

5858
response: str = vcache.infer("Is the sky blue?")
59+
print(response)
5960
```
6061

6162

0 commit comments

Comments
 (0)