Table of Contents

Class PromptRecord

Namespace
Glitch9.AIDevKit
public class PromptRecord
Inheritance
object
PromptRecord

Constructors

PromptRecord()

public PromptRecord()

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

Unique identifier for this data.

public string Id { get; }

Property Value

string

InputFiles

public List<IFile> InputFiles { get; }

Property Value

List<IFile>

IsArchived

public bool IsArchived { get; }

Property Value

bool

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

Name of this data.

public string Name { get; }

Property Value

string

OutputFiles

public List<IFile> OutputFiles { get; }

Property Value

List<IFile>

OutputMimeType

public MIMEType OutputMimeType { get; }

Property Value

MIMEType

OutputText

public string OutputText { get; }

Property Value

string

OutputTexts

public List<string> OutputTexts { get; }

Property Value

List<string>

PromptText

public string PromptText { get; }

Property Value

string

RequestOptions

public Dictionary<string, string> RequestOptions { get; }

Property Value

Dictionary<string, string>

RequestType

public string RequestType { get; }

Property Value

string

Sender

public string Sender { get; }

Property Value

string

Usage

public Usage Usage { get; }

Property Value

Usage

Methods

Equals(PromptRecord)

public bool Equals(PromptRecord other)

Parameters

other PromptRecord

Returns

bool

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetMetadata(string)

public string GetMetadata(string key)

Parameters

key string

Returns

string

Operators

operator ==(PromptRecord, PromptRecord)

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

Parameters

left PromptRecord
right PromptRecord

Returns

bool

operator !=(PromptRecord, PromptRecord)

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

Parameters

left PromptRecord
right PromptRecord

Returns

bool