Uses of Class
org.springframework.ai.chat.prompt.Prompt
Packages that use Prompt
Package
Description
Chat client.
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 that return PromptModifier and TypeMethodDescriptionChatClientRequest.prompt()Returns the value of thepromptrecord component.Methods in org.springframework.ai.chat.client with parameters of type PromptModifier and TypeMethodDescriptionConstructors in org.springframework.ai.chat.client with parameters of type PromptModifierConstructorDescriptionChatClientRequest(Prompt prompt, Map<String, Object> context) Creates an instance of aChatClientRequestrecord class. -
Uses of Prompt in org.springframework.ai.chat.model
Methods in org.springframework.ai.chat.model with parameters of type PromptModifier and TypeMethodDescriptiondefault 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.augmentSystemMessage(String newSystemText) Augments the last system message in the prompt with the provided text.Prompt.augmentSystemMessage(Function<SystemMessage, SystemMessage> systemMessageAugmenter) Augments the first system message in the prompt with the provided function.Prompt.augmentUserMessage(String newUserText) Augments the last user message in the prompt with the provided text.Prompt.augmentUserMessage(Function<UserMessage, UserMessage> userMessageAugmenter) Augments the last user message in the prompt with the provided function.Prompt.Builder.build()Prompt.copy()AssistantPromptTemplate.create()ChatPromptTemplate.create()ChatPromptTemplate.create(Map<String, Object> model, ChatOptions modelOptions) ChatPromptTemplate.create(ChatOptions modelOptions) PromptTemplate.create()PromptTemplate.create(Map<String, Object> additionalVariables, 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.deepseek
Methods in org.springframework.ai.deepseek with parameters of type PromptModifier and TypeMethodDescriptionDeepSeekChatModel.internalCall(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>DeepSeekChatModel.internalStream(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse> -
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.tool
Methods in org.springframework.ai.model.tool with parameters of type PromptModifier and TypeMethodDescriptionDefaultToolCallingManager.executeToolCalls(Prompt prompt, ChatResponse chatResponse) ToolCallingManager.executeToolCalls(Prompt prompt, ChatResponse chatResponse) Execute the tool calls requested by the model. -
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.vertexai.gemini
Methods in org.springframework.ai.vertexai.gemini with parameters of type PromptModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>VertexAiGeminiChatModel.internalStream(Prompt prompt, ChatResponse previousChatResponse) 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.zhipuai
Methods in org.springframework.ai.zhipuai with parameters of type Prompt