Index

A C D E H L M P R S T V W 
All Classes and Interfaces|All Packages|Serialized Form

A

AiService - Annotation Interface in dev.langchain4j.service.spring
An interface annotated with @AiService will be automatically registered as a bean and wired with all the following components (beans) available in the context:
aiServiceClass() - Method in class dev.langchain4j.service.spring.event.AiServiceRegisteredEvent
 
AiServiceRegisteredEvent - Class in dev.langchain4j.service.spring.event
 
AiServiceRegisteredEvent(Object, Class<?>, List<ToolSpecification>) - Constructor for class dev.langchain4j.service.spring.event.AiServiceRegisteredEvent
 
AiServicesAutoConfig - Class in dev.langchain4j.service.spring
 
AiServicesAutoConfig() - Constructor for class dev.langchain4j.service.spring.AiServicesAutoConfig
 
AiServiceScannerProcessor - Class in dev.langchain4j.service.spring
 
AiServiceScannerProcessor() - Constructor for class dev.langchain4j.service.spring.AiServiceScannerProcessor
 
AiServiceWiringMode - Enum Class in dev.langchain4j.service.spring
Specifies how LangChain4j components are wired (injected) into a given AI Service.
AUTOMATIC - Enum constant in enum class dev.langchain4j.service.spring.AiServiceWiringMode
All LangChain4j components available in the application context are wired automatically into a given AI Service.

C

chatMemory() - Element in annotation interface dev.langchain4j.service.spring.AiService
When the AiService.wiringMode() is set to AiServiceWiringMode.EXPLICIT, this attribute specifies the name of a ChatMemory bean that should be used by this AI Service.
chatMemoryProvider() - Element in annotation interface dev.langchain4j.service.spring.AiService
When the AiService.wiringMode() is set to AiServiceWiringMode.EXPLICIT, this attribute specifies the name of a ChatMemoryProvider bean that should be used by this AI Service.
chatModel() - Element in annotation interface dev.langchain4j.service.spring.AiService
When the AiService.wiringMode() is set to AiServiceWiringMode.EXPLICIT, this attribute specifies the name of a ChatModel bean that should be used by this AI Service.
contentRetriever() - Element in annotation interface dev.langchain4j.service.spring.AiService
When the AiService.wiringMode() is set to AiServiceWiringMode.EXPLICIT, this attribute specifies the name of a ContentRetriever bean that should be used by this AI Service.

D

dev.langchain4j.rag.spring - package dev.langchain4j.rag.spring
 
dev.langchain4j.service.spring - package dev.langchain4j.service.spring
 
dev.langchain4j.service.spring.event - package dev.langchain4j.service.spring.event
 
dev.langchain4j.spring - package dev.langchain4j.spring
 

E

equals(Object) - Method in record class dev.langchain4j.rag.spring.RagProperties
Indicates whether some other object is "equal to" this one.
EXPLICIT - Enum constant in enum class dev.langchain4j.service.spring.AiServiceWiringMode
Only explicitly specified LangChain4j components are wired into a given AI Service.

H

hashCode() - Method in record class dev.langchain4j.rag.spring.RagProperties
Returns a hash code value for this object.

L

LangChain4jAutoConfig - Class in dev.langchain4j.spring
 
LangChain4jAutoConfig() - Constructor for class dev.langchain4j.spring.LangChain4jAutoConfig
 

M

moderationModel() - Element in annotation interface dev.langchain4j.service.spring.AiService
When the AiService.wiringMode() is set to AiServiceWiringMode.EXPLICIT, this attribute specifies the name of a ModerationModel bean that should be used by this AI Service.

P

postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in class dev.langchain4j.service.spring.AiServiceScannerProcessor
 

R

RagAutoConfig - Class in dev.langchain4j.rag.spring
 
RagAutoConfig() - Constructor for class dev.langchain4j.rag.spring.RagAutoConfig
 
RagProperties - Record Class in dev.langchain4j.rag.spring
 
RagProperties(RetrievalProperties) - Constructor for record class dev.langchain4j.rag.spring.RagProperties
Creates an instance of a RagProperties record class.
retrieval() - Method in record class dev.langchain4j.rag.spring.RagProperties
Returns the value of the retrieval record component.
retrievalAugmentor() - Element in annotation interface dev.langchain4j.service.spring.AiService
When the AiService.wiringMode() is set to AiServiceWiringMode.EXPLICIT, this attribute specifies the name of a RetrievalAugmentor bean that should be used by this AI Service.

S

setApplicationEventPublisher(ApplicationEventPublisher) - Method in class dev.langchain4j.service.spring.AiServicesAutoConfig
 
setEnvironment(Environment) - Method in class dev.langchain4j.service.spring.AiServiceScannerProcessor
 
streamingChatModel() - Element in annotation interface dev.langchain4j.service.spring.AiService
When the AiService.wiringMode() is set to AiServiceWiringMode.EXPLICIT, this attribute specifies the name of a StreamingChatModel bean that should be used by this AI Service.

T

tools() - Element in annotation interface dev.langchain4j.service.spring.AiService
When the AiService.wiringMode() is set to AiServiceWiringMode.EXPLICIT, this attribute specifies the names of beans containing methods annotated with Tool that should be used by this AI Service.
toolSpecifications() - Method in class dev.langchain4j.service.spring.event.AiServiceRegisteredEvent
 
toString() - Method in record class dev.langchain4j.rag.spring.RagProperties
Returns a string representation of this record class.

V

valueOf(String) - Static method in enum class dev.langchain4j.service.spring.AiServiceWiringMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dev.langchain4j.service.spring.AiServiceWiringMode
Returns an array containing the constants of this enum class, in the order they are declared.

W

wiringMode() - Element in annotation interface dev.langchain4j.service.spring.AiService
Specifies how LangChain4j components (beans) are wired (injected) into this AI Service.
A C D E H L M P R S T V W 
All Classes and Interfaces|All Packages|Serialized Form