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 PromptMetadataModifierConstructorDescriptionprotectedAzureOpenAiChatResponseMetadata(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 PromptMetadataPromptMetadata.empty()Factory method used to create emptyPromptMetadatawhen the information is not supplied by the AI provider.default PromptMetadataChatResponseMetadata.getPromptMetadata()static PromptMetadataPromptMetadata.of(Iterable<PromptMetadata.PromptFilterMetadata> iterable) Factory method used to create a newPromptMetadatacomposed of anIterableofPromptMetadata.PromptFilterMetadata.static <T> PromptMetadataPromptMetadata.of(PromptMetadata.PromptFilterMetadata... array) Factory method used to create a newPromptMetadatacomposed of an array ofPromptMetadata.PromptFilterMetadata.