forked from phoenix/litellm-mirror
docs fix caching
This commit is contained in:
parent
83aa304c34
commit
f47faa1139
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ cache.set_openai_key()
|
||||||
#### Full Code using GPTCache and LiteLLM
|
#### Full Code using GPTCache and LiteLLM
|
||||||
```python
|
```python
|
||||||
from gptcache import cache
|
from gptcache import cache
|
||||||
from litellm.cache import completion # import completion from litellm.cache
|
from litellm.gpt_cache import completion # import completion from litellm.cache
|
||||||
import time
|
import time
|
||||||
|
|
||||||
# Set your .env keys
|
# Set your .env keys
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue