Package com.vaadin.flow.component.ai.provider
package com.vaadin.flow.component.ai.provider
-
ClassDescriptionLangChain4j implementation of
LlmProvider, built on a LangChain4j AI service.Framework-agnostic interface for Large Language Model (LLM) providers.Represents a request to the LLM containing all necessary context, configuration, and tools.A framework-agnostic tool definition that the LLM can invoke.Executes SQL queries on behalf of an LLM and provides the database schema information the LLM needs to write them.Factory for creating reusable databaseLlmProvider.ToolSpecinstances.Metadata about an LLM response, published by anLlmProviderthroughLlmProvider.LlmRequest.metadataSink()when the model reports it.Token usage of a turn.Spring AI implementation ofLlmProvider.Signals a tool failure whose message is safe to pass back to the LLM.