메인 콘텐츠로 건너뛰기
weave / Conversation Conversation은 여러 Turn을 단일 gen_ai.conversation.id 아래로 묶습니다. Conversation 자체는 OTel span이 아니며, 하위 항목이 자신의 span에 conversation id를 기록합니다.

목차

접근자

메서드

접근자

agentName

get agentName(): string

반환값

string

정의 위치

src/genai/conversation.ts:94

attributes

get attributes(): Attributes

반환값

Attributes

정의 위치

src/genai/conversation.ts:106

conversationId

get conversationId(): string

반환값

string

정의 위치

src/genai/conversation.ts:102

model

get model(): string

반환값

string

정의 위치

src/genai/conversation.ts:98

sessionId

사용이 중단되었습니다. 대신 Conversation.conversationId를 사용하세요.
get sessionId(): string

반환값

string

정의 위치

src/genai/conversation.ts:111

메서드

end

end(opts?): void

매개변수

반환값

void

정의 위치

src/genai/conversation.ts:168

startTurn

startTurn(opts?): Turn Conversation 아래에서 새 Turn을 시작합니다. 이 turn은 conversation의 conversationId를 상속하며, opts에 지정하지 않은 경우 agentName, agentId, agentDescription, agentVersion, model은 conversation의 값을 기본값으로 사용합니다.

매개변수

반환값

Turn 예시
예시

정의 위치

src/genai/conversation.ts:156

create

create(opts?): Conversation

매개변수

반환값

Conversation

정의 위치

src/genai/conversation.ts:115