Skip to main content
대화는 하나의 gen_ai.conversation.id 아래에 턴을 묶습니다. 대화 자체는 OTel span이 아니며, 하위 요소가 각자의 span에 대화 ID를 기록합니다.

접근자

agentName

조회 시그니처

get agentName(): string
string

attributes

조회 시그니처

get attributes(): Attributes
Attributes

conversationId

조회 시그니처

get conversationId(): string
string

model

조회 시그니처

get model(): string
string

sessionId

사용 중단. Conversation.conversationId 대신 사용하세요.

조회 시그니처

get sessionId(): string
string

메서드

end()

end(opts?): void

매개변수

object

반환값

void

startTurn()

startTurn(opts?): Turn
이 Conversation 아래에 새 Turn을 시작합니다. 턴은 대화의 conversationId를 상속하며, agentName, agentId, agentDescription, agentVersion, model을 opts에 지정하지 않으면 대화의 값이 대신 사용됩니다.

매개변수

TurnInit = {}
TurnInit을 참조하세요.

반환값

Turn

예시

마지막 수정일 2026년 9월 30일