Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Nov 4, 2024
1 parent a56a828 commit a7fd007
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/welcome/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ Vectorstore operations are now synchronous by default, with async batching avail
```python
from raggy.vectorstores.tpuf import TurboPuffer

# Sync usage
with TurboPuffer() as vectorstore: # uses default `raggy` namespace
with TurboPuffer(namespace="my_documents") as vectorstore:
# Synchronous operation
vectorstore.upsert(documents)

# Async batched usage for large document sets
async with TurboPuffer() as vectorstore:
# Async batched usage for large document sets
await vectorstore.upsert_batched(
documents,
batch_size=100,
Expand Down

0 comments on commit a7fd007

Please sign in to comment.