Uses of Interface
org.springframework.ai.chat.metadata.PromptMetadata
Packages that use 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.ChatResponseMetadata.getPromptMetadata()Returns the prompt metadata gathered by the AI during request processing.static PromptMetadataPromptMetadata.of(Iterable<PromptMetadata.PromptFilterMetadata> iterable) Factory method used to create a newPromptMetadatacomposed of anIterableofPromptMetadata.PromptFilterMetadata.static PromptMetadataPromptMetadata.of(PromptMetadata.PromptFilterMetadata... array) Factory method used to create a newPromptMetadatacomposed of an array ofPromptMetadata.PromptFilterMetadata.Methods in org.springframework.ai.chat.metadata with parameters of type PromptMetadataModifier and TypeMethodDescriptionChatResponseMetadata.Builder.promptMetadata(PromptMetadata promptMetadata)