Uses of Package
dev.langchain4j.service
Packages that use dev.langchain4j.service
Package
Description
-
Classes in dev.langchain4j.service used by dev.langchain4j.agentic.internalClassDescriptionSpecifies either a complete user message or a user message template to be used each time an AI service is invoked.
-
Classes in dev.langchain4j.service used by dev.langchain4j.agentic.supervisorClassDescriptionThe value of a method parameter annotated with @MemoryId will be used to find the memory belonging to that user/conversation.Specifies either a complete system message (prompt) or a system message template to be used each time an AI service is invoked.Specifies either a complete user message or a user message template to be used each time an AI service is invoked.When a parameter of a method in an AI Service is annotated with
@V
, it becomes a prompt template variable. -
Classes in dev.langchain4j.service used by dev.langchain4j.serviceClassDescriptionAI Services is a high-level API of LangChain4j to interact with
ChatModel
andStreamingChatModel
.Parameters for creating anAiServiceTokenStream
.Builder forAiServiceTokenStreamParameters
.Represents the result of an AI Service invocation.Represents a token stream from the model to which you can subscribe and receive updates when a new partial response (usually a single token) is available, when the model finishes streaming, or when an error occurs during streaming. -
Classes in dev.langchain4j.service used by dev.langchain4j.spi.servicesClassDescriptionAI Services is a high-level API of LangChain4j to interact with
ChatModel
andStreamingChatModel
.Represents a token stream from the model to which you can subscribe and receive updates when a new partial response (usually a single token) is available, when the model finishes streaming, or when an error occurs during streaming.