Table of Contents

Property UseEmbeddingClassifier

Namespace
LMKit.TextAnalysis
Assembly
LM-Kit.NET.dll

UseEmbeddingClassifier

Gets or sets a value indicating whether the classifier should utilize the embeddings strategy instead of completion.

public bool UseEmbeddingClassifier { get; set; }

Property Value

bool

true to use the embedding classifier; otherwise, false.

Examples

// Enable embedding classifier
sentimentAnalyzer.UseEmbeddingClassifier = true;

Remarks

Using embeddings can improve performance for certain models and use cases.