Package-level declarations

Types

Link copied to clipboard

Provides constants for Anthropic AI model identifiers. This class contains the latest model versions for Claude AI models offered by Anthropic.

Link copied to clipboard

Provides constants for DeepSeek AI model identifiers. This class contains the latest model versions for DeepSeek AI models offered by DeepSeek.

Link copied to clipboard

Docker local models This class will always be loaded, but models won't be loaded from the Docker endpoint unless the "docker" profile is set. Model names will be precisely as reported from http://localhost:12434/engines/v1/models (assuming default port).

Link copied to clipboard
class FallbackChatModel(model: <Error class: unknown class>, fallback: <Error class: unknown class>, whenError: (t: Throwable) -> Boolean)

Chat model that falls back to another model if the first one fails.

Link copied to clipboard

Popular Ollama models as constants for easy reference and type safety. These represent the most commonly used models in the Ollama ecosystem.

Link copied to clipboard

Save default. Some models may not support all options.

Link copied to clipboard
open class OpenAiCompatibleModelFactory(val baseUrl: String?, apiKey: String?, completionsPath: String?, embeddingsPath: String?, observationRegistry: <Error class: unknown class>)

Generic support for OpenAI compatible models. Use to register LLM beans.

Link copied to clipboard

Well-known models from OpenAI.

Functions

Link copied to clipboard
fun <Error class: unknown class>.withFallback(model: <Error class: unknown class>, whenError: (t: Throwable) -> Boolean): <Error class: unknown class>

fun <Error class: unknown class>.withFallback(fallbackTo: <Error class: unknown class>?, whenError: (t: Throwable) -> Boolean): <Error class: unknown class>

LLM that falls back to another LLM if the first one fails.