Uses of Class
org.springframework.ai.chat.prompt.Prompt
Packages that use Prompt
Package
Description
Provides the API for chat observations.
-
Uses of Prompt in org.springframework.ai.chat.model
Subinterfaces with type arguments of type Prompt in org.springframework.ai.chat.modelMethods 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
Subclasses with type arguments of type Prompt in org.springframework.ai.chat.observationModifier and TypeClassDescriptionclassContext used to store metadata for chat model exchanges.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.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.