Uses of Interface
org.springframework.ai.chat.metadata.PromptMetadata
Packages that use PromptMetadata
Package
Description
-
Uses of PromptMetadata in org.springframework.ai.azure.openai.metadata
Methods in org.springframework.ai.azure.openai.metadata that return PromptMetadataMethods in org.springframework.ai.azure.openai.metadata with parameters of type PromptMetadataModifier and TypeMethodDescriptionAzureOpenAiChatResponseMetadata.from
(com.azure.ai.openai.models.ChatCompletions chatCompletions, PromptMetadata promptFilterMetadata) Constructors in org.springframework.ai.azure.openai.metadata with parameters of type PromptMetadataModifierConstructorDescriptionprotected
AzureOpenAiChatResponseMetadata
(String id, AzureOpenAiUsage usage, PromptMetadata promptMetadata) -
Uses of PromptMetadata in org.springframework.ai.chat.metadata
Methods in org.springframework.ai.chat.metadata that return PromptMetadataModifier and TypeMethodDescriptionstatic PromptMetadata
PromptMetadata.empty()
Factory method used to create emptyPromptMetadata
when the information is not supplied by the AI provider.default PromptMetadata
ChatResponseMetadata.getPromptMetadata()
static PromptMetadata
PromptMetadata.of
(Iterable<PromptMetadata.PromptFilterMetadata> iterable) Factory method used to create a newPromptMetadata
composed of anIterable
ofPromptMetadata.PromptFilterMetadata
.static <T> PromptMetadata
PromptMetadata.of
(PromptMetadata.PromptFilterMetadata... array) Factory method used to create a newPromptMetadata
composed of an array ofPromptMetadata.PromptFilterMetadata
.