Protected
_eventsProtected
Optional
_flushProtected
_retryProtected
isProtected
_getProtected
_getProtected
_parseProtected
awaitCan be either a string (name) or an object with name, description and metadata
A promise that resolves to the response of the create operation.
Creates a dataset item. Upserts the item if it already exists.
The body of the dataset item to be created.
A promise that resolves to the response of the create operation.
Protected
enqueueProtected
eventOptional
query: GetLangfuseObservationsQueryOptional
query: GetLangfuseSessionsQueryOptional
query: GetLangfuseTracesQueryProtected
findAsynchronously flushes all events that are not yet sent to the server. This function always resolves, even if there were errors when flushing. Errors are emitted as "error" events and the promise resolves.
A promise that resolves when the flushing is completed.
Protected
generationProtected
getOptional
options: { Optional
query: { Optional
limit?: null | numberOptional
page?: null | numberOptional
version: numberOptional
options: { Optional
cacheOptional
fallback?: stringOptional
fetchOptional
label?: stringOptional
maxOptional
type?: "text"Optional
version: numberOptional
options: { Optional
cacheOptional
fallback?: Omit<{ Optional
fetchOptional
label?: stringOptional
maxProtected
processProtected
processProtected
scoreProtected
spanOptional
body: Omit<{ Protected
trace** Handlers for each object type *
Protected
truncateTruncates the event body if its byte size exceeds the specified maximum byte size. Emits a warning event if truncation occurs. The fields that may be truncated are: "input", "output", and "metadata". The fields are truncated in the order of their size, from largest to smallest until the total byte size is within the limit.
Protected
updateProtected
update
Creates a dataset. Upserts the dataset if it already exists.