Uses of Annotation Interface
dev.langchain4j.Experimental
Packages that use Experimental
Package
Description
Contains interfaces and classes for model catalog functionality.
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.enumDefines the behavior of a tool whendev.langchain4j.service.tool.search.ToolSearchStrategyis configured for an AI Service. -
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.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.catalog
Classes in dev.langchain4j.model.catalog with annotations of type ExperimentalModifier and TypeInterfaceDescriptioninterfaceRepresents a service that can discover available models from an LLM provider.classRepresents metadata about an available model from a provider.enumRepresents the type/category of a model. -
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.embedding
Methods in dev.langchain4j.model.embedding with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault EmbeddingModelEmbeddingModel.addListener(EmbeddingModelListener listener) Wraps thisEmbeddingModelwith a listening model that dispatches events to the provided listener.default EmbeddingModelEmbeddingModel.addListeners(List<EmbeddingModelListener> listeners) Wraps thisEmbeddingModelwith a listening model that dispatches events to the provided listeners. -
Uses of Experimental in dev.langchain4j.model.embedding.listener
Classes in dev.langchain4j.model.embedding.listener with annotations of type ExperimentalModifier and TypeClassDescriptionclassThe embedding model error context.static classBuilder forEmbeddingModelErrorContext.interfaceAnEmbeddingModellistener that listens for requests, responses and errors.classThe embedding model request context.static classBuilder forEmbeddingModelRequestContext.classThe embedding model response context.static classBuilder forEmbeddingModelResponseContext. -
Uses of Experimental in dev.langchain4j.rag.content.retriever
Methods in dev.langchain4j.rag.content.retriever with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault ContentRetrieverContentRetriever.addListener(ContentRetrieverListener listener) Wraps thisContentRetrieverwith a listening retriever that dispatches events to the provided listener.default ContentRetrieverContentRetriever.addListeners(Collection<ContentRetrieverListener> listeners) Wraps thisContentRetrieverwith a listening retriever that dispatches events to the provided listeners. -
Uses of Experimental in dev.langchain4j.rag.content.retriever.listener
Classes in dev.langchain4j.rag.content.retriever.listener with annotations of type ExperimentalModifier and TypeClassDescriptionclassThe content retriever error context.static classBuilder forContentRetrieverErrorContext.interfaceAContentRetrieverlistener that listens for requests, responses and errors.classThe content retriever request context.static classBuilder forContentRetrieverRequestContext.classThe content retriever response context.static classBuilder forContentRetrieverResponseContext. -
Uses of Experimental in dev.langchain4j.store.embedding
Methods in dev.langchain4j.store.embedding with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault EmbeddingStore<Embedded> EmbeddingStore.addListener(EmbeddingStoreListener listener) Wraps thisEmbeddingStorewith a listening store that dispatches events to the provided listener.default EmbeddingStore<Embedded> EmbeddingStore.addListeners(List<EmbeddingStoreListener> listeners) Wraps thisEmbeddingStorewith a listening store that dispatches events to the provided listeners. -
Uses of Experimental in dev.langchain4j.store.embedding.listener
Classes in dev.langchain4j.store.embedding.listener with annotations of type ExperimentalModifier and TypeClassDescriptionclassEmbeddingStoreErrorContext<Embedded>The embedding store error context.interfaceAEmbeddingStorelistener that listens for requests, responses and errors.classEmbeddingStoreRequestContext<Embedded>The embedding store request context.static final classEmbeddingStoreRequestContext.Add<Embedded>Theadd(...)request context.static final classEmbeddingStoreRequestContext.AddAll<Embedded>TheaddAll(...)request context.static final classEmbeddingStoreRequestContext.Remove<Embedded>Theremove(String)request context.static final classEmbeddingStoreRequestContext.RemoveAll<Embedded>TheremoveAll()request context.static final classTheremoveAll(Filter)request context.static final classTheremoveAll(ids)request context.static final classEmbeddingStoreRequestContext.Search<Embedded>Thesearch(...)request context.classEmbeddingStoreResponseContext<Embedded>The embedding store response context.static final classEmbeddingStoreResponseContext.Add<Embedded>Theadd(...)response context.static final classEmbeddingStoreResponseContext.AddAll<Embedded>TheaddAll(...)response context.static final classEmbeddingStoreResponseContext.Remove<Embedded>Theremove(String)response context.static final classEmbeddingStoreResponseContext.RemoveAll<Embedded>TheremoveAll()response context.static final classTheremoveAll(Filter)response context.static final classTheremoveAll(ids)response context.static final classEmbeddingStoreResponseContext.Search<Embedded>Thesearch(...)response context.