Embedding
Namespace: LLama.OldVersion
Caution
The entire LLama.OldVersion namespace will be removed
public class Embedding : System.IEquatable`1[[LLama.OldVersion.Embedding, LLamaSharp, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → Embedding
Implements IEquatable<Embedding>
Properties
Object
public string Object { get; set; }
Property Value
Model
public string Model { get; set; }
Property Value
Data
public EmbeddingData[] Data { get; set; }
Property Value
Usage
public EmbeddingUsage Usage { get; set; }
Property Value
Constructors
Embedding(String, String, EmbeddingData[], EmbeddingUsage)
public Embedding(string Object, string Model, EmbeddingData[] Data, EmbeddingUsage Usage)
Parameters
Object
String
Model
String
Data
EmbeddingData[]
Usage
EmbeddingUsage
Methods
ToString()
public string ToString()
Returns
PrintMembers(StringBuilder)
protected bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
GetHashCode()
public int GetHashCode()
Returns
Equals(Object)
public bool Equals(object obj)
Parameters
obj
Object
Returns
Equals(Embedding)
public bool Equals(Embedding other)
Parameters
other
Embedding
Returns
<Clone>$()
public Embedding <Clone>$()
Returns
Deconstruct(String&, String&, EmbeddingData[]&, EmbeddingUsage&)
public void Deconstruct(String& Object, String& Model, EmbeddingData[]& Data, EmbeddingUsage& Usage)
Parameters
Object
String&
Model
String&
Data
EmbeddingData[]&
Usage
EmbeddingUsage&