Index

A B C D E G H I J K L M N O P Q 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.
annotationType() - Method in class io.micronaut.langchain4j.processor.ToolAnnotationTransformer
 

B

BASE_URL - Static variable in class io.micronaut.langchain4j.testresources.ollama.OllamaTestContainerProvider
 
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.
CONFIG_PREFIX - Static variable in class io.micronaut.langchain4j.processor.Langchain4jConfigVisitor
 
createAiServices(AiServiceDef<Object>) - Method in class io.micronaut.langchain4j.aiservices.AiServiceFactory
Creates instances of AiServices.
createContainer(DockerImageName, Map<String, Object>, Map<String, Object>) - Method in class io.micronaut.langchain4j.testresources.ollama.OllamaTestContainerProvider
 
createContainer(DockerImageName, Map<String, Object>, Map<String, Object>) - Method in class io.micronaut.langchain4j.testresources.qdrant.QdrantTestContainerProvider
 
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

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.
embeddingStore(NamedMongoDbAtlasEmbeddingStoreConfig) - Method in class io.micronaut.langchain4j.mongodb.atlas.MongoDbAtlasEmbeddedStoreFactory
Creates the embedding store for each named configuration.
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.

G

getAllTools() - Method in class io.micronaut.langchain4j.tools.ToolRegistry
Get all available tools.
getBuilder() - Method in class io.micronaut.langchain4j.mongodb.atlas.NamedMongoDbAtlasEmbeddingStoreConfig
 
getCreateTable() - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
Whether to create the table.
getDataSource() - Method in class io.micronaut.langchain4j.oracle.database.OracleEmbeddingStoreConfig
 
getDataSource() - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
 
getDefaultImageName() - Method in class io.micronaut.langchain4j.testresources.ollama.OllamaTestContainerProvider
 
getDefaultImageName() - Method in class io.micronaut.langchain4j.testresources.qdrant.QdrantTestContainerProvider
 
getDimension() - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
 
getDropTableFirst() - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
Whether to drop the table first.
getEmbeddingStoreBuilder() - Method in class io.micronaut.langchain4j.oracle.database.OracleEmbeddingStoreConfig
 
getIndexListSize() - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
The index list size.
getMetadataStorageConfig() - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
The metadata storage config.
getMongoClient() - Method in class io.micronaut.langchain4j.mongodb.atlas.NamedMongoDbAtlasEmbeddingStoreConfig
 
getRequiredProperties(String) - Method in class io.micronaut.langchain4j.testresources.ollama.OllamaTestContainerProvider
 
getRequiredProperties(String) - Method in class io.micronaut.langchain4j.testresources.qdrant.QdrantTestContainerProvider
 
getRequiredPropertyEntries() - Method in class io.micronaut.langchain4j.testresources.ollama.OllamaTestContainerProvider
 
getRequiredPropertyEntries() - Method in class io.micronaut.langchain4j.testresources.qdrant.QdrantTestContainerProvider
 
getResolvableProperties(Map<String, Collection<String>>, Map<String, Object>) - Method in class io.micronaut.langchain4j.testresources.ollama.OllamaTestContainerProvider
 
getResolvableProperties(Map<String, Collection<String>>, Map<String, Object>) - Method in class io.micronaut.langchain4j.testresources.qdrant.QdrantTestContainerProvider
 
getSimpleName() - Method in class io.micronaut.langchain4j.testresources.ollama.OllamaTestContainerProvider
 
getSimpleName() - Method in class io.micronaut.langchain4j.testresources.qdrant.QdrantTestContainerProvider
 
getSupportedAnnotationNames() - Method in class io.micronaut.langchain4j.processor.Langchain4jConfigVisitor
 
getTable() - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
 
getToolsTyped(Set<?>) - Method in class io.micronaut.langchain4j.tools.ToolRegistry
Get tools for the given types.
getUseIndex() - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
Whether to use the index.
getVisitorKind() - Method in class io.micronaut.langchain4j.processor.Langchain4jConfigVisitor
 

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

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.
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
 
io.micronaut.langchain4j.interceptor - package io.micronaut.langchain4j.interceptor
 
io.micronaut.langchain4j.mongodb.atlas - package io.micronaut.langchain4j.mongodb.atlas
 
io.micronaut.langchain4j.oracle.database - package io.micronaut.langchain4j.oracle.database
 
io.micronaut.langchain4j.pgvector - package io.micronaut.langchain4j.pgvector
 
io.micronaut.langchain4j.processor - package io.micronaut.langchain4j.processor
 
io.micronaut.langchain4j.testresources.ollama - package io.micronaut.langchain4j.testresources.ollama
 
io.micronaut.langchain4j.testresources.qdrant - package io.micronaut.langchain4j.testresources.qdrant
 
io.micronaut.langchain4j.tools - package io.micronaut.langchain4j.tools
 

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.
Langchain4jConfigVisitor - Class in io.micronaut.langchain4j.processor
 
Langchain4jConfigVisitor() - Constructor for class io.micronaut.langchain4j.processor.Langchain4jConfigVisitor
 

M

MODEL_NAME - Static variable in class io.micronaut.langchain4j.testresources.ollama.OllamaTestContainerProvider
 
models() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig
Common properties to all configuration classes that are required.
MongoDbAtlasEmbeddedStoreFactory - Class in io.micronaut.langchain4j.mongodb.atlas
 
MongoDbAtlasEmbeddedStoreFactory() - Constructor for class io.micronaut.langchain4j.mongodb.atlas.MongoDbAtlasEmbeddedStoreFactory
 

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.
NamedMongoDbAtlasEmbeddingStoreConfig - Class in io.micronaut.langchain4j.mongodb.atlas
Configures for MongoDbEmbeddingStore.
NamedMongoDbAtlasEmbeddingStoreConfig(MongoClient, NamedMongoDbAtlasEmbeddingStoreConfig.IndexMappingConfig, CreateCollectionOptions) - Constructor for class io.micronaut.langchain4j.mongodb.atlas.NamedMongoDbAtlasEmbeddingStoreConfig
 
NoOpCustomizer() - Constructor for class io.micronaut.langchain4j.annotation.AiService.NoOpCustomizer
 

O

OllamaTestContainerProvider - Class in io.micronaut.langchain4j.testresources.ollama
 
OllamaTestContainerProvider() - Constructor for class io.micronaut.langchain4j.testresources.ollama.OllamaTestContainerProvider
 
oracleEmbeddingStore(OracleEmbeddingStoreConfig) - Method in class io.micronaut.langchain4j.oracle.database.OracleEmbeddingStoreFactory
Creates the oracle embedding store.
OracleEmbeddingStoreConfig - Class in io.micronaut.langchain4j.oracle.database
Configures for OracleEmbeddingStore.
OracleEmbeddingStoreConfig(DataSource) - Constructor for class io.micronaut.langchain4j.oracle.database.OracleEmbeddingStoreConfig
 
OracleEmbeddingStoreFactory - Class in io.micronaut.langchain4j.oracle.database
Factory for PgVector embedding store.
OracleEmbeddingStoreFactory() - Constructor for class io.micronaut.langchain4j.oracle.database.OracleEmbeddingStoreFactory
 

P

path() - Method in record class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreConfig
Returns the value of the path record component.
pgVectorEmbeddingStore(PgVectorEmbeddingStoreConfig) - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreFactory
 
PgVectorEmbeddingStoreConfig - Class in io.micronaut.langchain4j.pgvector
Configures for PgVectorEmbeddingStore.
PgVectorEmbeddingStoreConfig(DataSource, MetadataStorageConfig) - Constructor for class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
 
PgVectorEmbeddingStoreFactory - Class in io.micronaut.langchain4j.pgvector
Factory for PgVector embedding store.
PgVectorEmbeddingStoreFactory() - Constructor for class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreFactory
 
PREFIX - Static variable in record class io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreConfig
 
PREFIX - Static variable in class io.micronaut.langchain4j.mongodb.atlas.NamedMongoDbAtlasEmbeddingStoreConfig
 
PREFIX - Static variable in class io.micronaut.langchain4j.oracle.database.OracleEmbeddingStoreConfig
 
PREFIX - Static variable in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
 
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.

Q

QdrantTestContainerProvider - Class in io.micronaut.langchain4j.testresources.qdrant
 
QdrantTestContainerProvider() - Constructor for class io.micronaut.langchain4j.testresources.qdrant.QdrantTestContainerProvider
 

R

required() - Element in annotation interface io.micronaut.langchain4j.annotation.Lang4jConfig.Property
Is it required.
resolveProperty(String, OllamaContainer) - Method in class io.micronaut.langchain4j.testresources.ollama.OllamaTestContainerProvider
 
resolveProperty(String, QdrantContainer) - Method in class io.micronaut.langchain4j.testresources.qdrant.QdrantTestContainerProvider
 

S

setCreateTable(Boolean) - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
Sets whether to create the table.
setDimension(Integer) - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
Sets the dimension.
setDropTableFirst(Boolean) - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
Sets whether the table should be dropped.
setIndexListSize(Integer) - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
Sets the index list size.
setTable(String) - Method in class io.micronaut.langchain4j.oracle.database.OracleEmbeddingStoreConfig
The table name
setTable(String) - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
The table to use.
setUseIndex(Boolean) - Method in class io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreConfig
Sets whether to use the index.
shouldAnswer(String, Map<String, Object>, Map<String, Object>) - Method in class io.micronaut.langchain4j.testresources.ollama.OllamaTestContainerProvider
 
shouldAnswer(String, Map<String, Object>, Map<String, Object>) - Method in class io.micronaut.langchain4j.testresources.qdrant.QdrantTestContainerProvider
 

T

ToolAnnotationTransformer - Class in io.micronaut.langchain4j.processor
 
ToolAnnotationTransformer() - Constructor for class io.micronaut.langchain4j.processor.ToolAnnotationTransformer
 
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.
transform(AnnotationValue<Tool>, VisitorContext) - Method in class io.micronaut.langchain4j.processor.ToolAnnotationTransformer
 
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.
visitClass(ClassElement, VisitorContext) - Method in class io.micronaut.langchain4j.processor.Langchain4jConfigVisitor
 
A B C D E G H I J K L M N O P Q R S T V 
All Classes and Interfaces|All Packages|Constant Field Values