Writing to turbopuffer#
We recommend turbopuffer as a fast search engine that combines vector and full-text search using object storage, making all your data easily searchable.
Example#
This example does the following:
- Reads the
Open-Orca/OpenOrcadataset from Hugging Face - Computes text embeddings on the
responsecolumn, using either an OpenAI model or theBAAI/bge-base-en-v1.5open model on Hugging Face with Sentence Transformers - Writes the results to turbopuffer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | |
For a more a detailed example, check out our guide on generating text embeddings.
Check out our DataFrame.write_turbopuffer documentation for more customization options.