gen_ai.conversation.id にまとめます。
Conversation 自体は OTel スパンではありません。子要素が、それぞれのスパンに会話 ID を付与します。
アクセサー
agentName
Get シグネチャ
get agentName(): string
string
attributes
Get シグネチャ
get attributes(): Attributes
Attributes
conversationId
Get シグネチャ
get conversationId(): string
string
model
Get シグネチャ
get model(): string
string
sessionId
Get シグネチャ
get sessionId(): string
string
メソッド
end()
end(opts?):void
パラメーター
object
戻り値
void
startTurn()
startTurn(このopts?):Turn
Conversation 配下で新しい Turn を開始します。ターンは会話の
conversationId を継承します。agentName、agentId、agentDescription、
agentVersion、model は、opts で指定されていない場合、
会話の値が使用されます。
パラメーター
戻り値
Turn