Table of Contents

Class SupportAssistantUsageRecord

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

One time the support assistant was asked: who asked, in which case, which model answered, and what it took.

public sealed record SupportAssistantUsageRecord : IEquatable<SupportAssistantUsageRecord>
Inheritance
SupportAssistantUsageRecord
Implements
Inherited Members

Remarks

Never what anybody wrote. Not the question, not the answer, not a tool's arguments: a support conversation is free-form text and where a password gets pasted, and a usage record is read by whoever bills, not by support.

Kept whether the assistant answered or declined, because a decline spent the tokens too.

Properties

Answered

Whether it answered; false when it declined.

public bool Answered { get; init; }

Property Value

bool

AskedBy

The identity of whoever the assistant was answering; null when there was no caller.

public string AskedBy { get; init; }

Property Value

string

At

When it finished, in UTC.

public DateTime At { get; init; }

Property Value

DateTime

CachedInputTokens

Of InputTokens, those read from the provider's cache.

public long CachedInputTokens { get; init; }

Property Value

long

CaseId

The case the assistant was asked in.

public required string CaseId { get; init; }

Property Value

string

Duration

How long the assistant took, from being asked to having answered or declined.

public TimeSpan Duration { get; init; }

Property Value

TimeSpan

InputTokens

The tokens the model read.

public long InputTokens { get; init; }

Property Value

long

Model

The model that answered; null when neither the provider nor the client says.

public string Model { get; init; }

Property Value

string

OutputTokens

The tokens the model wrote.

public long OutputTokens { get; init; }

Property Value

long

Provider

Who served the answer, as the chat client names its provider; null when it does not say.

public string Provider { get; init; }

Property Value

string

TeamKey

The team the case belongs to.

public required string TeamKey { get; init; }

Property Value

string

ToolCalls

How many times the assistant called a service to answer.

public int ToolCalls { get; init; }

Property Value

int

TotalTokens

All of them, as the provider totalled them.

public long TotalTokens { get; init; }

Property Value

long