mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
(docs) add import embedding for caching example
This commit is contained in:
parent
f8e3c11a38
commit
171b8fce0a
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ Keys in the cache are `model`, the following example will lead to a cache hit
|
|||
```python
|
||||
import time
|
||||
import litellm
|
||||
from litellm import completion
|
||||
from litellm import embedding
|
||||
from litellm.caching import Cache
|
||||
litellm.cache = Cache()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue