Uses of Class
org.springframework.ai.chat.prompt.Prompt
Packages that use Prompt
Package
Description
Chat client.
Provides the API for chat client advisors.
Provides the API for chat observations.
-
Uses of Prompt in org.springframework.ai.anthropic
Methods in org.springframework.ai.anthropic with parameters of type PromptModifier and TypeMethodDescriptionAnthropicChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
AnthropicChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
-
Uses of Prompt in org.springframework.ai.azure.openai
Methods in org.springframework.ai.azure.openai with parameters of type PromptModifier and TypeMethodDescriptionAzureOpenAiChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
AzureOpenAiChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
-
Uses of Prompt in org.springframework.ai.bedrock.converse
Methods in org.springframework.ai.bedrock.converse with parameters of type PromptModifier and TypeMethodDescriptionInvoke the model and return the response.reactor.core.publisher.Flux<ChatResponse>
Invoke the model and return the response stream. -
Uses of Prompt in org.springframework.ai.chat.client
Methods in org.springframework.ai.chat.client with parameters of type PromptModifier and TypeMethodDescriptionConstructors in org.springframework.ai.chat.client with parameters of type PromptModifierConstructorDescriptionDefaultCallPromptResponseSpec
(ChatModel chatModel, Prompt prompt) DefaultStreamPromptResponseSpec
(StreamingChatModel streamingChatModel, Prompt prompt) -
Uses of Prompt in org.springframework.ai.chat.client.advisor.api
Methods in org.springframework.ai.chat.client.advisor.api that return Prompt -
Uses of Prompt in org.springframework.ai.chat.model
Methods in org.springframework.ai.chat.model with parameters of type PromptModifier and TypeMethodDescriptionAbstractToolCallSupport.handleToolCalls
(Prompt prompt, ChatResponse response) Deprecated.protected boolean
AbstractToolCallSupport.isProxyToolCalls
(Prompt prompt, FunctionCallingOptions defaultOptions) Deprecated.default reactor.core.publisher.Flux<ChatResponse>
reactor.core.publisher.Flux<ChatResponse>
-
Uses of Prompt in org.springframework.ai.chat.observation
Methods in org.springframework.ai.chat.observation with parameters of type PromptModifier and TypeMethodDescription -
Uses of Prompt in org.springframework.ai.chat.prompt
Methods in org.springframework.ai.chat.prompt that return PromptModifier and TypeMethodDescriptionPrompt.copy()
AssistantPromptTemplate.create()
ChatPromptTemplate.create()
ChatPromptTemplate.create
(Map<String, Object> model, ChatOptions modelOptions) ChatPromptTemplate.create
(ChatOptions modelOptions) PromptTemplate.create()
PromptTemplate.create
(Map<String, Object> model, ChatOptions modelOptions) PromptTemplate.create
(ChatOptions modelOptions) PromptTemplateActions.create()
PromptTemplateActions.create
(Map<String, Object> model, ChatOptions modelOptions) PromptTemplateActions.create
(ChatOptions modelOptions) SystemPromptTemplate.create()
-
Uses of Prompt in org.springframework.ai.huggingface
Methods in org.springframework.ai.huggingface with parameters of type PromptModifier and TypeMethodDescriptionGenerate text based on the provided prompt. -
Uses of Prompt in org.springframework.ai.minimax
Methods in org.springframework.ai.minimax with parameters of type Prompt -
Uses of Prompt in org.springframework.ai.mistralai
Methods in org.springframework.ai.mistralai with parameters of type PromptModifier and TypeMethodDescriptionMistralAiChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
MistralAiChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
-
Uses of Prompt in org.springframework.ai.model.function
Methods in org.springframework.ai.model.function with parameters of type PromptModifier and TypeMethodDescriptionFunctionCallingHelper.handleToolCalls
(Prompt prompt, ChatResponse response) Deprecated.FunctionCallingHelper.processCall
(ChatModel chatModel, Prompt prompt, Set<String> finishReasons, Function<AssistantMessage.ToolCall, String> customFunction) Deprecated.reactor.core.publisher.Flux<ChatResponse>
FunctionCallingHelper.processStream
(ChatModel chatModel, Prompt prompt, Set<String> finishReasons, Function<AssistantMessage.ToolCall, String> customFunction) Deprecated. -
Uses of Prompt in org.springframework.ai.model.tool
Methods in org.springframework.ai.model.tool with parameters of type PromptModifier and TypeMethodDescriptionDefaultToolCallingManager.executeToolCalls
(Prompt prompt, ChatResponse chatResponse) LegacyToolCallingManager.executeToolCalls
(Prompt prompt, ChatResponse chatResponse) Deprecated.ToolCallingManager.executeToolCalls
(Prompt prompt, ChatResponse chatResponse) Execute the tool calls requested by the model. -
Uses of Prompt in org.springframework.ai.moonshot
Methods in org.springframework.ai.moonshot with parameters of type PromptModifier and TypeMethodDescriptionMoonshotChatModel.createRequest
(Prompt prompt, boolean stream) Accessible for testing.MoonshotChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
MoonshotChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
-
Uses of Prompt in org.springframework.ai.oci.cohere
Methods in org.springframework.ai.oci.cohere with parameters of type Prompt -
Uses of Prompt in org.springframework.ai.ollama
Methods in org.springframework.ai.ollama with parameters of type Prompt -
Uses of Prompt in org.springframework.ai.openai
Methods in org.springframework.ai.openai with parameters of type PromptModifier and TypeMethodDescriptionOpenAiChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
OpenAiChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
-
Uses of Prompt in org.springframework.ai.qianfan
Methods in org.springframework.ai.qianfan with parameters of type PromptModifier and TypeMethodDescriptionQianFanChatModel.createRequest
(Prompt prompt, boolean stream) Accessible for testing.reactor.core.publisher.Flux<ChatResponse>
-
Uses of Prompt in org.springframework.ai.vertexai.gemini
Methods in org.springframework.ai.vertexai.gemini with parameters of type PromptModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
VertexAiGeminiChatModel.internalStream
(Prompt prompt) reactor.core.publisher.Flux<ChatResponse>
-
Uses of Prompt in org.springframework.ai.vertexai.gemini.schema
Methods in org.springframework.ai.vertexai.gemini.schema with parameters of type PromptModifier and TypeMethodDescriptionVertexToolCallingManager.executeToolCalls
(Prompt prompt, ChatResponse chatResponse) Executes tool calls by delegating to the underlying tool calling manager. -
Uses of Prompt in org.springframework.ai.watsonx
Methods in org.springframework.ai.watsonx with parameters of type Prompt -
Uses of Prompt in org.springframework.ai.zhipuai
Methods in org.springframework.ai.zhipuai with parameters of type Prompt