Uses of Class
dev.langchain4j.model.input.Prompt
Package
Description
-
Uses of Prompt in dev.langchain4j.experimental.rag.content.retriever.sql
Modifier and TypeMethodDescriptionprotected Prompt
SqlDatabaseContentRetriever.createSystemPrompt()
-
Uses of Prompt in dev.langchain4j.model.chat
Modifier and TypeMethodDescriptiondefault int
TokenCountEstimator.estimateTokenCount
(Prompt prompt) Estimates the count of tokens in the specified prompt. -
Uses of Prompt in dev.langchain4j.model.input
Modifier and TypeMethodDescriptionApplies a value to a template containing a single variable.Applies multiple values to a template containing multiple variables.static Prompt
Create a new Prompt. -
Uses of Prompt in dev.langchain4j.model.input.structured
-
Uses of Prompt in dev.langchain4j.model.language
Modifier and TypeMethodDescriptiondefault int
TokenCountEstimator.estimateTokenCount
(Prompt prompt) Estimates the count of tokens in the given prompt.void
DisabledStreamingLanguageModel.generate
(Prompt prompt, StreamingResponseHandler<String> handler) Generate a response to the given prompt.default void
StreamingLanguageModel.generate
(Prompt prompt, StreamingResponseHandler<String> handler) Generates a response from the model based on a prompt. -
Uses of Prompt in dev.langchain4j.model.moderation
-
Uses of Prompt in dev.langchain4j.model.workersai
-
Uses of Prompt in dev.langchain4j.rag.content.injector
Modifier and TypeMethodDescriptionprotected Prompt
DefaultContentInjector.createPrompt
(ChatMessage chatMessage, List<Content> contents) protected Prompt
DefaultContentInjector.createPrompt
(UserMessage userMessage, List<Content> contents) Deprecated. -
Uses of Prompt in dev.langchain4j.rag.query.router
Modifier and TypeMethodDescriptionprotected Prompt
LanguageModelQueryRouter.createPrompt
(Query query) -
Uses of Prompt in dev.langchain4j.rag.query.transformer
Modifier and TypeMethodDescriptionprotected Prompt
CompressingQueryTransformer.createPrompt
(Query query, String chatMemory) protected Prompt
ExpandingQueryTransformer.createPrompt
(Query query) -
Uses of Prompt in dev.langchain4j.spi.prompt.structured
-
Uses of Prompt in dev.langchain4j.store.embedding.filter.builder.sql
Modifier and TypeMethodDescriptionprotected Prompt
LanguageModelSqlFilterBuilder.createPrompt
(Query query)
DefaultContentInjector.createPrompt(ChatMessage, List)
instead.