Index

A B C D E G H I J K L M N P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values

A

AiService - Annotation Interface in io.micronaut.langchain4j.annotation
Registers an AI service.
AiService.NoOpCustomizer - Class in io.micronaut.langchain4j.annotation
The default no-op customizer.
AiServiceCreationContext<T> - Record Class in io.micronaut.langchain4j.aiservices
A context object when an AiService is created.
AiServiceCreationContext(AiServiceDef<T>, AiServices<T>) - Constructor for record class io.micronaut.langchain4j.aiservices.AiServiceCreationContext
Creates an instance of a AiServiceCreationContext record class.
AiServiceCustomizer<T> - Interface in io.micronaut.langchain4j.aiservices
Interface that allows customization the creation of AiServices.
AiServiceDef<T> - Record Class in io.micronaut.langchain4j.aiservices
Models a AiService definition.
AiServiceDef(BeanDefinition<T>, Class<T>, String, Set<Class<?>>, Class<AiServiceCustomizer<T>>) - Constructor for record class io.micronaut.langchain4j.aiservices.AiServiceDef
Creates an instance of a AiServiceDef record class.
AiServiceFactory - Class in io.micronaut.langchain4j.aiservices
An AI services factory.
AiServiceFactory(BeanContext, ToolRegistry) - Constructor for class io.micronaut.langchain4j.aiservices.AiServiceFactory
 
AiServiceInterceptor - Class in io.micronaut.langchain4j.interceptor
Interceptor implementation for register AI service.
AiServiceInterceptor(BeanContext) - Constructor for class io.micronaut.langchain4j.interceptor.AiServiceInterceptor
 
aiServices() - Method in record class io.micronaut.langchain4j.aiservices.AiServiceCreationContext
Returns the value of the aiServices record component.

B

beanDefinition() - Method in record class io.micronaut.langchain4j.aiservices.AiServiceDef
Returns the value of the beanDefinition record component.

C

common() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig.Property
Is it common to all models.
configRequired() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig.Model
Whether some config is required to active.
createAiServices(AiServiceDef<Object>) - Method in class io.micronaut.langchain4j.aiservices.AiServiceFactory
Creates instances of AiServices.
createMessageWindowChatMemoryBuilder(ChatMemoryStore, MessageWindowChatMemoryConfiguration) - Method in class io.micronaut.langchain4j.store.memory.chat.MessageWindowChatMemoryFactory
 
customize(AiServiceCreationContext<T>) - Method in interface io.micronaut.langchain4j.aiservices.AiServiceCustomizer
Call back invocation that receives the AiServiceCreationContext.
customize(AiServiceCreationContext<Object>) - Method in class io.micronaut.langchain4j.annotation.AiService.NoOpCustomizer
 
customizer() - Method in record class io.micronaut.langchain4j.aiservices.AiServiceDef
Returns the value of the customizer record component.
customizer() - Element in annotation interface io.micronaut.langchain4j.annotation.AiService
A customizer can be registered to customize its creation.

D

DEFAULT_MAX_MESSAGES - Static variable in interface io.micronaut.langchain4j.store.memory.chat.MessageWindowChatMemoryConfiguration
Default number of max messages.
defaultModelName() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig.Model
 
defaultValue() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig.Property
 
definition() - Method in record class io.micronaut.langchain4j.aiservices.AiServiceCreationContext
Returns the value of the definition record component.

E

embeddingStore(InMemoryEmbeddingStoreConfig) - Method in class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreFactory
Named stores.
enabled() - Method in record class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreConfig
Returns the value of the enabled record component.
equals(Object) - Method in record class io.micronaut.langchain4j.aiservices.AiServiceCreationContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.langchain4j.aiservices.AiServiceDef
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreConfig
Indicates whether some other object is "equal to" this one.
exposed() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig.Model
 

G

getAllTools() - Method in class io.micronaut.langchain4j.tools.ToolRegistry
Get all available tools.
getMaxMessages() - Method in interface io.micronaut.langchain4j.store.memory.chat.MessageWindowChatMemoryConfiguration
 
getMaxMessages() - Method in class io.micronaut.langchain4j.store.memory.chat.MessageWindowChatMemoryConfigurationProperties
 
getToolsTyped(Set<?>) - Method in class io.micronaut.langchain4j.tools.ToolRegistry
Get tools for the given types.

H

hashCode() - Method in record class io.micronaut.langchain4j.aiservices.AiServiceCreationContext
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.langchain4j.aiservices.AiServiceDef
Returns a hash code value for this object.
hashCode() - Method in record class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreConfig
Returns a hash code value for this object.

I

imageContent(byte[], String) - Static method in class io.micronaut.langchain4j.utils.ImageContentUtils
 
imageContent(InputStream, String) - Static method in class io.micronaut.langchain4j.utils.ImageContentUtils
 
imageContent(String, String) - Static method in class io.micronaut.langchain4j.utils.ImageContentUtils
 
ImageContentUtils - Class in io.micronaut.langchain4j.utils
Utility class to create ImageContent instances.
impl() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig.Model
The implementation of the model.
injected() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig.Property
Is it injected.
InMemoryChatMemoryConfiguration - Interface in io.micronaut.langchain4j.store.memory.chat.inmemory
Configuration for the creation of InMemoryChatMemoryStore instances.
InMemoryEmbeddingStoreConfig - Record Class in io.micronaut.langchain4j.embedding
Configuration for in-memory stores.
InMemoryEmbeddingStoreConfig(boolean, String, String) - Constructor for record class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreConfig
Creates an instance of a InMemoryEmbeddingStoreConfig record class.
InMemoryEmbeddingStoreFactory - Class in io.micronaut.langchain4j.embedding
Factory for in-memory stores.
InMemoryEmbeddingStoreFactory(Environment) - Constructor for class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreFactory
Default constructor.
intercept(MethodInvocationContext<Object, Object>) - Method in class io.micronaut.langchain4j.interceptor.AiServiceInterceptor
 
io.micronaut.langchain4j.aiservices - package io.micronaut.langchain4j.aiservices
 
io.micronaut.langchain4j.annotation - package io.micronaut.langchain4j.annotation
 
io.micronaut.langchain4j.embedding - package io.micronaut.langchain4j.embedding
Classes related with the creation of in-memory EmbeddingStore.
io.micronaut.langchain4j.interceptor - package io.micronaut.langchain4j.interceptor
 
io.micronaut.langchain4j.store.memory.chat - package io.micronaut.langchain4j.store.memory.chat
ChatMemoryStore related classes.
io.micronaut.langchain4j.store.memory.chat.inmemory - package io.micronaut.langchain4j.store.memory.chat.inmemory
In-Memory ChatMemoryStore implementation related classes.
io.micronaut.langchain4j.tools - package io.micronaut.langchain4j.tools
 
io.micronaut.langchain4j.utils - package io.micronaut.langchain4j.utils
Utility classes to work with Langchain4j.

J

json() - Method in record class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreConfig
Returns the value of the json record component.

K

kind() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig.Model
The kind of model.

L

Lang4jConfig - Annotation Interface in io.micronaut.langchain4j.annotation
Generates the code necessary to integrate a ChatLanguageModel provider.
Lang4jConfig.Model - Annotation Interface in io.micronaut.langchain4j.annotation
Add configuration for the given model.
Lang4jConfig.Property - Annotation Interface in io.micronaut.langchain4j.annotation
Configuration for an individual property.

M

MessageWindowChatMemoryConfiguration - Interface in io.micronaut.langchain4j.store.memory.chat
Configuration for MessageWindowChatMemory.
MessageWindowChatMemoryConfigurationProperties - Class in io.micronaut.langchain4j.store.memory.chat
ConfigurationProperties for MessageWindowChatMemoryConfiguration.
MessageWindowChatMemoryConfigurationProperties() - Constructor for class io.micronaut.langchain4j.store.memory.chat.MessageWindowChatMemoryConfigurationProperties
 
MessageWindowChatMemoryFactory - Class in io.micronaut.langchain4j.store.memory.chat
Utility class to obtain instances of MessageWindowChatMemory.Builder.
MessageWindowChatMemoryFactory() - Constructor for class io.micronaut.langchain4j.store.memory.chat.MessageWindowChatMemoryFactory
 
models() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig
Common properties to all configuration classes that are required.

N

name() - Method in record class io.micronaut.langchain4j.aiservices.AiServiceDef
Returns the value of the name record component.
name() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig.Property
 
named() - Element in annotation interface io.micronaut.langchain4j.annotation.AiService
The name of a configured AI model.
NoOpCustomizer() - Constructor for class io.micronaut.langchain4j.annotation.AiService.NoOpCustomizer
 

P

path() - Method in record class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreConfig
Returns the value of the path record component.
PREFIX - Static variable in record class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreConfig
 
PREFIX - Static variable in class io.micronaut.langchain4j.store.memory.chat.MessageWindowChatMemoryConfigurationProperties
 
primaryStore() - Method in class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreFactory
The primary store.
process(BeanDefinition<?>, ExecutableMethod<?, ?>) - Method in class io.micronaut.langchain4j.tools.ToolRegistry
 
properties() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig
Configuration for different properties.

R

required() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig.Property
Is it required.

S

setMaxMessages(Integer) - Method in class io.micronaut.langchain4j.store.memory.chat.MessageWindowChatMemoryConfigurationProperties
Sets the maximum number of messages to retain.

T

ToolRegistry - Class in io.micronaut.langchain4j.tools
Register of tools.
ToolRegistry(BeanContext) - Constructor for class io.micronaut.langchain4j.tools.ToolRegistry
 
tools() - Method in record class io.micronaut.langchain4j.aiservices.AiServiceDef
Returns the value of the tools record component.
tools() - Element in annotation interface io.micronaut.langchain4j.annotation.AiService
The types of the tools to include.
toString() - Method in record class io.micronaut.langchain4j.aiservices.AiServiceCreationContext
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.langchain4j.aiservices.AiServiceDef
Returns a string representation of this record class.
toString() - Method in record class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreConfig
Returns a string representation of this record class.
type() - Method in record class io.micronaut.langchain4j.aiservices.AiServiceDef
Returns the value of the type record component.

V

value() - Element in annotation interface io.micronaut.langchain4j.annotation.AiService
Defines the service name.
A B C D E G H I J K L M N P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values