ChatTurnDetails Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class that records details related to a particular LLM chat conversation turn involved in the execution of a particular ScenarioRun.
public ref class ChatTurnDetails sealed
public sealed class ChatTurnDetails
type ChatTurnDetails = class
Public NotInheritable Class ChatTurnDetails
- Inheritance
-
ChatTurnDetails
Constructors
ChatTurnDetails(TimeSpan, String, UsageDetails, String, Nullable<Boolean>) |
A class that records details related to a particular LLM chat conversation turn involved in the execution of a particular ScenarioRun. |
Properties
CacheHit |
Gets or sets a value indicating whether the model response was retrieved from the cache. |
CacheKey |
Gets or sets the cache key for the cached model response for the chat conversation turn. |
Latency |
Gets or sets the duration between the time when the request was sent to the LLM and the time when the response was received for the chat conversation turn. |
Model |
Gets or sets the model that was used in the creation of the response for the chat conversation turn. |
Usage |
Gets or sets usage details for the chat conversation turn (including input and output token counts). |