gen_ai.conversation.id の下にターンをまとめるクラスです。これ自体は OTel span ではなく、子 span が自身の span に conversation id を付与します。
目次
アクセサー
メソッド
アクセサー
agentName
get agentName(): string
戻り値
string
定義元
attributes
get attributes(): Attributes
戻り値
Attributes
定義元
conversationId
get conversationId(): string
戻り値
string
定義元
model
get model(): string
戻り値
string
定義元
sessionId
get sessionId(): string
戻り値
string
定義元
メソッド
end
opts?): void
パラメーター
戻り値
void
定義元
startTurn
opts?): Turn
この Conversation の下に新しい Turn を開始します。このターンは会話の conversationId を継承します。opts で指定されていない場合、agentName、agentId、agentDescription、agentVersion、および model には会話の値がデフォルトで使用されます。
パラメーター
戻り値
Turn
例
例
定義元
create
opts?): Conversation
パラメーター
戻り値
Conversation