Uses of Class
de.xima.fc.prompt.service.SerializedPromptConfig.Builder
Packages that use SerializedPromptConfig.Builder
Package
Description
Contains the API for a prompt service that abstract the details of a particular provider.
-
Uses of SerializedPromptConfig.Builder in de.xima.fc.prompt.service
Methods in de.xima.fc.prompt.service that return SerializedPromptConfig.BuilderModifier and TypeMethodDescriptionSerializedPromptConfig.Builder.addBinaryData(String key, IPromptBinaryData value) Adds a single binary data object to the existing binary data map for the specified key.SerializedPromptConfig.Builder.addBinaryData(String key, List<IPromptBinaryData> values) Adds a list of binary data objects to the existing binary data map for the specified key.SerializedPromptConfig.Builder.addBinaryData(Map<String, List<IPromptBinaryData>> binaryData) Adds binary data to the existing binary data map.SerializedPromptConfig.Builder.addTextData(String key, String value) Adds a single text value to the existing text data map for the specified key.SerializedPromptConfig.Builder.addTextData(String key, List<String> value) Adds a list of text values to the existing text data map for the specified key.SerializedPromptConfig.Builder.addTextData(Map<String, List<String>> textData) Adds text data to the existing text data map.SerializedPromptConfig.Builder.binaryData(String key, IPromptBinaryData value) Sets the binary data for the specified key to a single value.SerializedPromptConfig.Builder.binaryData(String key, List<IPromptBinaryData> values) Sets the binary data for the specified key to a list of values.SerializedPromptConfig.Builder.binaryData(Map<String, List<IPromptBinaryData>> binaryData) Clears all existing binary data and replaces it with the provided binary data.SerializedPromptConfig.builder()Creates a new builder for configuring aSerializedPromptConfiginstance.SerializedPromptConfig.derive()SerializedPromptConfig.serializedPromptConfigBuilder()Creates a new builder for configuring aSerializedPromptConfiginstance.Sets the text data for the specified key to a single value.Sets the text data for the specified key to a list of values.Clears all existing text data and replaces it with the provided text data.