Uses of Annotation Interface
dev.langchain4j.Experimental
Package
Description
-
Uses of Experimental in dev.langchain4j.data.audio
-
Uses of Experimental in dev.langchain4j.data.message
Modifier and TypeClassDescriptionclass
class
class
class
-
Uses of Experimental in dev.langchain4j.data.pdf
-
Uses of Experimental in dev.langchain4j.data.text
-
Uses of Experimental in dev.langchain4j.data.video
-
Uses of Experimental in dev.langchain4j.experimental.rag.content.retriever.sql
Modifier 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.ModifierConstructorDescriptionSqlDatabaseContentRetriever
(DataSource dataSource, String sqlDialect, String databaseStructure, PromptTemplate promptTemplate, ChatLanguageModel chatLanguageModel, Integer maxRetries) Creates an instance of aSqlDatabaseContentRetriever
. -
Uses of Experimental in dev.langchain4j.model.chat
Modifier and TypeMethodDescriptiondefault ChatResponse
ChatLanguageModel.chat
(ChatRequest request) default Set
<Capability> ChatLanguageModel.supportedCapabilities()
-
Uses of Experimental in dev.langchain4j.model.chat.listener
Modifier and TypeClassDescriptionclass
The error context.interface
AChatLanguageModel
listener that listens for requests, responses and errors.class
A request to theChatLanguageModel
orStreamingChatLanguageModel
, intended to be used withChatModelListener
.class
The request context.class
A response from theChatLanguageModel
orStreamingChatLanguageModel
, intended to be used withChatModelListener
.class
The response context.Modifier 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
-
Uses of Experimental in dev.langchain4j.model.chat.request.json
Modifier 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
-
Uses of Experimental in dev.langchain4j.model.googleai
Modifier and TypeClassDescriptionclass
class
class
-
Uses of Experimental in dev.langchain4j.rag
Modifier and TypeInterfaceDescriptioninterface
Augments the providedChatMessage
with retrievedContent
s. -
Uses of Experimental in dev.langchain4j.rag.content.aggregator
Modifier and TypeInterfaceDescriptioninterface
-
Uses of Experimental in dev.langchain4j.rag.content.injector
-
Uses of Experimental in dev.langchain4j.rag.query.router
Modifier and TypeInterfaceDescriptioninterface
Routes the givenQuery
to one or multipleContentRetriever
s. -
Uses of Experimental in dev.langchain4j.rag.query.transformer
Modifier and TypeInterfaceDescriptioninterface
-
Uses of Experimental in dev.langchain4j.service.output
-
Uses of Experimental in dev.langchain4j.store.embedding
Modifier 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
Modifier and TypeClassDescriptionclass
class
class
-
Uses of Experimental in dev.langchain4j.store.embedding.filter.parser.sql
Modifier and TypeClassDescriptionclass
Parses an SQL "WHERE" clause into aFilter
object using JSqlParser.