Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/connectors/turbopuffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This example does the following:
model = "BAAI/bge-base-en-v1.5"

turbopuffer_config = {
"namespace": "daft-tpuf-example2",
"namespace": "daft-tpuf-example",
"region": "gcp-us-central1",
"distance_metric": "cosine_distance",
"schema": {
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/text-embeddings.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Now we'll execute the complete data processing pipeline:
5. **Generate embeddings**: Apply embedding UDF to text
6. **Create IDs**: Generate unique IDs combining URL and chunk_id
7. **Select columns**: Keep only the necessary columns
8. **Write to Turbopuffer**: Store data and vectors in Turbopuffer
8. **Write to Turbopuffer**: Store data and vectors in Turbopuffer using Daft's [`DataFrame.write_turbopuffer`](../api/dataframe#daft.DataFrame.write_turbopuffer) method

If all works out well, when you run this script on your cluster, you should notice that network I/O, CPU work, and GPU work are pipelined to run in parallel, and you should see high GPU utilization :)

Expand Down