Uses of Annotation Interface
dev.langchain4j.Experimental
Packages that use Experimental
Package
Description
Packages with annotations of type Experimental
Package
Description
-
Uses of Experimental in dev.langchain4j.agent.tool
Classes in dev.langchain4j.agent.tool with annotations of type ExperimentalModifier and TypeClassDescriptionenumDefines the behavior of a tool's return value when called by a language model. -
Uses of Experimental in dev.langchain4j.data.message
Methods in dev.langchain4j.data.message with annotations of type ExperimentalModifier and TypeMethodDescription<T> TReturns additional attribute by it's key.<T> TReturns additional attribute by it's key.AiMessage.attributes()Returns additional attributes, typically provider-specific.AiMessage.Builder.attributes(Map<String, Object> attributes) UserMessage.attributes()Returns additional attributes.AiMessage.thinking()Get the thinking/reasoning text of the message. -
Uses of Experimental in dev.langchain4j.experimental.rag.content.retriever.sql
Classes in dev.langchain4j.experimental.rag.content.retriever.sql with annotations of type ExperimentalModifier and TypeClassDescriptionclassWARNING! Although fun and exciting, this class is dangerous to use! Do not ever use this in production! The database user must have very limited READ-ONLY permissions! Although the generated SQL is somewhat validated (to ensure that the SQL is a SELECT statement) using JSqlParser, this class does not guarantee that the SQL will be harmless.Constructors in dev.langchain4j.experimental.rag.content.retriever.sql with annotations of type ExperimentalModifierConstructorDescriptionSqlDatabaseContentRetriever(DataSource dataSource, String sqlDialect, String databaseStructure, PromptTemplate promptTemplate, ChatModel chatModel, Integer maxRetries) Creates an instance of aSqlDatabaseContentRetriever. -
Uses of Experimental in dev.langchain4j.http.client.sse
Classes in dev.langchain4j.http.client.sse with annotations of type ExperimentalModifier and TypeClassDescriptionclassinterfaceHandle that can be used to cancel the parsing of server-sent events.Methods in dev.langchain4j.http.client.sse with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault voidServerSentEventListener.onEvent(ServerSentEvent event, ServerSentEventContext context) Handles server-sent event. -
Uses of Experimental in dev.langchain4j.model.anthropic
Classes in dev.langchain4j.model.anthropic with annotations of type Experimental -
Uses of Experimental in dev.langchain4j.model.audio
Classes in dev.langchain4j.model.audio with annotations of type ExperimentalModifier and TypeInterfaceDescriptioninterfaceA model that can transcribe audio into text.classRequest to transcribe audio.classResponse containing the transcription of an audio file. -
Uses of Experimental in dev.langchain4j.model.azure
Classes in dev.langchain4j.model.azure with annotations of type ExperimentalModifier and TypeClassDescriptionclassRepresents an Azure OpenAI audio transcription model, such as Whisper. -
Uses of Experimental in dev.langchain4j.model.chat.response
Classes in dev.langchain4j.model.chat.response with annotations of type ExperimentalModifier and TypeClassDescriptionclassRepresents a complete tool call.classclassclassclassclassRepresents a partial tool call.classinterfaceHandle that can be used to cancel the streaming done viaStreamingChatResponseHandler.Methods in dev.langchain4j.model.chat.response with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault voidStreamingChatResponseHandler.onCompleteToolCall(CompleteToolCall completeToolCall) Invoked when the model has finished streaming a single tool call.default voidStreamingChatResponseHandler.onPartialResponse(PartialResponse partialResponse, PartialResponseContext context) Invoked each time the model generates a partial textual response, usually a single token.default voidStreamingChatResponseHandler.onPartialThinking(PartialThinking partialThinking) Invoked each time the model generates a partial thinking/reasoning text, usually a single token.default voidStreamingChatResponseHandler.onPartialThinking(PartialThinking partialThinking, PartialThinkingContext context) Invoked each time the model generates a partial thinking/reasoning text, usually a single token.default voidStreamingChatResponseHandler.onPartialToolCall(PartialToolCall partialToolCall) This callback is invoked each time the model generates a partial tool call, which contains a single token of the tool's arguments.default voidStreamingChatResponseHandler.onPartialToolCall(PartialToolCall partialToolCall, PartialToolCallContext context) This callback is invoked each time the model generates a partial tool call, which contains a single token of the tool's arguments. -
Uses of Experimental in dev.langchain4j.model.openaiofficial
Classes in dev.langchain4j.model.openaiofficial with annotations of type ExperimentalModifier and TypeClassDescriptionclassclass -
Uses of Experimental in dev.langchain4j.service
Methods in dev.langchain4j.service with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault TokenStreamTokenStream.onPartialResponseWithContext(BiConsumer<PartialResponse, PartialResponseContext> handler) The provided consumer will be invoked every time a new partial textual response (usually a single token) from a language model is available.default TokenStreamTokenStream.onPartialThinking(Consumer<PartialThinking> partialThinkingHandler) The provided consumer will be invoked every time a new partial thinking/reasoning text (usually a single token) from a language model is available.default TokenStreamTokenStream.onPartialThinkingWithContext(BiConsumer<PartialThinking, PartialThinkingContext> handler) The provided consumer will be invoked every time a new partial thinking/reasoning text (usually a single token) from a language model is available. -
Uses of Experimental in dev.langchain4j.service.tool
Classes in dev.langchain4j.service.tool with annotations of type Experimental -
Uses of Experimental in dev.langchain4j.store.embedding.filter.builder.sql
Classes in dev.langchain4j.store.embedding.filter.builder.sql with annotations of type ExperimentalModifier and TypeClassDescriptionclassclassclass -
Uses of Experimental in dev.langchain4j.store.embedding.filter.parser.sql
Classes in dev.langchain4j.store.embedding.filter.parser.sql with annotations of type ExperimentalModifier and TypeClassDescriptionclassParses an SQL "WHERE" clause into aFilterobject using JSqlParser.