All integrationsDatabases

turbopuffer

Store and search documents in turbopuffer: vector and full-text search, filtered lookups and counts, upsert, update and delete documents, and manage namespaces.

actions
20
triggers
2

Triggers

Start a workflow when something happens in turbopuffer.

  • New namespaceRuns when a namespace appears in the connection's region, optionally only one whose name starts with some text. Namespaces that existed before the workflow was turned on don't start it.
  • New documentRuns when a document appears in a namespace, with its attributes. It watches the 100 documents that come first in order of an attribute, highest first: name a timestamp your documents carry to catch every new one. Each check is a billed turbopuffer query.

Actions

Steps a workflow can run in turbopuffer.

  • List namespacesList the namespaces in the connection's region, optionally only those whose names start with some text. Gets one page; to see more, run it again with the next page it gives.
  • Create namespaceCreate an empty namespace, with the kind of ids its documents use and, optionally, attributes ready for full-text search. Writing documents to a new name also creates one.
  • Get namespace detailsGet a namespace's schema, approximate document count and size, when it was created and last written, and whether its index is up to date.
  • Update namespace schemaTurn on full-text search for text attributes, or change other attributes' indexing, in place. A new index takes a few minutes to build before searches can use it.
  • Make namespace read-only or writableMake a namespace refuse document and schema writes, or accept them again. Returns the namespace's details.
  • Branch namespaceMake an instant copy of a namespace under a new name. The two are independent afterwards. turbopuffer bills a flat fee per branch.
  • Warm namespace cacheTell turbopuffer that searches of a namespace are coming, so it gets it ready and the first ones are fast.
  • Delete namespaceDelete a namespace and every document in it. This cannot be undone.
  • Upsert documentsCreate documents, or overwrite whole documents with the same ids, from a list. Creates the namespace if it doesn't exist.
  • Upsert documentCreate one document, or overwrite the whole document with that id, from its attributes and vector.
  • Update documentChange some attributes of an existing document, keeping the rest. Vectors can't be changed this way; upsert the document instead.
  • Update documents by filterSet the same attributes on every document that matches a filter, up to 50,000 at a time.
  • Delete documentsDelete documents by their ids. Ids that don't exist are skipped.
  • Delete documents by filterDelete every document that matches a filter, up to 5 million at a time.
  • Vector searchFind the documents nearest a vector, nearest first. For a namespace that embeds text itself, give search text instead.
  • Full-text searchFind the documents whose text best matches some words, ranked by BM25. The attribute must have full-text search turned on.
  • Find documentsFind the documents that match a filter, in order of an attribute, like a database query.
  • Get documentGet one document, with all its attributes, by its id.
  • Count documentsCount the documents that match a filter, in all or for each value of some attributes.
  • Evaluate recallMeasure how well vector search finds the true nearest documents: turbopuffer compares sample searches with exhaustive ones. Billed as queries.

Automate turbopuffer with Lodol.

Connect turbopuffer, then hand Lodol the job in Slack, Claude or ChatGPT.

Free plan, no credit card