Package com.embabel.common.ai.model
See: Description
-
Enum Summary Enum Description ModelType -
Interface Summary Interface Description ModelMetadata Metadata about an AI model. AiModel Wraps a lower level AI model and allows metadata to be attached to a model EmbeddingServiceMetadata EmbeddingService Embed text in vector space LlmMetadata Metadata about a Large Language Model (LLM). LlmHyperparameters Common hyperparameters for LLMs. ModelSelectionCriteria Superinterface for model selection criteria OptionsConverter Convert our LLM options to Spring AI ChatOptions PricingModel Represents a pricing model for an LLM. -
Object Summary Object Description Companion Companion Companion Companion Companion AutoModelSelectionCriteria Choose an LLM automatically: For example, in a platform, based on runtime analysis, or based on analysis of the prompt DefaultModelSelectionCriteria DefaultOptionsConverter Do not use in production code, this is just a lowest common denominator and example Companion -
Class Summary Class Description EmbeddingServiceMetadataImpl Thinking Thinking config. LlmOptions Portable LLM options. NoSuitableModelException Exception thrown when no suitable model is found for the given criteria. ByRoleModelSelectionCriteria Select an LLM by role ByNameModelSelectionCriteria RandomByNameModelSelectionCriteria FallbackByNameModelSelectionCriteria PerTokenPricingModel SpringAiEmbeddingService Wraps a Spring AI EmbeddingModel exposing an embedding service. PricingModelKt