Quickstart
Connect to turbopuffer, write documents, and run your first search in minutes.
Install the SDK
TypeScript
Python
Initialize the client
TypeScript
Python
Write documents
Write documents with vector embeddings and typed attributes. turbopuffer will create or update the namespace automatically on first write.
TypeScript
Python
Run a vector search
Find the nearest neighbors to a query vector, with an optional filter:
TypeScript
Python
Run a full-text search
Search across text attributes using BM25: