Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,14 @@ export OPENAI_API_KEY="your_api_key_here"
Finally, use vCache in your Python code:

```python
from vcache import VCache, VerifiedDecisionPolicy
from vcache import VCache, VCachePolicy, VerifiedDecisionPolicy

error_rate_bound: int = 0.01
policy: VCachePolicy = VerifiedDecisionPolicy(delta=error_rate_bound)
vcache: VCache = VCache(policy)
vcache: VCache = VCache(policy=policy)

response: str = vcache.infer("Is the sky blue?")
print(response)
```


Expand Down
4 changes: 2 additions & 2 deletions benchmarks/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ This directory provides the official benchmarking tools for evaluating the perfo

## ⚙️ Installation

To enable benchmarking capabilities, install vCache with the `benchmarks` extras:
To enable benchmarking capabilities, install vCache with the `benchmarks` extras from the project root:

```bash
pip install -e .
pip install -e .[benchmarks]
```


Expand Down
Loading