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

Commit a7cffc5

Browse files
authored
Merge pull request #114 from chroma-core/doc/113
closes #113
2 parents 0ae4db6 + de04bbe commit a7cffc5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/embeddings.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ 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+
```
46+
-> [[0.05035809800028801, 0.0626462921500206, -0.061827320605516434...]]
47+
:::
48+
4149
</TabItem>
4250

4351

0 commit comments

Comments
 (0)