Skip to content

EmbeddingData

Namespace: LLama.Types

1
public class EmbeddingData : System.IEquatable`1[[LLama.Types.EmbeddingData, LLamaSharp, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectEmbeddingData
Implements IEquatable<EmbeddingData>

Properties

Index

1
public int Index { get; set; }

Property Value

Int32

Object

1
public string Object { get; set; }

Property Value

String

Embedding

1
public Single[] Embedding { get; set; }

Property Value

Single[]

Constructors

EmbeddingData(Int32, String, Single[])

1
public EmbeddingData(int Index, string Object, Single[] Embedding)

Parameters

Index Int32

Object String

Embedding Single[]

Methods

ToString()

1
public string ToString()

Returns

String

PrintMembers(StringBuilder)

1
protected bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

Boolean

GetHashCode()

1
public int GetHashCode()

Returns

Int32

Equals(Object)

1
public bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Equals(EmbeddingData)

1
public bool Equals(EmbeddingData other)

Parameters

other EmbeddingData

Returns

Boolean

<Clone>$()

1
public EmbeddingData <Clone>$()

Returns

EmbeddingData

Deconstruct(Int32&, String&, Single[]&)

1
public void Deconstruct(Int32& Index, String& Object, Single[]& Embedding)

Parameters

Index Int32&

Object String&

Embedding Single[]&