gen_ai.conversation.id 아래로 묶습니다. Conversation
자체는 OTel span이 아니며, 하위 항목이 자신의 span에 conversation 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
opts?): void
매개변수
반환값
void
정의 위치
startTurn
opts?): Turn
이 Conversation 아래에서 새 Turn을 시작합니다. 이 turn은
conversation의 conversationId를 상속하며, opts에 지정하지 않은 경우
agentName, agentId, agentDescription,
agentVersion, model은 conversation의 값을 기본값으로 사용합니다.
매개변수
반환값
Turn
예시
예시
정의 위치
create
opts?): Conversation
매개변수
반환값
Conversation