メインコンテンツへスキップ
weave / Conversation Conversation は、単一の gen_ai.conversation.id の下にターンをまとめるクラスです。これ自体は OTel span ではなく、子 span が自身の span に conversation id を付与します。

目次

プロパティ

アクセサー

メソッド

プロパティ

agentName

Readonly agentName: string

定義元

src/genai/conversation.ts:34

attributes

Readonly attributes: Attributes

定義元

src/genai/conversation.ts:37

conversationId

Readonly conversationId: string

定義元

src/genai/conversation.ts:36

model

Readonly model: string

定義元

src/genai/conversation.ts:35

アクセサー

sessionId

非推奨。 代わりに Conversation.conversationId を使用してください。
get sessionId(): string

戻り値

string

定義元

src/genai/conversation.ts:41

メソッド

end

end(opts?): void

パラメーター

タイプ
opts?SpanEndOptions

戻り値

void

定義元

src/genai/conversation.ts:71

startTurn

startTurn(opts?): Turn

パラメーター

タイプ
optsTurnInit

戻り値

Turn

定義元

src/genai/conversation.ts:62

create

create(opts?): Conversation

パラメーター

タイプ
optsConversationInit

戻り値

Conversation

定義元

src/genai/conversation.ts:45