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. Use this value when the model does not have a defined role.
Embeddings = 1
Indicates the model is designed for generating embeddings. Embeddings are typically used for semantic similarity, clustering, and retrieval tasks.
TextGeneration = 2
Indicates the model is suitable for general text generation tasks. This includes tasks such as content creation, summarization, or freeform text generation.
Chat = 4
Indicates the model is optimized for chat or conversational tasks. Includes models fine-tuned for interactive dialogue and question-answering.
CodeCompletion = 8
Indicates the model specializes in code completion or generation.
SentimentAnalysis = 16
Indicates the model is capable of performing sentiment analysis. Sentiment analysis involves classifying text as positive, negative, or neutral.
Math = 32
Indicates the model has capabilities for mathematical problem-solving. This includes tasks such as solving equations, performing calculations, and other math-related functions.
Vision = 64
Indicates the model has capabilities for computer vision tasks. This includes image recognition, object detection, and other vision-related functions.