Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractMessage - Class in org.springframework.ai.core.prompt.messages
- AbstractMessage() - Constructor for class org.springframework.ai.core.prompt.messages.AbstractMessage
- AbstractMessage(MessageType, String) - Constructor for class org.springframework.ai.core.prompt.messages.AbstractMessage
- AbstractMessage(MessageType, String, Map<String, Object>) - Constructor for class org.springframework.ai.core.prompt.messages.AbstractMessage
- AbstractPromptTemplate - Class in org.springframework.ai.core.prompt
- AbstractPromptTemplate(String) - Constructor for class org.springframework.ai.core.prompt.AbstractPromptTemplate
- add(String, Object) - Method in interface org.springframework.ai.core.prompt.PromptOperations
- add(String, Object) - Method in class org.springframework.ai.core.prompt.PromptTemplate
- ASSISTANT - Enum constant in enum class org.springframework.ai.core.prompt.messages.MessageType
- AssistantMessage - Class in org.springframework.ai.core.prompt.messages
-
Lets the model know the content was generated as a response to the user.
- AssistantMessage(String) - Constructor for class org.springframework.ai.core.prompt.messages.AssistantMessage
- AssistantMessage(String, Map<String, Object>) - Constructor for class org.springframework.ai.core.prompt.messages.AssistantMessage
- AssistantPromptTemplate - Class in org.springframework.ai.core.prompt
- AssistantPromptTemplate(String) - Constructor for class org.springframework.ai.core.prompt.AssistantPromptTemplate
- AzureOpenAiAutoConfiguration - Class in org.springframework.ai.autoconfigure.azure.openai
- AzureOpenAiAutoConfiguration(AzureOpenAiProperties) - Constructor for class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiAutoConfiguration
- azureOpenAiClient(OpenAIClient) - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiAutoConfiguration
- AzureOpenAiClient - Class in org.springframework.ai.azure.openai.llm
-
Implementation of
LlmClient
backed by an OpenAiService - AzureOpenAiClient(OpenAIClient) - Constructor for class org.springframework.ai.azure.openai.llm.AzureOpenAiClient
- AzureOpenAiProperties - Class in org.springframework.ai.autoconfigure.azure.openai
- AzureOpenAiProperties() - Constructor for class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
C
- ChatMessage - Class in org.springframework.ai.core.prompt.messages
- ChatMessage(String, String) - Constructor for class org.springframework.ai.core.prompt.messages.ChatMessage
- ChatMessage(String, String, Map<String, Object>) - Constructor for class org.springframework.ai.core.prompt.messages.ChatMessage
- ChatMessage(MessageType, String) - Constructor for class org.springframework.ai.core.prompt.messages.ChatMessage
- ChatMessage(MessageType, String, Map<String, Object>) - Constructor for class org.springframework.ai.core.prompt.messages.ChatMessage
- ChatPromptTemplate - Class in org.springframework.ai.core.prompt
-
A PromptTemplate that lets you specify the role as a string should the current implementations and their roles not suffice for your needs.
- ChatPromptTemplate(MessageType, String) - Constructor for class org.springframework.ai.core.prompt.ChatPromptTemplate
- CONFIG_PREFIX - Static variable in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
- CONFIG_PREFIX - Static variable in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
- content - Variable in class org.springframework.ai.core.prompt.messages.AbstractMessage
- create() - Method in class org.springframework.ai.core.prompt.AssistantPromptTemplate
- create() - Method in class org.springframework.ai.core.prompt.ChatPromptTemplate
- create() - Method in interface org.springframework.ai.core.prompt.PromptOperations
- create() - Method in class org.springframework.ai.core.prompt.PromptTemplate
- create() - Method in class org.springframework.ai.core.prompt.SystemPromptTemplate
- create() - Method in class org.springframework.ai.core.prompt.UserPromptTemplate
- create(Map<String, Object>) - Method in class org.springframework.ai.core.prompt.AssistantPromptTemplate
- create(Map<String, Object>) - Method in class org.springframework.ai.core.prompt.ChatPromptTemplate
- create(Map<String, Object>) - Method in interface org.springframework.ai.core.prompt.PromptOperations
- create(Map<String, Object>) - Method in class org.springframework.ai.core.prompt.PromptTemplate
- create(Map<String, Object>) - Method in class org.springframework.ai.core.prompt.SystemPromptTemplate
- create(Map<String, Object>) - Method in class org.springframework.ai.core.prompt.UserPromptTemplate
F
- fromValue(String) - Static method in enum class org.springframework.ai.core.prompt.messages.MessageType
- fromValue(String) - Static method in enum class org.springframework.ai.core.prompt.TemplateFormat
- FUNCTION - Enum constant in enum class org.springframework.ai.core.prompt.messages.MessageType
- FunctionMessage - Class in org.springframework.ai.core.prompt.messages
- FunctionMessage(String) - Constructor for class org.springframework.ai.core.prompt.messages.FunctionMessage
- FunctionMessage(String, Map<String, Object>) - Constructor for class org.springframework.ai.core.prompt.messages.FunctionMessage
- FunctionPromptTemplate - Class in org.springframework.ai.core.prompt
- FunctionPromptTemplate(String) - Constructor for class org.springframework.ai.core.prompt.FunctionPromptTemplate
G
- generate(String) - Method in class org.springframework.ai.azure.openai.llm.AzureOpenAiClient
- generate(String) - Method in interface org.springframework.ai.core.llm.LlmClient
- generate(String) - Method in class org.springframework.ai.openai.llm.OpenAiClient
- generate(Prompt...) - Method in class org.springframework.ai.azure.openai.llm.AzureOpenAiClient
- generate(Prompt...) - Method in interface org.springframework.ai.core.llm.LlmClient
- generate(Prompt...) - Method in class org.springframework.ai.openai.llm.OpenAiClient
- Generation - Class in org.springframework.ai.core.prompt
- Generation(String) - Constructor for class org.springframework.ai.core.prompt.Generation
- Generation(String, Map<String, Object>) - Constructor for class org.springframework.ai.core.prompt.Generation
- getApiKey() - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
- getApiKey() - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
- getContent() - Method in class org.springframework.ai.core.prompt.messages.AbstractMessage
- getContent() - Method in interface org.springframework.ai.core.prompt.messages.Message
- getContents() - Method in class org.springframework.ai.core.prompt.Prompt
- getEndpoint() - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
- getGenerations() - Method in class org.springframework.ai.core.llm.LLMResult
-
The list of generated outputs.
- getInfo() - Method in class org.springframework.ai.core.prompt.Generation
- getInputVariables() - Method in class org.springframework.ai.core.prompt.PromptTemplate
- getMessages() - Method in class org.springframework.ai.core.prompt.Prompt
- getMessageType() - Method in class org.springframework.ai.core.prompt.messages.AbstractMessage
- getMessageType() - Method in interface org.springframework.ai.core.prompt.messages.Message
- getModel() - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
- getModel() - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
- getModel() - Method in class org.springframework.ai.azure.openai.llm.AzureOpenAiClient
- getModel() - Method in class org.springframework.ai.openai.llm.OpenAiClient
- getProperties() - Method in class org.springframework.ai.core.prompt.messages.AbstractMessage
- getProperties() - Method in interface org.springframework.ai.core.prompt.messages.Message
- getProviderOutput() - Method in class org.springframework.ai.core.llm.LLMResult
-
Arbitrary LLM-provider specific output
- getRunInfo() - Method in class org.springframework.ai.core.llm.LLMResult
-
The run metadata information
- getTemperature() - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
- getTemperature() - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
- getTemperature() - Method in class org.springframework.ai.azure.openai.llm.AzureOpenAiClient
- getTemperature() - Method in class org.springframework.ai.openai.llm.OpenAiClient
- getTemplate() - Method in class org.springframework.ai.core.prompt.AbstractPromptTemplate
- getTemplate() - Method in interface org.springframework.ai.core.prompt.PromptOperations
- getTemplateFormat() - Method in class org.springframework.ai.core.prompt.AbstractPromptTemplate
- getTemplateFormat() - Method in interface org.springframework.ai.core.prompt.PromptOperations
- getText() - Method in class org.springframework.ai.core.prompt.Generation
- getValue() - Method in enum class org.springframework.ai.core.prompt.messages.MessageType
- getValue() - Method in enum class org.springframework.ai.core.prompt.TemplateFormat
L
- LlmClient - Interface in org.springframework.ai.core.llm
- LLMResult - Class in org.springframework.ai.core.llm
- LLMResult(List<List<Generation>>) - Constructor for class org.springframework.ai.core.llm.LLMResult
- LLMResult(List<List<Generation>>, Map<String, Object>) - Constructor for class org.springframework.ai.core.llm.LLMResult
- LLMResult(List<List<Generation>>, Map<String, Object>, Map<String, Object>) - Constructor for class org.springframework.ai.core.llm.LLMResult
M
- Message - Interface in org.springframework.ai.core.prompt.messages
- messageType - Variable in class org.springframework.ai.core.prompt.messages.AbstractMessage
- MessageType - Enum Class in org.springframework.ai.core.prompt.messages
- msoftSdkOpenAiClient(AzureOpenAiProperties) - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiAutoConfiguration
O
- OpenAiAutoConfiguration - Class in org.springframework.ai.autoconfigure.openai
- OpenAiAutoConfiguration(OpenAiProperties) - Constructor for class org.springframework.ai.autoconfigure.openai.OpenAiAutoConfiguration
- openAiClient(OpenAiProperties) - Method in class org.springframework.ai.autoconfigure.openai.OpenAiAutoConfiguration
- OpenAiClient - Class in org.springframework.ai.openai.llm
-
Implementation of
LlmClient
backed by an OpenAiService - OpenAiClient(OpenAiService) - Constructor for class org.springframework.ai.openai.llm.OpenAiClient
- OpenAiProperties - Class in org.springframework.ai.autoconfigure.openai
- OpenAiProperties() - Constructor for class org.springframework.ai.autoconfigure.openai.OpenAiProperties
- org.springframework.ai.autoconfigure.azure.openai - package org.springframework.ai.autoconfigure.azure.openai
- org.springframework.ai.autoconfigure.openai - package org.springframework.ai.autoconfigure.openai
- org.springframework.ai.azure.openai.llm - package org.springframework.ai.azure.openai.llm
- org.springframework.ai.core.llm - package org.springframework.ai.core.llm
- org.springframework.ai.core.prompt - package org.springframework.ai.core.prompt
- org.springframework.ai.core.prompt.messages - package org.springframework.ai.core.prompt.messages
- org.springframework.ai.openai.llm - package org.springframework.ai.openai.llm
- OutputParser - Interface in org.springframework.ai.core.prompt
P
- parseResut(List<Generation>) - Method in interface org.springframework.ai.core.prompt.OutputParser
- Prompt - Class in org.springframework.ai.core.prompt
- Prompt(String) - Constructor for class org.springframework.ai.core.prompt.Prompt
- Prompt(List<Message>) - Constructor for class org.springframework.ai.core.prompt.Prompt
- Prompt(Message) - Constructor for class org.springframework.ai.core.prompt.Prompt
- PromptOperations - Interface in org.springframework.ai.core.prompt
- PromptTemplate - Class in org.springframework.ai.core.prompt
- PromptTemplate(String) - Constructor for class org.springframework.ai.core.prompt.PromptTemplate
- properties - Variable in class org.springframework.ai.core.prompt.messages.AbstractMessage
R
- render() - Method in interface org.springframework.ai.core.prompt.PromptOperations
- render() - Method in class org.springframework.ai.core.prompt.PromptTemplate
- render(Map<String, Object>) - Method in interface org.springframework.ai.core.prompt.PromptOperations
- render(Map<String, Object>) - Method in class org.springframework.ai.core.prompt.PromptTemplate
S
- setApiKey(String) - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
- setApiKey(String) - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
- setEndpoint(String) - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
-
Sets the service endpoint that will be connected to by clients.
- setModel(String) - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
- setModel(String) - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
- setModel(String) - Method in class org.springframework.ai.azure.openai.llm.AzureOpenAiClient
- setModel(String) - Method in class org.springframework.ai.openai.llm.OpenAiClient
- setTemperature(Double) - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
- setTemperature(Double) - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
- setTemperature(Double) - Method in class org.springframework.ai.azure.openai.llm.AzureOpenAiClient
- setTemperature(Double) - Method in class org.springframework.ai.openai.llm.OpenAiClient
- ST - Enum constant in enum class org.springframework.ai.core.prompt.TemplateFormat
- SYSTEM - Enum constant in enum class org.springframework.ai.core.prompt.messages.MessageType
- SystemMessage - Class in org.springframework.ai.core.prompt.messages
-
A message of the type 'system' passed as input.
- SystemMessage(String) - Constructor for class org.springframework.ai.core.prompt.messages.SystemMessage
- SystemMessage(String, Map<String, Object>) - Constructor for class org.springframework.ai.core.prompt.messages.SystemMessage
- SystemPromptTemplate - Class in org.springframework.ai.core.prompt
- SystemPromptTemplate(String) - Constructor for class org.springframework.ai.core.prompt.SystemPromptTemplate
T
- template - Variable in class org.springframework.ai.core.prompt.AbstractPromptTemplate
- templateFormat - Variable in class org.springframework.ai.core.prompt.AbstractPromptTemplate
- TemplateFormat - Enum Class in org.springframework.ai.core.prompt
U
- USER - Enum constant in enum class org.springframework.ai.core.prompt.messages.MessageType
- UserMessage - Class in org.springframework.ai.core.prompt.messages
-
A message of the type 'user' passed as input Messages with the user role are from the end-user or developer.
- UserMessage(String) - Constructor for class org.springframework.ai.core.prompt.messages.UserMessage
- UserMessage(String, Map<String, Object>) - Constructor for class org.springframework.ai.core.prompt.messages.UserMessage
- UserPromptTemplate - Class in org.springframework.ai.core.prompt
- UserPromptTemplate(String) - Constructor for class org.springframework.ai.core.prompt.UserPromptTemplate
V
- validate(Map<String, Object>) - Method in class org.springframework.ai.core.prompt.PromptTemplate
- valueOf(String) - Static method in enum class org.springframework.ai.core.prompt.messages.MessageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.core.prompt.TemplateFormat
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.ai.core.prompt.messages.MessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.core.prompt.TemplateFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values