EmbeddingUsage
Namespace: LLama.Types
| public class EmbeddingUsage : System.IEquatable`1[[LLama.Types.EmbeddingUsage, LLamaSharp, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null]]
|
Inheritance Object → EmbeddingUsage
Implements IEquatable<EmbeddingUsage>
Properties
PromptTokens
| public int PromptTokens { get; set; }
|
Property Value
Int32
TotalTokens
| public int TotalTokens { get; set; }
|
Property Value
Int32
Constructors
EmbeddingUsage(Int32, Int32)
| public EmbeddingUsage(int PromptTokens, int TotalTokens)
|
Parameters
PromptTokens
Int32
TotalTokens
Int32
Methods
ToString()
Returns
String
| protected bool PrintMembers(StringBuilder builder)
|
Parameters
builder
StringBuilder
Returns
Boolean
GetHashCode()
Returns
Int32
Equals(Object)
| public bool Equals(object obj)
|
Parameters
obj
Object
Returns
Boolean
Equals(EmbeddingUsage)
| public bool Equals(EmbeddingUsage other)
|
Parameters
other
EmbeddingUsage
Returns
Boolean
<Clone>$()
| public EmbeddingUsage <Clone>$()
|
Returns
EmbeddingUsage
Deconstruct(Int32&, Int32&)
| public void Deconstruct(Int32& PromptTokens, Int32& TotalTokens)
|
Parameters
PromptTokens
Int32&
TotalTokens
Int32&