Enum ModelCapabilities
Represents the various purposes a model can serve in the LM-Kit library. The Flags attribute allows combining multiple capabilities using bitwise operations.
[Flags]
public enum ModelCapabilities
Fields
None = 0
Default value indicating no specific purpose is assigned. Typically used for initialization or when the model does not have a defined role.
TextEmbeddings = 1
Indicates the model generates text embeddings. Typically used in semantic similarity searches, clustering, or retrieval scenarios.
TextGeneration = 2
Indicates the model is suitable for general text generation tasks. Includes content creation, summarization, or freeform text generation.
Chat = 4
Indicates the model is optimized for chat-based conversational tasks. Typically used in interactive dialogue, chatbots, or question-answering applications.
CodeCompletion = 8
Indicates the model is specialized in code generation or completion. Useful for assisting developers by suggesting or generating code snippets.
SentimentAnalysis = 16
Indicates the model performs sentiment or emotion analysis. Used for classifying text into positive, negative, neutral, or detecting specific emotions.
Math = 32
Indicates the model is specialized in mathematical problem-solving tasks. Includes equation solving, numerical calculations, or analytical reasoning.
Vision = 64
Indicates the model supports computer vision tasks. Includes image recognition, object detection, segmentation, and other visual analysis functions.
ImageEmbeddings = 128
Indicates the model generates embeddings for images, useful for tasks like image similarity, search, and clustering.
TextReranking = 256
Indicates the model is specialized in text reranking tasks.