Table of Contents

Class AIRequestRecord

public class AIRequestRecord : IData, IFavoritable, IArchivable
Inheritance
object
AIRequestRecord
Implements
IFavoritable
IArchivable

Constructors

AIRequestRecord()

public AIRequestRecord()

AIRequestRecord(IGenerativeRequest, IGeneratedOutput, float?)

public AIRequestRecord(IGenerativeRequest request, IGeneratedOutput output, float? timeTakenSeconds)

Parameters

request IGenerativeRequest
output IGeneratedOutput
timeTakenSeconds float?

Properties

Api

public Api Api { get; }

Property Value

Api

CostInUsd

public double CostInUsd { get; }

Property Value

double

CreatedAt

public UnixTime CreatedAt { get; }

Property Value

UnixTime

FormattedPromptText

public string FormattedPromptText { get; }

Property Value

string

Id

public string Id { get; }

Property Value

string

InputFiles

public List<IFile> InputFiles { get; }

Property Value

List<IFile>

IsArchived

public bool IsArchived { get; set; }

Property Value

bool

IsFavorite

public bool IsFavorite { get; set; }

Property Value

bool

Metadata

public Dictionary<string, object> Metadata { get; }

Property Value

Dictionary<string, object>

ModelId

public string ModelId { get; }

Property Value

string

ModelName

public string ModelName { get; }

Property Value

string

N

public int N { get; }

Property Value

int

Name

public string Name { get; }

Property Value

string

OutputFiles

public List<IFile> OutputFiles { get; }

Property Value

List<IFile>

OutputText

public string OutputText { get; }

Property Value

string

OutputTexts

public List<string> OutputTexts { get; }

Property Value

List<string>

Prompt

public IPrompt Prompt { get; }

Property Value

IPrompt

PromptText

public string PromptText { get; }

Property Value

string

RequestType

public string RequestType { get; }

Property Value

string

ResponseMimeType

public MimeType ResponseMimeType { get; }

Property Value

MimeType

SafetyIdentifier

public string SafetyIdentifier { get; }

Property Value

string

Sender

public string Sender { get; }

Property Value

string

ServiceTier

public string ServiceTier { get; }

Property Value

string

TimeTakenSeconds

public float? TimeTakenSeconds { get; set; }

Property Value

float?

Usage

public UsageMetadata Usage { get; }

Property Value

UsageMetadata

Methods

Equals(AIRequestRecord)

public bool Equals(AIRequestRecord other)

Parameters

other AIRequestRecord

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(AIRequestRecord, AIRequestRecord)

public static bool operator ==(AIRequestRecord left, AIRequestRecord right)

Parameters

left AIRequestRecord
right AIRequestRecord

Returns

bool

operator !=(AIRequestRecord, AIRequestRecord)

public static bool operator !=(AIRequestRecord left, AIRequestRecord right)

Parameters

left AIRequestRecord
right AIRequestRecord

Returns

bool