Table of Contents

Class EmbeddingResponses

Namespace
Uralstech.UAI.LiteRTLM
public sealed class EmbeddingResponses : LiteRTLMNativeHandle
Inheritance
object
EmbeddingResponses
Inherited Members

Properties

Count

Returns the number of responses in the collection.

public int Count { get; }

Property Value

int

Methods

At(int)

Returns the embedding response at the given index in the batch.

public EmbeddingResponse At(int index)

Parameters

index int

The batch index.

Returns

EmbeddingResponse

The embedding response.

Remarks

The returned pointer is owned by the EmbeddingResponses object and valid for its lifetime. Calling Dispose() is still encouraged for consistency.

Exceptions

IndexOutOfRangeException

Thrown if the index is out of bounds.

ReleaseUnmanagedResources()

protected override void ReleaseUnmanagedResources()