Skip to content

Commit 23891ea

Browse files
kylediazzzstoatzz
authored andcommitted
Update Chroma memory provider for Chroma Cloud
1 parent e7271cc commit 23891ea

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

docs/patterns/memory.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,21 @@ uv pip install "marvin[chroma]"
144144
```
145145
</CodeGroup>
146146

147+
Configure Chroma:
148+
```python
149+
import marvin
150+
from marvin.memory.providers import chroma
151+
152+
provider = chroma.ChromaEphemeralMemory()
153+
# or provider = chroma.ChromaPersistentMemory()
154+
# or provider = chroma.ChromaCloudMemory()
155+
156+
memory = marvin.Memory(
157+
key="knowledge",
158+
provider=provider
159+
)
160+
```
161+
147162
### LanceDB
148163

149164
LanceDB provides a fast, efficient vector store with columnar storage:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies = [
2222
dev = [
2323
"apispec",
2424
"atproto",
25-
"chromadb>=0.6.0",
25+
"chromadb>=1.0.15",
2626
"commentjson",
2727
"copychat>=0.5.2",
2828
"dirty-equals>=0.9.0",

0 commit comments

Comments
 (0)