LLamaSharp/docs/xmldocs/llama.oldversion.embeddingd...

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 ObjectEmbeddingData
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()

public string ToString()

Returns

String

PrintMembers(StringBuilder)

protected bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

Boolean

GetHashCode()

public int 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[]&