Upstash · Method
index.upsertData
Use upsertData to store text and let Upstash create its embedding. Use upsertDataMany for several records, and chain namespace to target a named namespace.
Last updated
Syntax
$index->upsertData(new DataUpsert(id: '1', data: 'text'));In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Upsert DataUpsert Data ManyMetadata and DataNamespaces