Package io.helidon.integrations.langchain4j
package io.helidon.integrations.langchain4j
Integration with Langchain4j.
- See Also:
-
ClassDescriptionMetadata describing discovered AI agent.Configuration for a single LangChain4j agent.Fluent API builder for
AgentsConfig.AgentsConfig.BuilderBase<BUILDER extends AgentsConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends AgentsConfig> Fluent API builder base forAgentsConfig.Generated implementation of the prototype, can be extended by descendant prototype implementations.This interface contains a set of annotations for defining langChain4J declarative services.Annotation that marks a type (typically a LangChain4j declarative service interface) as anagentand assigns it a logical name.Deprecated, for removal: This API element is subject to removal in a future version.Annotation to specify a ChatMemoryProvider for the service.Deprecated, for removal: This API element is subject to removal in a future version.UseAi.ChatMemoryProviderinstead.Annotation to specify a ChatModel for the service.Annotation to specify a ContentRetriever for the service.Annotation to specify an MCP Clients to be used in McpToolProvider.Annotation to specify a ModerationModel for the service.Annotation to specify a RetrievalAugmentor for the service.Annotation to define a langChain4J service.Annotation to specify a StreamingChatModel for the service.A qualifier for a tool class (a class that has at least one method annotated with lc4j annotationTool.Annotation to specify a ToolProvider for the service.Annotation to manually specify classes containing tools for the service.AiProvider serves as a container for defining AI model configuration annotations and related metadata.Default config key used under langchain4j context for all model configs in the same class.Skip builder mapping generation as it is done manually inconfiguredBuilder()method.Use this annotation to specify LangChain4J Model Provider with custom (non-generated model providers).Default weight used for generated model factory if it is not defined byAiProvider.ModelConfig.weight().Annotation used to define a configuration for a specific LangChain4j model class.The ModelConfigs annotation serves as a container for multipleAiProvider.ModelConfigannotations.Marks nested properties which types should be introspected too.Interface generated from blueprintio.helidon.integrations.langchain4j.AiServicesConfigBlueprint.Fluent API builder forAiServicesConfig.AiServicesConfig.BuilderBase<BUILDER extends AiServicesConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends AiServicesConfig> Fluent API builder base forAiServicesConfig.Generated implementation of the prototype, can be extended by descendant prototype implementations.Configuration for LangChain4jContentRetrievercomponents.Fluent API builder forContentRetrieverConfig.ContentRetrieverConfig.BuilderBase<BUILDER extends ContentRetrieverConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ContentRetrieverConfig> Fluent API builder base forContentRetrieverConfig.Generated implementation of the prototype, can be extended by descendant prototype implementations.Supported content retriever implementations.Configuration for LangChain4j in-memory embedding store components.Fluent API builder forInMemoryEmbeddingStoreConfig.InMemoryEmbeddingStoreConfig.BuilderBase<BUILDER extends InMemoryEmbeddingStoreConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends InMemoryEmbeddingStoreConfig> Fluent API builder base forInMemoryEmbeddingStoreConfig.Generated implementation of the prototype, can be extended by descendant prototype implementations.Configuration for LangChain4j MCP (Model Context Protocol) clients.Fluent API builder forMcpClientConfig.McpClientConfig.BuilderBase<BUILDER extends McpClientConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends McpClientConfig> Fluent API builder base forMcpClientConfig.Generated implementation of the prototype, can be extended by descendant prototype implementations.LangChain4j ClassInstanceFactory implementation that retrieves instances of classes from Helidon globalServicesregistry.Wrapper for exceptions intercepted when adaptingTokenStreamtoStream.
Ai.ChatMemoryProviderinstead.