Package: @effect/ai
Module: Telemetry
Telemetry attributes which are part of the GenAI specification and are
namespaced by gen_ai.response.
Signature
export interface ResponseAttributes {
/**
* The unique identifier for the completion.
*/
readonly id?: string | null | undefined
/**
* The name of the model that generated the response.
*/
readonly model?: string | null | undefined
/**
* Array of reasons the model stopped generating tokens, corresponding to
* each generation received.
*/
readonly finishReasons?: ReadonlyArray<string> | null | undefined
}
Since v1.0.0