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