Uses of Annotation Interface
dev.langchain4j.Experimental
Packages that use Experimental
Package
Description
-
Uses of Experimental in dev.langchain4j.data.audio
Classes in dev.langchain4j.data.audio with annotations of type Experimental -
Uses of Experimental in dev.langchain4j.data.message
Classes in dev.langchain4j.data.message with annotations of type ExperimentalModifier and TypeClassDescriptionclass
class
class
class
-
Uses of Experimental in dev.langchain4j.data.pdf
Classes in dev.langchain4j.data.pdf with annotations of type Experimental -
Uses of Experimental in dev.langchain4j.data.text
Classes in dev.langchain4j.data.text with annotations of type Experimental -
Uses of Experimental in dev.langchain4j.data.video
Classes in dev.langchain4j.data.video with annotations of type Experimental -
Uses of Experimental in dev.langchain4j.exception
Classes in dev.langchain4j.exception with annotations of type Experimental -
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, ChatLanguageModel chatLanguageModel, Integer maxRetries) Creates an instance of aSqlDatabaseContentRetriever
. -
Uses of Experimental in dev.langchain4j.http.client
Classes in dev.langchain4j.http.client with annotations of type ExperimentalModifier and TypeInterfaceDescriptioninterface
A client for executing HTTP requests both synchronously and asynchronously.interface
interface
class
enum
class
class
-
Uses of Experimental in dev.langchain4j.http.client.log
Classes in dev.langchain4j.http.client.log with annotations of type Experimental -
Uses of Experimental in dev.langchain4j.http.client.sse
Classes in dev.langchain4j.http.client.sse with annotations of type ExperimentalModifier and TypeClassDescriptionfinal record
interface
interface
Parses server-sent events (SSE) from anInputStream
, constructsServerSentEvent
objects, and delivers them to the providedServerSentEventListener
. -
Uses of Experimental in dev.langchain4j.model.chat
Classes in dev.langchain4j.model.chat with annotations of type ExperimentalModifier and TypeClassDescriptionenum
Represents a capability of aChatLanguageModel
orStreamingChatLanguageModel
.Methods in dev.langchain4j.model.chat with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault ChatResponse
ChatLanguageModel.chat
(ChatMessage... messages) default ChatResponse
ChatLanguageModel.chat
(ChatRequest chatRequest) This is the main API to interact with the chat model.default String
default ChatResponse
ChatLanguageModel.chat
(List<ChatMessage> messages) default void
StreamingChatLanguageModel.chat
(ChatRequest chatRequest, StreamingChatResponseHandler handler) This is the main API to interact with the chat model.default void
StreamingChatLanguageModel.chat
(String userMessage, StreamingChatResponseHandler handler) default void
StreamingChatLanguageModel.chat
(List<ChatMessage> messages, StreamingChatResponseHandler handler) default ChatRequestParameters
ChatLanguageModel.defaultRequestParameters()
default ChatRequestParameters
StreamingChatLanguageModel.defaultRequestParameters()
default ChatResponse
ChatLanguageModel.doChat
(ChatRequest chatRequest) default void
StreamingChatLanguageModel.doChat
(ChatRequest chatRequest, StreamingChatResponseHandler handler) default Set
<Capability> ChatLanguageModel.supportedCapabilities()
default Set
<Capability> StreamingChatLanguageModel.supportedCapabilities()
-
Uses of Experimental in dev.langchain4j.model.chat.listener
Classes in dev.langchain4j.model.chat.listener with annotations of type ExperimentalModifier and TypeClassDescriptionclass
The error context.interface
AChatLanguageModel
listener that listens for requests, responses and errors.class
The request context.class
The response context.Methods in dev.langchain4j.model.chat.listener with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault void
ChatModelListener.onError
(ChatModelErrorContext errorContext) This method is called when an error occurs during interaction with the model.default void
ChatModelListener.onRequest
(ChatModelRequestContext requestContext) This method is called before the request is sent to the model.default void
ChatModelListener.onResponse
(ChatModelResponseContext responseContext) This method is called after the response is received from the model. -
Uses of Experimental in dev.langchain4j.model.chat.request
Classes in dev.langchain4j.model.chat.request with annotations of type ExperimentalModifier and TypeClassDescriptionclass
interface
Represents common chat request parameters supported by most LLM providers.class
class
enum
enum
Methods in dev.langchain4j.model.chat.request with annotations of type ExperimentalModifier and TypeMethodDescriptionChatRequest.Builder.parameters
(ChatRequestParameters parameters) ChatRequest.parameters()
-
Uses of Experimental in dev.langchain4j.model.chat.request.json
Classes in dev.langchain4j.model.chat.request.json with annotations of type ExperimentalModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
Can referenceJsonObjectSchema
when recursion is required.class
interface
A base interface for a JSON schema element.class
-
Uses of Experimental in dev.langchain4j.model.chat.response
Classes in dev.langchain4j.model.chat.response with annotations of type ExperimentalModifier and TypeClassDescriptionclass
class
Represents common chat response metadata supported by most LLM providers.Methods in dev.langchain4j.model.chat.response with annotations of type Experimental -
Uses of Experimental in dev.langchain4j.model.googleai
Classes in dev.langchain4j.model.googleai with annotations of type ExperimentalModifier and TypeClassDescriptionclass
class
class
-
Uses of Experimental in dev.langchain4j.model.openai
Classes in dev.langchain4j.model.openai with annotations of type ExperimentalModifier and TypeClassDescriptionclass
class
class
static final record
static final record
Methods in dev.langchain4j.model.openai with annotations of type ExperimentalModifier and TypeMethodDescriptionOpenAiTokenUsage.Builder.inputTokensDetails
(OpenAiTokenUsage.InputTokensDetails inputTokensDetails) OpenAiTokenUsage.inputTokensDetails()
OpenAiTokenUsage.Builder.outputTokensDetails
(OpenAiTokenUsage.OutputTokensDetails outputTokensDetails) OpenAiTokenUsage.outputTokensDetails()
-
Uses of Experimental in dev.langchain4j.rag
Classes in dev.langchain4j.rag with annotations of type ExperimentalModifier and TypeInterfaceDescriptioninterface
Augments the providedChatMessage
with retrievedContent
s. -
Uses of Experimental in dev.langchain4j.rag.content.aggregator
Classes in dev.langchain4j.rag.content.aggregator with annotations of type ExperimentalModifier and TypeInterfaceDescriptioninterface
-
Uses of Experimental in dev.langchain4j.rag.content.injector
Classes in dev.langchain4j.rag.content.injector with annotations of type Experimental -
Uses of Experimental in dev.langchain4j.rag.query.router
Classes in dev.langchain4j.rag.query.router with annotations of type ExperimentalModifier and TypeInterfaceDescriptioninterface
Routes the givenQuery
to one or multipleContentRetriever
s. -
Uses of Experimental in dev.langchain4j.rag.query.transformer
Classes in dev.langchain4j.rag.query.transformer with annotations of type ExperimentalModifier and TypeInterfaceDescriptioninterface
-
Uses of Experimental in dev.langchain4j.service.output
Classes in dev.langchain4j.service.output with annotations of type Experimental -
Uses of Experimental in dev.langchain4j.store.embedding
Methods in dev.langchain4j.store.embedding with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault void
Removes a single embedding from the store by ID.default void
EmbeddingStore.removeAll()
Removes all embeddings from the store.default void
Removes all embeddings that match the specifiedFilter
from the store.default void
EmbeddingStore.removeAll
(Collection<String> ids) Removes all embeddings that match the specified IDs from the store. -
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.