LLMCapability

@Serializable
sealed class LLMCapability(source)

Represents a specific capability or feature of an LLM (Large Language Model). This is a sealed class, where each capability is represented as a subclass or data object.

Inheritors

Types

Link copied to clipboard
@Serializable
data object Completion : LLMCapability

Represents the "completion" capability for Language Learning Models (LLMs). This capability typically encompasses the generation of text or content based on the given input context. It belongs to the LLMCapability sealed class hierarchy and is identifiable by the embed ID.

Link copied to clipboard
@Serializable
data object Embed : LLMCapability

Represents the capability of generating embeddings within the context of language models.

Link copied to clipboard
@Serializable
sealed class Schema : LLMCapability

Represents a structured schema capability for a language model. The schema defines certain characteristics or functionalities related to data interaction and encoding using specific formats.

Link copied to clipboard
@Serializable
data object Speculation : LLMCapability

Represents the capability of the language model to perform speculative responses. This capability allows the model to generate responses with varying degrees of likelihood, often used for exploratory or hypothetical scenarios.

Link copied to clipboard
@Serializable
data object Temperature : LLMCapability

Represents the temperature capability of a language model.

Link copied to clipboard
@Serializable
data object ToolChoice : LLMCapability

Represents how tools calling can be configured for the LLM.

Link copied to clipboard
@Serializable
data object Tools : LLMCapability

Represents the capability of tools within the LLM capability hierarchy.

Link copied to clipboard
@Serializable
data object Vision : LLMCapability

Represents a large language model (LLM) capability associated with vision-based tasks. This capability is typically used in models that can process, analyze, and infer insights from visual data or visual representations.

Properties

Link copied to clipboard
val id: String

The unique identifier for this capability.