Skip to content

Commit a7fd007

Browse files
committed
small fixes
1 parent a56a828 commit a7fd007

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/welcome/tutorial.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ Vectorstore operations are now synchronous by default, with async batching avail
2222
```python
2323
from raggy.vectorstores.tpuf import TurboPuffer
2424

25-
# Sync usage
26-
with TurboPuffer() as vectorstore: # uses default `raggy` namespace
25+
with TurboPuffer(namespace="my_documents") as vectorstore:
26+
# Synchronous operation
2727
vectorstore.upsert(documents)
2828

29-
# Async batched usage for large document sets
30-
async with TurboPuffer() as vectorstore:
29+
# Async batched usage for large document sets
3130
await vectorstore.upsert_batched(
3231
documents,
3332
batch_size=100,

0 commit comments

Comments
 (0)