Class PromptRecord
Inheritance
object
PromptRecord
Assembly: .dll
Syntax
public class PromptRecord
Constructors
PromptRecord()
Declaration
Properties
Api
Declaration
Property Value
CostInUsd
Declaration
public double CostInUsd { get; }
Property Value
CreatedAt
Declaration
public UnixTime CreatedAt { get; }
Property Value
Type |
Description |
UnixTime |
|
FormattedPromptText
Declaration
public string FormattedPromptText { get; }
Property Value
Id
Unique identifier for this data.
Declaration
public string Id { get; }
Property Value
Declaration
public List<IFile> InputFiles { get; }
Property Value
Type |
Description |
List<IFile> |
|
IsArchived
Declaration
public bool IsArchived { get; }
Property Value
ModelId
Declaration
public string ModelId { get; }
Property Value
ModelName
Declaration
public string ModelName { get; }
Property Value
N
Declaration
Property Value
Name
Declaration
public string Name { get; }
Property Value
OutputFiles
Declaration
public List<IFile> OutputFiles { get; }
Property Value
Type |
Description |
List<IFile> |
|
OutputMimeType
Declaration
public MIMEType OutputMimeType { get; }
Property Value
Type |
Description |
MIMEType |
|
OutputText
Declaration
public string OutputText { get; }
Property Value
OutputTexts
Declaration
public List<string> OutputTexts { get; }
Property Value
Type |
Description |
List<string> |
|
PromptText
Declaration
public string PromptText { get; }
Property Value
RequestOptions
Declaration
public Dictionary<string, string> RequestOptions { get; }
Property Value
Type |
Description |
Dictionary<string, string> |
|
RequestType
Declaration
public string RequestType { get; }
Property Value
Sender
Declaration
public string Sender { get; }
Property Value
Usage
Declaration
public Usage Usage { get; }
Property Value
Methods
Equals(PromptRecord)
Declaration
public bool Equals(PromptRecord other)
Parameters
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current object.
|
Returns
Type |
Description |
bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
object.Equals(object)
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A hash code for the current object.
|
Overrides
object.GetHashCode()
Declaration
public string GetMetadata(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
Operators
operator ==(PromptRecord, PromptRecord)
Declaration
public static bool operator ==(PromptRecord left, PromptRecord right)
Parameters
Returns
operator !=(PromptRecord, PromptRecord)
Declaration
public static bool operator !=(PromptRecord left, PromptRecord right)
Parameters
Returns