diff --git a/docs/embeddings/storage.md b/docs/embeddings/storage.md index da99cdc..f932b47 100644 --- a/docs/embeddings/storage.md +++ b/docs/embeddings/storage.md @@ -20,3 +20,12 @@ def decode(binary): ``` These functions are available as `llm.encode()` and `llm.decode()`. + +If you are using [NumPy](https://numpy.org/) you can decode one of these binary values like this: + +```python +import numpy as np + +numpy_array = np.frombuffer(value, "