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
조회 시그니처
get sessionId(): string
string
메서드
end()
end(opts?):void
매개변수
object
반환값
void
startTurn()
startTurn(이opts?):Turn
Conversation 아래에 새 Turn을 시작합니다. 턴은 대화의
conversationId를 상속하며, agentName, agentId, agentDescription,
agentVersion, model을 opts에 지정하지 않으면 대화의 값이
대신 사용됩니다.
매개변수
반환값
Turn