Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit 090f541

Browse files
committed
closes #113
1 parent a1a8794 commit 090f541

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/embeddings.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ By default, Chroma uses the [Sentence Transformers](https://www.sbert.net/) `all
3838
default_ef = embedding_functions.DefaultEmbeddingFunction()
3939
```
4040

41+
:::tip
42+
Embedding functions can linked to a collection, which are used whenever you call `add`, `update`, `upsert` or `query`. You can also be use them directly which can be handy for debugging.
43+
```py
44+
val = default_ef("foo")
45+
print(val)
46+
```
47+
-> [[0.05035809800028801, 0.0626462921500206, -0.061827320605516434...]]
48+
:::
49+
4150
</TabItem>
4251

4352

0 commit comments

Comments
 (0)