Table of Contents

Property SupportsTextEmbeddings

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

SupportsTextEmbeddings

Gets a value indicating whether this embedder can embed text. Text embedding requires the model's text tokenizer; image-only embedding checkpoints carry none, so their text methods throw InvalidModelException. Check this before routing text to an embedder that may be image-only.

public bool SupportsTextEmbeddings { get; }

Property Value

bool
Share