메인 콘텐츠로 건너뛰기
weave / Conversation Conversation은 여러 턴을 단일 gen_ai.conversation.id 아래로 묶습니다. Conversation 자체는 OTel 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