Uses of Annotation Interface
dev.langchain4j.Experimental
Packages that use Experimental
Package
Description
Packages with annotations of type Experimental
-
Uses of Experimental in dev.langchain4j.data.message
Methods in dev.langchain4j.data.message with annotations of type ExperimentalModifier and TypeMethodDescription<T> T
Returns additional attribute by it's key.AiMessage.attributes()
Returns additional attributes, typically provider-specific.AiMessage.Builder.attributes
(Map<String, Object> 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 TypeClassDescriptionclass
WARNING! 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.model.chat.response
Classes in dev.langchain4j.model.chat.response with annotations of type ExperimentalModifier and TypeClassDescriptionclass
Represents a complete tool call.class
class
Represents a partial tool call.Methods in dev.langchain4j.model.chat.response with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault void
StreamingChatResponseHandler.onCompleteToolCall
(CompleteToolCall completeToolCall) Invoked when the model has finished streaming a single tool call.default void
StreamingChatResponseHandler.onPartialThinking
(PartialThinking partialThinking) Invoked each time the model generates a partial thinking/reasoning text, usually a single token.default void
StreamingChatResponseHandler.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. -
Uses of Experimental in dev.langchain4j.model.openaiofficial
Classes in dev.langchain4j.model.openaiofficial with annotations of type ExperimentalModifier and TypeClassDescriptionclass
class
-
Uses of Experimental in dev.langchain4j.service
Methods in dev.langchain4j.service with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault TokenStream
TokenStream.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. -
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 TypeClassDescriptionclass
class
class
-
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 TypeClassDescriptionclass
Parses an SQL "WHERE" clause into aFilter
object using JSqlParser.