gen_ai.conversation.id. Elle
n’est pas elle-même un span OTel : ce sont ses enfants qui inscrivent l’identifiant de conversation sur leurs propres spans.
Accesseurs
agentName
Signature d’obtention
get agentName(): string
string
attributes
Signature d’obtention
get attributes(): Attributes
Attributes
conversationId
Signature d’obtention
get conversationId(): string
string
model
Signature d’obtention
get model(): string
string
sessionId
Signature d’obtention
get sessionId(): string
string
Méthodes
end()
end(opts?):void
Paramètres
object
Renvoie
void
startTurn()
startTurn(Démarre un nouveauopts?):Turn
Turn dans cette Conversation. Le tour de conversation hérite du
conversationId de la conversation ; agentName, agentId, agentDescription,
agentVersion et model reprennent les valeurs de la conversation lorsqu’ils ne sont pas
fournis dans opts.
Paramètres
Renvoie
Turn