3.1 KiB
3.1 KiB
EmbeddingData
Namespace: LLama.OldVersion
Caution
The entire LLama.OldVersion namespace will be removed
public class EmbeddingData : System.IEquatable`1[[LLama.OldVersion.EmbeddingData, LLamaSharp, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → EmbeddingData
Implements IEquatable<EmbeddingData>
Properties
Index
public int Index { get; set; }
Property Value
Object
public string Object { get; set; }
Property Value
Embedding
public Single[] Embedding { get; set; }
Property Value
Constructors
EmbeddingData(Int32, String, Single[])
public EmbeddingData(int Index, string Object, Single[] Embedding)
Parameters
Index
Int32
Object
String
Embedding
Single[]
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(EmbeddingData)
public bool Equals(EmbeddingData other)
Parameters
other
EmbeddingData
Returns
<Clone>$()
public EmbeddingData <Clone>$()
Returns
Deconstruct(Int32&, String&, Single[]&)
public void Deconstruct(Int32& Index, String& Object, Single[]& Embedding)
Parameters
Index
Int32&
Object
String&
Embedding
Single[]&