Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractChain - Class in org.springframework.ai.chain
 
AbstractChain() - Constructor for class org.springframework.ai.chain.AbstractChain
 
AbstractConversionServiceOutputParser<T> - Class in org.springframework.ai.parser
 
AbstractConversionServiceOutputParser(DefaultConversionService) - Constructor for class org.springframework.ai.parser.AbstractConversionServiceOutputParser
 
AbstractMessage - Class in org.springframework.ai.prompt.messages
 
AbstractMessage() - Constructor for class org.springframework.ai.prompt.messages.AbstractMessage
 
AbstractMessage(MessageType, String) - Constructor for class org.springframework.ai.prompt.messages.AbstractMessage
 
AbstractMessage(MessageType, String, Map<String, Object>) - Constructor for class org.springframework.ai.prompt.messages.AbstractMessage
 
AbstractMessage(MessageType, Resource) - Constructor for class org.springframework.ai.prompt.messages.AbstractMessage
 
AbstractMessage(MessageType, Resource, Map<String, Object>) - Constructor for class org.springframework.ai.prompt.messages.AbstractMessage
 
AbstractMessageConverterOutputParser<T> - Class in org.springframework.ai.parser
 
AbstractMessageConverterOutputParser(MessageConverter) - Constructor for class org.springframework.ai.parser.AbstractMessageConverterOutputParser
 
AbstractMetadataFeatureExtractor - Class in org.springframework.ai.loader.extractor
 
AbstractMetadataFeatureExtractor() - Constructor for class org.springframework.ai.loader.extractor.AbstractMetadataFeatureExtractor
 
add(String, Object) - Method in class org.springframework.ai.prompt.PromptTemplate
 
add(List<Document>) - Method in class org.springframework.ai.vectorstore.impl.InMemoryVectorStore
 
add(List<Document>) - Method in class org.springframework.ai.vectorstore.MilvusVectorStore
 
add(List<Document>) - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore
 
add(List<Document>) - Method in class org.springframework.ai.vectorstore.PgVectorStore
 
add(List<Document>) - Method in interface org.springframework.ai.vectorstore.VectorStore
Adds Documents to the vector store.
afterPropertiesSet() - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore
 
AiClient - Interface in org.springframework.ai.client
 
AiInput - Class in org.springframework.ai.chain
 
AiInput(Map<String, Object>) - Constructor for class org.springframework.ai.chain.AiInput
 
AiOutput - Class in org.springframework.ai.chain
 
AiOutput(Map<String, Object>) - Constructor for class org.springframework.ai.chain.AiOutput
 
AiResponse - Class in org.springframework.ai.client
 
AiResponse(List<Generation>) - Constructor for class org.springframework.ai.client.AiResponse
 
AiResponse(List<Generation>, Map<String, Object>) - Constructor for class org.springframework.ai.client.AiResponse
 
AiResponse(List<Generation>, Map<String, Object>, Map<String, Object>) - Constructor for class org.springframework.ai.client.AiResponse
 
ALL - Enum constant in enum class org.springframework.ai.document.MetadataMode
 
apply(List<Document>) - Method in class org.springframework.ai.loader.extractor.AbstractMetadataFeatureExtractor
 
apply(List<Document>) - Method in class org.springframework.ai.loader.extractor.ContentFormatEnricher
Post process documents chunked from loader.
apply(List<Document>) - Method in class org.springframework.ai.loader.extractor.KeywordExtractor
 
apply(List<Document>) - Method in class org.springframework.ai.loader.extractor.SummaryExtractor
 
apply(List<Document>) - Method in class org.springframework.ai.splitter.TextSplitter
 
apply(AiInput) - Method in class org.springframework.ai.chain.AbstractChain
 
ASSISTANT - Enum constant in enum class org.springframework.ai.prompt.messages.MessageType
 
AssistantMessage - Class in org.springframework.ai.prompt.messages
Lets the model know the content was generated as a response to the user.
AssistantMessage(String) - Constructor for class org.springframework.ai.prompt.messages.AssistantMessage
 
AssistantMessage(String, Map<String, Object>) - Constructor for class org.springframework.ai.prompt.messages.AssistantMessage
 
AssistantPromptTemplate - Class in org.springframework.ai.prompt
 
AssistantPromptTemplate(String) - Constructor for class org.springframework.ai.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.client
Implementation of AiClient backed by an OpenAiService
AzureOpenAiClient(OpenAIClient) - Constructor for class org.springframework.ai.azure.openai.client.AzureOpenAiClient
 
azureOpenAiEmbeddingClient(OpenAIClient) - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiAutoConfiguration
 
AzureOpenAiEmbeddingClient - Class in org.springframework.ai.azure.openai.embedding
 
AzureOpenAiEmbeddingClient(OpenAIClient) - Constructor for class org.springframework.ai.azure.openai.embedding.AzureOpenAiEmbeddingClient
 
AzureOpenAiEmbeddingClient(OpenAIClient, String) - Constructor for class org.springframework.ai.azure.openai.embedding.AzureOpenAiEmbeddingClient
 
AzureOpenAiEmbeddingClient(OpenAIClient, String, MetadataMode) - Constructor for class org.springframework.ai.azure.openai.embedding.AzureOpenAiEmbeddingClient
 
AzureOpenAiProperties - Class in org.springframework.ai.autoconfigure.azure.openai
 
AzureOpenAiProperties() - Constructor for class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
 

B

BeanOutputParser<T> - Class in org.springframework.ai.parser
 
BeanOutputParser(Class<T>) - Constructor for class org.springframework.ai.parser.BeanOutputParser
 
BeanOutputParser(Class<T>, ObjectMapper) - Constructor for class org.springframework.ai.parser.BeanOutputParser
 
build() - Method in class org.springframework.ai.document.DefaultContentFormatter.Builder
Returns the immutable configuration.
build() - Method in class org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.Builder
Returns the immutable configuration.
build() - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jVectorStoreConfig.Builder
Returns the immutable configuration.
builder() - Static method in class org.springframework.ai.document.DefaultContentFormatter
Start building a new configuration.
builder() - Static method in class org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig
Start building a new configuration.
builder() - Static method in class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jVectorStoreConfig
Start building a new configuration.

C

Chain - Interface in org.springframework.ai.chain
 
CHARSET_METADATA - Static variable in class org.springframework.ai.loader.impl.TextLoader
 
ChatMessage - Class in org.springframework.ai.prompt.messages
 
ChatMessage(String, String) - Constructor for class org.springframework.ai.prompt.messages.ChatMessage
 
ChatMessage(String, String, Map<String, Object>) - Constructor for class org.springframework.ai.prompt.messages.ChatMessage
 
ChatMessage(MessageType, String) - Constructor for class org.springframework.ai.prompt.messages.ChatMessage
 
ChatMessage(MessageType, String, Map<String, Object>) - Constructor for class org.springframework.ai.prompt.messages.ChatMessage
 
ChatPromptTemplate - Class in org.springframework.ai.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(List<PromptTemplate>) - Constructor for class org.springframework.ai.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.prompt.messages.AbstractMessage
 
CONTENT_FIELD_NAME - Static variable in class org.springframework.ai.vectorstore.MilvusVectorStore
 
ContentFormatEnricher - Class in org.springframework.ai.loader.extractor
 
ContentFormatEnricher(ContentFormatter) - Constructor for class org.springframework.ai.loader.extractor.ContentFormatEnricher
 
ContentFormatEnricher(ContentFormatter, boolean) - Constructor for class org.springframework.ai.loader.extractor.ContentFormatEnricher
 
ContentFormatter - Interface in org.springframework.ai.document
Converts the Document text and metadata into a AI, prompt-friendly text representation.
CONTEXT_STR_PLACEHOLDER - Static variable in class org.springframework.ai.loader.extractor.KeywordExtractor
 
COSINE - Enum constant in enum class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jDistanceType
 
CosineDistance - Enum constant in enum class org.springframework.ai.vectorstore.PgVectorStore.PgDistanceType
 
cosineSimilarity(List<Double>, List<Double>) - Static method in class org.springframework.ai.vectorstore.impl.InMemoryVectorStore.EmbeddingMath
 
create() - Method in class org.springframework.ai.prompt.AssistantPromptTemplate
 
create() - Method in class org.springframework.ai.prompt.ChatPromptTemplate
 
create() - Method in class org.springframework.ai.prompt.PromptTemplate
 
create() - Method in interface org.springframework.ai.prompt.PromptTemplateActions
 
create() - Method in class org.springframework.ai.prompt.SystemPromptTemplate
 
create(Map<String, Object>) - Method in class org.springframework.ai.prompt.AssistantPromptTemplate
 
create(Map<String, Object>) - Method in class org.springframework.ai.prompt.ChatPromptTemplate
 
create(Map<String, Object>) - Method in class org.springframework.ai.prompt.PromptTemplate
 
create(Map<String, Object>) - Method in interface org.springframework.ai.prompt.PromptTemplateActions
 
create(Map<String, Object>) - Method in class org.springframework.ai.prompt.SystemPromptTemplate
 
createMessage() - Method in class org.springframework.ai.prompt.PromptTemplate
 
createMessage() - Method in interface org.springframework.ai.prompt.PromptTemplateMessageActions
 
createMessage() - Method in class org.springframework.ai.prompt.SystemPromptTemplate
 
createMessage(Map<String, Object>) - Method in class org.springframework.ai.prompt.PromptTemplate
 
createMessage(Map<String, Object>) - Method in interface org.springframework.ai.prompt.PromptTemplateMessageActions
 
createMessage(Map<String, Object>) - Method in class org.springframework.ai.prompt.SystemPromptTemplate
 
createMessages() - Method in class org.springframework.ai.prompt.ChatPromptTemplate
 
createMessages() - Method in interface org.springframework.ai.prompt.PromptTemplateChatActions
 
createMessages(Map<String, Object>) - Method in class org.springframework.ai.prompt.ChatPromptTemplate
 
createMessages(Map<String, Object>) - Method in interface org.springframework.ai.prompt.PromptTemplateChatActions
 
CURRENT - Enum constant in enum class org.springframework.ai.loader.extractor.SummaryExtractor.SummaryType
 

D

DEFAULT_COLLECTION_NAME - Static variable in class org.springframework.ai.vectorstore.MilvusVectorStore
 
DEFAULT_CONTENT_FORMATTER - Static variable in class org.springframework.ai.document.Document
 
DEFAULT_DATABASE_NAME - Static variable in class org.springframework.ai.vectorstore.MilvusVectorStore
 
DEFAULT_SUMMARY_EXTRACT_TEMPLATE - Static variable in class org.springframework.ai.loader.extractor.SummaryExtractor
 
defaultConfig() - Static method in class org.springframework.ai.document.DefaultContentFormatter
Returns the default config.
defaultConfig() - Static method in class org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig
Returns the default config.
defaultConfig() - Static method in class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jVectorStoreConfig
Returns the default config.
DefaultContentFormatter - Class in org.springframework.ai.document
 
DefaultContentFormatter.Builder - Class in org.springframework.ai.document
 
delete(List<String>) - Method in class org.springframework.ai.vectorstore.impl.InMemoryVectorStore
 
delete(List<String>) - Method in class org.springframework.ai.vectorstore.MilvusVectorStore
 
delete(List<String>) - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore
 
delete(List<String>) - Method in class org.springframework.ai.vectorstore.PgVectorStore
 
delete(List<String>) - Method in interface org.springframework.ai.vectorstore.VectorStore
 
dimensions() - Method in class org.springframework.ai.azure.openai.embedding.AzureOpenAiEmbeddingClient
 
dimensions() - Method in interface org.springframework.ai.embedding.EmbeddingClient
 
dimensions() - Method in class org.springframework.ai.openai.embedding.OpenAiEmbeddingClient
 
dimensions(EmbeddingClient, String) - Static method in class org.springframework.ai.embedding.EmbeddingUtil
Return the dimension of the requested embedding model name.
DISTANCE_FIELD_NAME - Static variable in class org.springframework.ai.vectorstore.MilvusVectorStore
 
doApply(AiInput) - Method in class org.springframework.ai.chain.AbstractChain
 
DOC_ID_FIELD_NAME - Static variable in class org.springframework.ai.vectorstore.MilvusVectorStore
 
Document - Class in org.springframework.ai.document
 
Document(String) - Constructor for class org.springframework.ai.document.Document
 
Document(String, String, Map<String, Object>) - Constructor for class org.springframework.ai.document.Document
 
Document(String, Map<String, Object>) - Constructor for class org.springframework.ai.document.Document
 
DocumentTransformer - Interface in org.springframework.ai.document
 
dotProduct(List<Double>, List<Double>) - Static method in class org.springframework.ai.vectorstore.impl.InMemoryVectorStore.EmbeddingMath
 

E

embed(String) - Method in class org.springframework.ai.azure.openai.embedding.AzureOpenAiEmbeddingClient
 
embed(String) - Method in interface org.springframework.ai.embedding.EmbeddingClient
 
embed(String) - Method in class org.springframework.ai.openai.embedding.OpenAiEmbeddingClient
 
embed(List<String>) - Method in class org.springframework.ai.azure.openai.embedding.AzureOpenAiEmbeddingClient
 
embed(List<String>) - Method in interface org.springframework.ai.embedding.EmbeddingClient
 
embed(List<String>) - Method in class org.springframework.ai.openai.embedding.OpenAiEmbeddingClient
 
embed(Document) - Method in class org.springframework.ai.azure.openai.embedding.AzureOpenAiEmbeddingClient
 
embed(Document) - Method in interface org.springframework.ai.embedding.EmbeddingClient
 
embed(Document) - Method in class org.springframework.ai.openai.embedding.OpenAiEmbeddingClient
 
EMBED - Enum constant in enum class org.springframework.ai.document.MetadataMode
 
Embedding - Class in org.springframework.ai.embedding
 
Embedding(List<Double>, Integer) - Constructor for class org.springframework.ai.embedding.Embedding
 
EMBEDDING_FIELD_NAME - Static variable in class org.springframework.ai.vectorstore.MilvusVectorStore
 
embeddingClient - Variable in class org.springframework.ai.vectorstore.impl.InMemoryVectorStore
 
EmbeddingClient - Interface in org.springframework.ai.embedding
 
embeddingDistance(String) - Method in class org.springframework.ai.vectorstore.PgVectorStore
 
EmbeddingMath() - Constructor for class org.springframework.ai.vectorstore.impl.InMemoryVectorStore.EmbeddingMath
 
EmbeddingResponse - Class in org.springframework.ai.embedding
 
EmbeddingResponse(List<Embedding>, Map<String, Object>) - Constructor for class org.springframework.ai.embedding.EmbeddingResponse
 
EmbeddingUtil - Class in org.springframework.ai.embedding
 
EmbeddingUtil() - Constructor for class org.springframework.ai.embedding.EmbeddingUtil
 
embedForResponse(List<String>) - Method in class org.springframework.ai.azure.openai.embedding.AzureOpenAiEmbeddingClient
 
embedForResponse(List<String>) - Method in interface org.springframework.ai.embedding.EmbeddingClient
 
embedForResponse(List<String>) - Method in class org.springframework.ai.openai.embedding.OpenAiEmbeddingClient
 
EmptyJsonMetadataGenerator - Class in org.springframework.ai.loader.impl
 
EmptyJsonMetadataGenerator() - Constructor for class org.springframework.ai.loader.impl.EmptyJsonMetadataGenerator
 
equals(Object) - Method in class org.springframework.ai.document.Document
 
equals(Object) - Method in class org.springframework.ai.embedding.Embedding
 
equals(Object) - Method in class org.springframework.ai.embedding.EmbeddingResponse
 
EUCLIDEAN - Enum constant in enum class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jDistanceType
 
EuclideanDistance - Enum constant in enum class org.springframework.ai.vectorstore.PgVectorStore.PgDistanceType
 
extract(List<Document>) - Method in class org.springframework.ai.loader.extractor.AbstractMetadataFeatureExtractor
Extracts metadata for a list of documents, returning a list of metadata dictionaries corresponding to each document.

F

format(Document, MetadataMode) - Method in interface org.springframework.ai.document.ContentFormatter
 
format(Document, MetadataMode) - Method in class org.springframework.ai.document.DefaultContentFormatter
 
FormatProvider - Interface in org.springframework.ai.prompt
 
from(DefaultContentFormatter) - Method in class org.springframework.ai.document.DefaultContentFormatter.Builder
 
fromValue(String) - Static method in enum class org.springframework.ai.prompt.messages.MessageType
 
fromValue(String) - Static method in enum class org.springframework.ai.prompt.TemplateFormat
 
FUNCTION - Enum constant in enum class org.springframework.ai.prompt.messages.MessageType
 
FunctionMessage - Class in org.springframework.ai.prompt.messages
 
FunctionMessage(String) - Constructor for class org.springframework.ai.prompt.messages.FunctionMessage
 
FunctionMessage(String, Map<String, Object>) - Constructor for class org.springframework.ai.prompt.messages.FunctionMessage
 
FunctionPromptTemplate - Class in org.springframework.ai.prompt
 
FunctionPromptTemplate(String) - Constructor for class org.springframework.ai.prompt.FunctionPromptTemplate
 

G

generate(String) - Method in class org.springframework.ai.azure.openai.client.AzureOpenAiClient
 
generate(String) - Method in interface org.springframework.ai.client.AiClient
 
generate(String) - Method in class org.springframework.ai.openai.client.OpenAiClient
 
generate(Map<String, Object>) - Method in class org.springframework.ai.loader.impl.EmptyJsonMetadataGenerator
 
generate(Map<String, Object>) - Method in interface org.springframework.ai.loader.impl.JsonMetadataGenerator
The input is the JSON document represented as a map, the output are the fields extracted from the input map that will be used as metadata.
generate(Prompt) - Method in class org.springframework.ai.azure.openai.client.AzureOpenAiClient
 
generate(Prompt) - Method in interface org.springframework.ai.client.AiClient
 
generate(Prompt) - Method in class org.springframework.ai.openai.client.OpenAiClient
 
Generation - Class in org.springframework.ai.client
 
Generation(String) - Constructor for class org.springframework.ai.client.Generation
 
Generation(String, Map<String, Object>) - Constructor for class org.springframework.ai.client.Generation
 
getApiKey() - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
 
getApiKey() - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
 
getBaseUrl() - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
 
getCharset() - Method in class org.springframework.ai.loader.impl.TextLoader
 
getContent() - Method in class org.springframework.ai.document.Document
 
getContent() - Method in class org.springframework.ai.prompt.messages.AbstractMessage
 
getContent() - Method in interface org.springframework.ai.prompt.messages.Message
 
getContentFormatter() - Method in class org.springframework.ai.document.Document
 
getContents() - Method in class org.springframework.ai.prompt.Prompt
 
getConversionService() - Method in class org.springframework.ai.parser.AbstractConversionServiceOutputParser
 
getCustomMetadata() - Method in class org.springframework.ai.loader.impl.TextLoader
Metadata associated with all documents created by the loader.
getData() - Method in class org.springframework.ai.embedding.EmbeddingResponse
 
getDistanceType() - Method in class org.springframework.ai.vectorstore.PgVectorStore
 
getDuration() - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
 
getEmbedding() - Method in class org.springframework.ai.document.Document
 
getEmbedding() - Method in class org.springframework.ai.embedding.Embedding
 
getEmbeddingModel() - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
 
getEmbeddingModel() - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
 
getEndpoint() - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
 
getExcludedEmbedMetadataKeys() - Method in class org.springframework.ai.document.DefaultContentFormatter
 
getExcludedInferenceMetadataKeys() - Method in class org.springframework.ai.document.DefaultContentFormatter
 
getFormat() - Method in class org.springframework.ai.parser.BeanOutputParser
 
getFormat() - Method in class org.springframework.ai.parser.ListOutputParser
 
getFormat() - Method in class org.springframework.ai.parser.MapOutputParser
 
getFormat() - Method in interface org.springframework.ai.prompt.FormatProvider
 
getFormattedContent() - Method in class org.springframework.ai.document.Document
 
getFormattedContent(ContentFormatter, MetadataMode) - Method in class org.springframework.ai.document.Document
Helper content extractor that uses and external ContentFormatter.
getFormattedContent(MetadataMode) - Method in class org.springframework.ai.document.Document
 
getGeneration() - Method in class org.springframework.ai.client.AiResponse
 
getGenerations() - Method in class org.springframework.ai.client.AiResponse
The list of generated outputs.
getId() - Method in class org.springframework.ai.document.Document
 
getIndex() - Method in class org.springframework.ai.embedding.Embedding
 
getInfo() - Method in class org.springframework.ai.client.Generation
 
getInputKeys() - Method in class org.springframework.ai.chain.AbstractChain
 
getInputKeys() - Method in interface org.springframework.ai.chain.Chain
 
getInputVariables() - Method in class org.springframework.ai.prompt.PromptTemplate
 
getK() - Method in class org.springframework.ai.retriever.impl.VectorStoreRetriever
 
getKeys() - Method in interface org.springframework.ai.memory.Memory
The keys that the memory will add to Chain inputs
getMemory() - Method in class org.springframework.ai.chain.AbstractChain
 
getMessageConverter() - Method in class org.springframework.ai.parser.AbstractMessageConverterOutputParser
 
getMessages() - Method in class org.springframework.ai.prompt.Prompt
 
getMessageType() - Method in class org.springframework.ai.prompt.messages.AbstractMessage
 
getMessageType() - Method in interface org.springframework.ai.prompt.messages.Message
 
getMessageTypeValue() - Method in class org.springframework.ai.prompt.messages.AbstractMessage
 
getMessageTypeValue() - Method in interface org.springframework.ai.prompt.messages.Message
 
getMetadata() - Method in class org.springframework.ai.document.Document
 
getMetadata() - Method in class org.springframework.ai.embedding.EmbeddingResponse
 
getMetadataSeparator() - Method in class org.springframework.ai.document.DefaultContentFormatter
 
getMetadataTemplate() - Method in class org.springframework.ai.document.DefaultContentFormatter
 
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.client.AzureOpenAiClient
 
getModel() - Method in class org.springframework.ai.openai.client.OpenAiClient
 
getObjectMapper() - Method in class org.springframework.ai.parser.BeanOutputParser
 
getOutputKeys() - Method in class org.springframework.ai.chain.AbstractChain
 
getOutputKeys() - Method in interface org.springframework.ai.chain.Chain
 
getOutputParser() - Method in class org.springframework.ai.prompt.PromptTemplate
 
getProperties() - Method in class org.springframework.ai.prompt.messages.AbstractMessage
 
getProperties() - Method in interface org.springframework.ai.prompt.messages.Message
 
getProviderOutput() - Method in class org.springframework.ai.client.AiResponse
Arbitrary model provider specific output
getRunInfo() - Method in class org.springframework.ai.client.AiResponse
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.client.AzureOpenAiClient
 
getTemperature() - Method in class org.springframework.ai.openai.client.OpenAiClient
 
getTemplate() - Method in class org.springframework.ai.prompt.PromptTemplate
 
getTemplateFormat() - Method in class org.springframework.ai.prompt.PromptTemplate
 
getText() - Method in class org.springframework.ai.client.Generation
 
getTextTemplate() - Method in class org.springframework.ai.document.DefaultContentFormatter
 
getThreshold() - Method in class org.springframework.ai.retriever.impl.VectorStoreRetriever
 
getValue() - Method in enum class org.springframework.ai.prompt.messages.MessageType
 
getValue() - Method in enum class org.springframework.ai.prompt.TemplateFormat
 
getVectorStore() - Method in class org.springframework.ai.retriever.impl.VectorStoreRetriever
 

H

hashCode() - Method in class org.springframework.ai.document.Document
 
hashCode() - Method in class org.springframework.ai.embedding.Embedding
 
hashCode() - Method in class org.springframework.ai.embedding.EmbeddingResponse
 
HNSW - Enum constant in enum class org.springframework.ai.vectorstore.PgVectorStore.PgIndexType
An HNSW index creates a multilayer graph.

I

index - Variable in enum class org.springframework.ai.vectorstore.PgVectorStore.PgDistanceType
 
INFERENCE - Enum constant in enum class org.springframework.ai.document.MetadataMode
 
InMemoryVectorStore - Class in org.springframework.ai.vectorstore.impl
 
InMemoryVectorStore(EmbeddingClient) - Constructor for class org.springframework.ai.vectorstore.impl.InMemoryVectorStore
 
InMemoryVectorStore.EmbeddingMath - Class in org.springframework.ai.vectorstore.impl
 
InMemoryVectorStore.Similarity - Class in org.springframework.ai.vectorstore.impl
 
INVALID_EMBEDDING_DIMENSION - Static variable in class org.springframework.ai.vectorstore.MilvusVectorStore
 
INVALID_EMBEDDING_DIMENSION - Static variable in class org.springframework.ai.vectorstore.PgVectorStore
 
isAutoStartup() - Method in class org.springframework.ai.vectorstore.MilvusVectorStore
 
isAutoStartup() - Method in class org.springframework.ai.vectorstore.PgVectorStore
 
isCopyContentFormatter() - Method in class org.springframework.ai.splitter.TextSplitter
 
isRunning() - Method in class org.springframework.ai.vectorstore.MilvusVectorStore
 
isRunning() - Method in class org.springframework.ai.vectorstore.PgVectorStore
 
IVFFLAT - Enum constant in enum class org.springframework.ai.vectorstore.PgVectorStore.PgIndexType
An IVFFlat index divides vectors into lists, and then searches a subset of those lists that are closest to the query vector.

J

JsonLoader - Class in org.springframework.ai.loader.impl
 
JsonLoader(Resource) - Constructor for class org.springframework.ai.loader.impl.JsonLoader
 
JsonLoader(Resource, String...) - Constructor for class org.springframework.ai.loader.impl.JsonLoader
 
JsonLoader(Resource, JsonMetadataGenerator, String...) - Constructor for class org.springframework.ai.loader.impl.JsonLoader
 
JsonMetadataGenerator - Interface in org.springframework.ai.loader.impl
 

K

KeywordExtractor - Class in org.springframework.ai.loader.extractor
Keyword extractor that uses model to extract 'excerpt_keywords' metadata field.
KeywordExtractor(AiClient, int) - Constructor for class org.springframework.ai.loader.extractor.KeywordExtractor
 
KEYWORDS_TEMPLATE - Static variable in class org.springframework.ai.loader.extractor.KeywordExtractor
 

L

ListOutputParser - Class in org.springframework.ai.parser
Parse out a List from a formatting request to convert a
ListOutputParser(DefaultConversionService) - Constructor for class org.springframework.ai.parser.ListOutputParser
 
load() - Method in class org.springframework.ai.loader.impl.JsonLoader
 
load() - Method in class org.springframework.ai.loader.impl.TextLoader
 
load() - Method in interface org.springframework.ai.loader.Loader
 
load(File) - Method in class org.springframework.ai.vectorstore.impl.SimplePersistentVectorStore
 
load(Map<String, Object>) - Method in interface org.springframework.ai.memory.Memory
Return key-value pairs given the text input to the chain
load(TextSplitter) - Method in class org.springframework.ai.loader.impl.JsonLoader
 
load(TextSplitter) - Method in class org.springframework.ai.loader.impl.TextLoader
 
load(TextSplitter) - Method in interface org.springframework.ai.loader.Loader
 
load(Resource) - Method in class org.springframework.ai.vectorstore.impl.SimplePersistentVectorStore
 
Loader - Interface in org.springframework.ai.loader
 

M

MapOutputParser - Class in org.springframework.ai.parser
Uses Jackson
MapOutputParser() - Constructor for class org.springframework.ai.parser.MapOutputParser
 
Memory - Interface in org.springframework.ai.memory
 
Message - Interface in org.springframework.ai.prompt.messages
 
messageType - Variable in class org.springframework.ai.prompt.messages.AbstractMessage
 
MessageType - Enum Class in org.springframework.ai.prompt.messages
 
METADATA_FIELD_NAME - Static variable in class org.springframework.ai.vectorstore.MilvusVectorStore
 
metadataFilter(Map<String, Object>, MetadataMode) - Method in class org.springframework.ai.document.DefaultContentFormatter
Filters the metadata by the configured MetadataMode.
MetadataMode - Enum Class in org.springframework.ai.document
 
MilvusVectorStore - Class in org.springframework.ai.vectorstore
 
MilvusVectorStore(MilvusServiceClient, EmbeddingClient) - Constructor for class org.springframework.ai.vectorstore.MilvusVectorStore
 
MilvusVectorStore(MilvusServiceClient, EmbeddingClient, MilvusVectorStore.MilvusVectorStoreConfig) - Constructor for class org.springframework.ai.vectorstore.MilvusVectorStore
 
MilvusVectorStore.MilvusVectorStoreConfig - Class in org.springframework.ai.vectorstore
Configuration for the Milvus vector store.
MilvusVectorStore.MilvusVectorStoreConfig.Builder - Class in org.springframework.ai.vectorstore
 
msoftSdkOpenAiClient(AzureOpenAiProperties) - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiAutoConfiguration
 

N

name - Variable in enum class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jDistanceType
 
NativeHints - Class in org.springframework.ai.autoconfigure
 
NativeHints() - Constructor for class org.springframework.ai.autoconfigure.NativeHints
 
NegativeInnerProduct - Enum constant in enum class org.springframework.ai.vectorstore.PgVectorStore.PgDistanceType
 
Neo4jVectorStore - Class in org.springframework.ai.vectorstore
 
Neo4jVectorStore(Driver, EmbeddingClient, Neo4jVectorStore.Neo4jVectorStoreConfig) - Constructor for class org.springframework.ai.vectorstore.Neo4jVectorStore
 
Neo4jVectorStore.Neo4jDistanceType - Enum Class in org.springframework.ai.vectorstore
An enum to configure the distance function used in the Neo4j vector index.
Neo4jVectorStore.Neo4jVectorStoreConfig - Class in org.springframework.ai.vectorstore
Configuration for the Neo4j vector store.
Neo4jVectorStore.Neo4jVectorStoreConfig.Builder - Class in org.springframework.ai.vectorstore
 
NEXT - Enum constant in enum class org.springframework.ai.loader.extractor.SummaryExtractor.SummaryType
 
NONE - Enum constant in enum class org.springframework.ai.document.MetadataMode
 
NONE - Enum constant in enum class org.springframework.ai.vectorstore.PgVectorStore.PgIndexType
Performs exact nearest neighbor search, which provides perfect recall.
norm(List<Double>) - Static method in class org.springframework.ai.vectorstore.impl.InMemoryVectorStore.EmbeddingMath
 

O

OPENAI_EMBEDDING_DIMENSION_SIZE - Static variable in class org.springframework.ai.vectorstore.MilvusVectorStore
 
OPENAI_EMBEDDING_DIMENSION_SIZE - Static variable in class org.springframework.ai.vectorstore.PgVectorStore
 
OpenAiAutoConfiguration - Class in org.springframework.ai.autoconfigure.openai
 
OpenAiAutoConfiguration(OpenAiProperties) - Constructor for class org.springframework.ai.autoconfigure.openai.OpenAiAutoConfiguration
 
openAiClient(OpenAiProperties, OpenAiService) - Method in class org.springframework.ai.autoconfigure.openai.OpenAiAutoConfiguration
 
OpenAiClient - Class in org.springframework.ai.openai.client
Implementation of AiClient backed by an OpenAiService
OpenAiClient(OpenAiService) - Constructor for class org.springframework.ai.openai.client.OpenAiClient
 
openAiEmbeddingClient(OpenAiService) - Method in class org.springframework.ai.autoconfigure.openai.OpenAiAutoConfiguration
 
OpenAiEmbeddingClient - Class in org.springframework.ai.openai.embedding
 
OpenAiEmbeddingClient(OpenAiService) - Constructor for class org.springframework.ai.openai.embedding.OpenAiEmbeddingClient
 
OpenAiEmbeddingClient(OpenAiService, String) - Constructor for class org.springframework.ai.openai.embedding.OpenAiEmbeddingClient
 
OpenAiEmbeddingClient(OpenAiService, String, MetadataMode) - Constructor for class org.springframework.ai.openai.embedding.OpenAiEmbeddingClient
 
OpenAiProperties - Class in org.springframework.ai.autoconfigure.openai
 
OpenAiProperties() - Constructor for class org.springframework.ai.autoconfigure.openai.OpenAiProperties
 
operator - Variable in enum class org.springframework.ai.vectorstore.PgVectorStore.PgDistanceType
 
org.springframework.ai.autoconfigure - package org.springframework.ai.autoconfigure
 
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.client - package org.springframework.ai.azure.openai.client
 
org.springframework.ai.azure.openai.embedding - package org.springframework.ai.azure.openai.embedding
 
org.springframework.ai.chain - package org.springframework.ai.chain
 
org.springframework.ai.client - package org.springframework.ai.client
 
org.springframework.ai.document - package org.springframework.ai.document
 
org.springframework.ai.embedding - package org.springframework.ai.embedding
 
org.springframework.ai.loader - package org.springframework.ai.loader
 
org.springframework.ai.loader.extractor - package org.springframework.ai.loader.extractor
 
org.springframework.ai.loader.impl - package org.springframework.ai.loader.impl
 
org.springframework.ai.memory - package org.springframework.ai.memory
 
org.springframework.ai.openai.client - package org.springframework.ai.openai.client
 
org.springframework.ai.openai.embedding - package org.springframework.ai.openai.embedding
 
org.springframework.ai.parser - package org.springframework.ai.parser
 
org.springframework.ai.prompt - package org.springframework.ai.prompt
 
org.springframework.ai.prompt.messages - package org.springframework.ai.prompt.messages
 
org.springframework.ai.retriever - package org.springframework.ai.retriever
 
org.springframework.ai.retriever.impl - package org.springframework.ai.retriever.impl
 
org.springframework.ai.splitter - package org.springframework.ai.splitter
 
org.springframework.ai.vectorstore - package org.springframework.ai.vectorstore
 
org.springframework.ai.vectorstore.impl - package org.springframework.ai.vectorstore.impl
 
OutputParser<T> - Interface in org.springframework.ai.parser
 

P

parse(String) - Method in class org.springframework.ai.parser.BeanOutputParser
 
parse(String) - Method in class org.springframework.ai.parser.ListOutputParser
 
parse(String) - Method in class org.springframework.ai.parser.MapOutputParser
 
parse(String) - Method in interface org.springframework.ai.parser.Parser
 
Parser<T> - Interface in org.springframework.ai.parser
 
PgVectorStore - Class in org.springframework.ai.vectorstore
Uses the "vector_store" table to store the Spring AI vector data.
PgVectorStore(JdbcTemplate, EmbeddingClient) - Constructor for class org.springframework.ai.vectorstore.PgVectorStore
 
PgVectorStore(JdbcTemplate, EmbeddingClient, int) - Constructor for class org.springframework.ai.vectorstore.PgVectorStore
 
PgVectorStore(JdbcTemplate, EmbeddingClient, int, PgVectorStore.PgDistanceType, boolean, PgVectorStore.PgIndexType) - Constructor for class org.springframework.ai.vectorstore.PgVectorStore
 
PgVectorStore.PgDistanceType - Enum Class in org.springframework.ai.vectorstore
 
PgVectorStore.PgIndexType - Enum Class in org.springframework.ai.vectorstore
By default, pgvector performs exact nearest neighbor search, which provides perfect recall.
postProcess(AiInput, AiOutput) - Method in class org.springframework.ai.chain.AbstractChain
 
postProcess(AiInput, AiOutput) - Method in interface org.springframework.ai.chain.Chain
 
preProcess(AiInput) - Method in class org.springframework.ai.chain.AbstractChain
 
preProcess(AiInput) - Method in interface org.springframework.ai.chain.Chain
 
PREVIOUS - Enum constant in enum class org.springframework.ai.loader.extractor.SummaryExtractor.SummaryType
 
Prompt - Class in org.springframework.ai.prompt
 
Prompt(String) - Constructor for class org.springframework.ai.prompt.Prompt
 
Prompt(List<Message>) - Constructor for class org.springframework.ai.prompt.Prompt
 
Prompt(Message) - Constructor for class org.springframework.ai.prompt.Prompt
 
PromptTemplate - Class in org.springframework.ai.prompt
 
PromptTemplate(String) - Constructor for class org.springframework.ai.prompt.PromptTemplate
 
PromptTemplate(String, Map<String, Object>) - Constructor for class org.springframework.ai.prompt.PromptTemplate
 
PromptTemplate(Resource) - Constructor for class org.springframework.ai.prompt.PromptTemplate
 
PromptTemplate(Resource, Map<String, Object>) - Constructor for class org.springframework.ai.prompt.PromptTemplate
 
PromptTemplateActions - Interface in org.springframework.ai.prompt
 
PromptTemplateChatActions - Interface in org.springframework.ai.prompt
 
PromptTemplateMessageActions - Interface in org.springframework.ai.prompt
 
PromptTemplateStringActions - Interface in org.springframework.ai.prompt
 
properties - Variable in class org.springframework.ai.prompt.messages.AbstractMessage
Additional options for the message to influence the response, not a model map.

R

registerHints(RuntimeHints, ClassLoader) - Method in class org.springframework.ai.autoconfigure.NativeHints
 
render() - Method in class org.springframework.ai.prompt.ChatPromptTemplate
 
render() - Method in class org.springframework.ai.prompt.PromptTemplate
 
render() - Method in interface org.springframework.ai.prompt.PromptTemplateStringActions
 
render(Map<String, Object>) - Method in class org.springframework.ai.prompt.ChatPromptTemplate
 
render(Map<String, Object>) - Method in class org.springframework.ai.prompt.PromptTemplate
 
render(Map<String, Object>) - Method in interface org.springframework.ai.prompt.PromptTemplateStringActions
 
retrieve(String) - Method in class org.springframework.ai.retriever.impl.VectorStoreRetriever
 
retrieve(String) - Method in interface org.springframework.ai.retriever.Retriever
Retrieves relevant documents however the implementation sees fit.
Retriever - Interface in org.springframework.ai.retriever
 

S

save(File) - Method in class org.springframework.ai.vectorstore.impl.SimplePersistentVectorStore
 
save(Map<String, Object>, Map<String, Object>) - Method in interface org.springframework.ai.memory.Memory
 
SEARCH_OUTPUT_FIELDS - Static variable in class org.springframework.ai.vectorstore.MilvusVectorStore
 
setApiKey(String) - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
 
setApiKey(String) - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
 
setBaseUrl(String) - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
 
setCharset(Charset) - Method in class org.springframework.ai.loader.impl.TextLoader
 
setContentFormatter(ContentFormatter) - Method in class org.springframework.ai.document.Document
Replace the document's ContentFormatter.
setCopyContentFormatter(boolean) - Method in class org.springframework.ai.splitter.TextSplitter
 
setDuration(Duration) - Method in class org.springframework.ai.autoconfigure.openai.OpenAiProperties
 
setEmbedding(List<Double>) - Method in class org.springframework.ai.document.Document
 
setEmbeddingModel(String) - Method in class org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiProperties
 
setEmbeddingModel(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.
setMemory(Memory) - Method in class org.springframework.ai.chain.AbstractChain
 
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.client.AzureOpenAiClient
 
setModel(String) - Method in class org.springframework.ai.openai.client.OpenAiClient
 
setOutputParser(OutputParser) - Method in class org.springframework.ai.prompt.PromptTemplate
 
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.client.AzureOpenAiClient
 
setTemperature(Double) - Method in class org.springframework.ai.openai.client.OpenAiClient
 
Similarity(String, double) - Constructor for class org.springframework.ai.vectorstore.impl.InMemoryVectorStore.Similarity
 
similaritySearch(String) - Method in class org.springframework.ai.vectorstore.impl.InMemoryVectorStore
 
similaritySearch(String) - Method in class org.springframework.ai.vectorstore.MilvusVectorStore
 
similaritySearch(String) - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore
 
similaritySearch(String) - Method in class org.springframework.ai.vectorstore.PgVectorStore
 
similaritySearch(String) - Method in interface org.springframework.ai.vectorstore.VectorStore
 
similaritySearch(String, int) - Method in class org.springframework.ai.vectorstore.impl.InMemoryVectorStore
 
similaritySearch(String, int) - Method in class org.springframework.ai.vectorstore.MilvusVectorStore
 
similaritySearch(String, int) - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore
 
similaritySearch(String, int) - Method in class org.springframework.ai.vectorstore.PgVectorStore
 
similaritySearch(String, int) - Method in interface org.springframework.ai.vectorstore.VectorStore
 
similaritySearch(String, int, double) - Method in class org.springframework.ai.vectorstore.impl.InMemoryVectorStore
 
similaritySearch(String, int, double) - Method in class org.springframework.ai.vectorstore.MilvusVectorStore
 
similaritySearch(String, int, double) - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore
 
similaritySearch(String, int, double) - Method in class org.springframework.ai.vectorstore.PgVectorStore
 
similaritySearch(String, int, double) - Method in interface org.springframework.ai.vectorstore.VectorStore
 
similaritySearchSqlTemplate - Variable in enum class org.springframework.ai.vectorstore.PgVectorStore.PgDistanceType
 
SimplePersistentVectorStore - Class in org.springframework.ai.vectorstore.impl
Adds simple serialization/deserialization to the data stored in the InMemoryVectorStore
SimplePersistentVectorStore(EmbeddingClient) - Constructor for class org.springframework.ai.vectorstore.impl.SimplePersistentVectorStore
 
SOURCE_METADATA - Static variable in class org.springframework.ai.loader.impl.TextLoader
 
split(String, int) - Method in class org.springframework.ai.splitter.TokenTextSplitter
 
splitText(String) - Method in class org.springframework.ai.splitter.TextSplitter
 
splitText(String) - Method in class org.springframework.ai.splitter.TokenTextSplitter
 
ST - Enum constant in enum class org.springframework.ai.prompt.TemplateFormat
 
start() - Method in class org.springframework.ai.vectorstore.MilvusVectorStore
 
start() - Method in class org.springframework.ai.vectorstore.PgVectorStore
 
stop() - Method in class org.springframework.ai.vectorstore.MilvusVectorStore
 
stop() - Method in class org.springframework.ai.vectorstore.PgVectorStore
 
store - Variable in class org.springframework.ai.vectorstore.impl.InMemoryVectorStore
 
SummaryExtractor - Class in org.springframework.ai.loader.extractor
Title extractor with adjacent sharing that uses model to extract 'section_summary', 'prev_section_summary', 'next_section_summary' metadata fields.
SummaryExtractor(AiClient, List<SummaryExtractor.SummaryType>) - Constructor for class org.springframework.ai.loader.extractor.SummaryExtractor
 
SummaryExtractor(AiClient, List<SummaryExtractor.SummaryType>, String, MetadataMode) - Constructor for class org.springframework.ai.loader.extractor.SummaryExtractor
 
SummaryExtractor.SummaryType - Enum Class in org.springframework.ai.loader.extractor
 
SYSTEM - Enum constant in enum class org.springframework.ai.prompt.messages.MessageType
 
SystemMessage - Class in org.springframework.ai.prompt.messages
A message of the type 'system' passed as input.
SystemMessage(String) - Constructor for class org.springframework.ai.prompt.messages.SystemMessage
 
SystemMessage(Resource) - Constructor for class org.springframework.ai.prompt.messages.SystemMessage
 
SystemPromptTemplate - Class in org.springframework.ai.prompt
 
SystemPromptTemplate(String) - Constructor for class org.springframework.ai.prompt.SystemPromptTemplate
 
SystemPromptTemplate(Resource) - Constructor for class org.springframework.ai.prompt.SystemPromptTemplate
 

T

template - Variable in class org.springframework.ai.prompt.PromptTemplate
 
templateFormat - Variable in class org.springframework.ai.prompt.PromptTemplate
 
TemplateFormat - Enum Class in org.springframework.ai.prompt
 
TextLoader - Class in org.springframework.ai.loader.impl
 
TextLoader(String) - Constructor for class org.springframework.ai.loader.impl.TextLoader
 
TextLoader(Resource) - Constructor for class org.springframework.ai.loader.impl.TextLoader
 
TextSplitter - Class in org.springframework.ai.splitter
 
TextSplitter() - Constructor for class org.springframework.ai.splitter.TextSplitter
 
theoOpenAiService(OpenAiProperties) - Method in class org.springframework.ai.autoconfigure.openai.OpenAiAutoConfiguration
 
TokenTextSplitter - Class in org.springframework.ai.splitter
 
TokenTextSplitter() - Constructor for class org.springframework.ai.splitter.TokenTextSplitter
 
TokenTextSplitter(boolean) - Constructor for class org.springframework.ai.splitter.TokenTextSplitter
 
toString() - Method in class org.springframework.ai.client.Generation
 
toString() - Method in class org.springframework.ai.document.Document
 
toString() - Method in class org.springframework.ai.embedding.Embedding
 
toString() - Method in class org.springframework.ai.embedding.EmbeddingResponse
 
toString() - Method in class org.springframework.ai.prompt.messages.AssistantMessage
 
toString() - Method in class org.springframework.ai.prompt.messages.FunctionMessage
 
toString() - Method in class org.springframework.ai.prompt.messages.SystemMessage
 
toString() - Method in class org.springframework.ai.prompt.messages.UserMessage
 
toString() - Method in class org.springframework.ai.prompt.Prompt
 

U

USER - Enum constant in enum class org.springframework.ai.prompt.messages.MessageType
 
UserMessage - Class in org.springframework.ai.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.prompt.messages.UserMessage
 
UserMessage(Resource) - Constructor for class org.springframework.ai.prompt.messages.UserMessage
 

V

validate(Map<String, Object>) - Method in class org.springframework.ai.prompt.PromptTemplate
 
validateInputs(Map<String, Object>) - Method in class org.springframework.ai.chain.AbstractChain
 
validateOutputs(Map<String, Object>) - Method in class org.springframework.ai.chain.AbstractChain
 
valueOf(String) - Static method in enum class org.springframework.ai.document.MetadataMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.loader.extractor.SummaryExtractor.SummaryType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.prompt.messages.MessageType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.prompt.TemplateFormat
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jDistanceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.vectorstore.PgVectorStore.PgDistanceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.vectorstore.PgVectorStore.PgIndexType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.springframework.ai.document.MetadataMode
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.loader.extractor.SummaryExtractor.SummaryType
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.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.prompt.TemplateFormat
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.vectorstore.Neo4jVectorStore.Neo4jDistanceType
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.vectorstore.PgVectorStore.PgDistanceType
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.vectorstore.PgVectorStore.PgIndexType
Returns an array containing the constants of this enum class, in the order they are declared.
VECTOR_TABLE_NAME - Static variable in class org.springframework.ai.vectorstore.PgVectorStore
 
VectorStore - Interface in org.springframework.ai.vectorstore
 
VectorStoreRetriever - Class in org.springframework.ai.retriever.impl
 
VectorStoreRetriever(VectorStore) - Constructor for class org.springframework.ai.retriever.impl.VectorStoreRetriever
 
VectorStoreRetriever(VectorStore, int) - Constructor for class org.springframework.ai.retriever.impl.VectorStoreRetriever
 
VectorStoreRetriever(VectorStore, int, double) - Constructor for class org.springframework.ai.retriever.impl.VectorStoreRetriever
 

W

withCollectionName(String) - Method in class org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.Builder
Configures the Milvus collection name to use.
withDatabaseName(String) - Method in class org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.Builder
Configures the Milvus database name to use.
withDatabaseName(String) - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jVectorStoreConfig.Builder
Configures the Neo4j database name to use.
withDistanceType(Neo4jVectorStore.Neo4jDistanceType) - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jVectorStoreConfig.Builder
Configures the distance type to store in the index and to use in queries.
withEmbeddingDimension(int) - Method in class org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.Builder
Configures the size of the embedding.
withEmbeddingDimension(int) - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jVectorStoreConfig.Builder
Configures the size of the embedding.
withEmbeddingProperty(String) - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jVectorStoreConfig.Builder
Configures the property of the node to use for storing embedding.
withExcludedEmbedMetadataKeys(String...) - Method in class org.springframework.ai.document.DefaultContentFormatter.Builder
 
withExcludedEmbedMetadataKeys(List<String>) - Method in class org.springframework.ai.document.DefaultContentFormatter.Builder
Configures the excluded Embed metadata keys to filter out from the model.
withExcludedInferenceMetadataKeys(String...) - Method in class org.springframework.ai.document.DefaultContentFormatter.Builder
 
withExcludedInferenceMetadataKeys(List<String>) - Method in class org.springframework.ai.document.DefaultContentFormatter.Builder
Configures the excluded Inference metadata keys to filter out from the model.
withIndexParameters(String) - Method in class org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.Builder
Configures the Milvus index parameters to use.
withIndexType(IndexType) - Method in class org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.Builder
Configures the Milvus index type to use.
withLabel(String) - Method in class org.springframework.ai.vectorstore.Neo4jVectorStore.Neo4jVectorStoreConfig.Builder
Configures the node label to use for storing documents.
withMetadataSeparator(String) - Method in class org.springframework.ai.document.DefaultContentFormatter.Builder
Configures the Document metadata separator.
withMetadataTemplate(String) - Method in class org.springframework.ai.document.DefaultContentFormatter.Builder
Configures the Document metadata template.
withMetricType(MetricType) - Method in class org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.Builder
Configures the Milvus metric type to use.
withTextTemplate(String) - Method in class org.springframework.ai.document.DefaultContentFormatter.Builder
Configures the Document text template.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values