Uses of Class
de.xima.fc.prompt.service.SerializedPromptConfig
Packages that use SerializedPromptConfig
Package
Description
Contains the API for a prompt service that abstract the details of a particular provider.
The prompt API is kept intentionally low-level to support a wide range of use cases.
-
Uses of SerializedPromptConfig in de.xima.fc.prompt.mgmt.service
Methods in de.xima.fc.prompt.mgmt.service that return SerializedPromptConfigModifier and TypeMethodDescriptionIPromptManagementService.readConnectionConfig(IUser user, PromptObjectIdentifier connection) Reads the raw, non-deserialized configuration of the prompt connection with the given ID.IPromptManagementService.readQueryConfig(IUser user, PromptObjectIdentifier query) Reads the raw, non-deserialized configuration of the prompt query with the given UUID.Methods in de.xima.fc.prompt.mgmt.service with parameters of type SerializedPromptConfigModifier and TypeMethodDescription<ConnectionConfig, QueryConfig>
IPromptComputeQueryInputRetValIPromptTypeService.computeQueryInput(IPromptServiceType<ConnectionConfig, QueryConfig> type, SerializedPromptConfig connectionConfig, SerializedPromptConfig queryConfig) Computes the descriptors for the input parameters of the given prompt query, using the given configuration.<ConnectionConfig, QueryConfig>
IPromptComputeQueryOutputRetValIPromptTypeService.computeQueryOutput(IPromptServiceType<ConnectionConfig, QueryConfig> type, SerializedPromptConfig connectionConfig, SerializedPromptConfig queryConfig) Computes the descriptors for the output parameters of the given prompt query, using the given configuration.<ConnectionConfig>
ConnectionConfigIPromptTypeService.deserializePromptConnectionConfig(IPromptServiceType<ConnectionConfig, ?> type, SerializedPromptConfig config) Deserializes the given raw data into the model class expected by that connection's type.<QueryConfig>
QueryConfigIPromptTypeService.deserializePromptQueryConfig(IPromptServiceType<?, QueryConfig> type, SerializedPromptConfig config) Deserializes the given raw data into the model class expected by that query's type.<ConnectionConfig, QueryConfig>
IExecutePromptQueryRetValIPromptTypeService.executeQuery(IPromptServiceType<ConnectionConfig, QueryConfig> type, IExecutePromptQueryParams params, SerializedPromptConfig connectionConfig, SerializedPromptConfig queryConfig) Computes the descriptors for the input parameters of the given prompt query.<ConnectionConfig>
ITestPromptConnectionRetValIPromptTypeService.testConnection(IPromptServiceType<ConnectionConfig, ?> type, ITestPromptConnectionParams params, SerializedPromptConfig connectionConfig) Tests the connection to a prompt service, given a configured prompt connection. -
Uses of SerializedPromptConfig in de.xima.fc.prompt.service
Methods in de.xima.fc.prompt.service that return SerializedPromptConfigModifier and TypeMethodDescriptionSerializedPromptConfig.Builder.build()Builds a newSerializedPromptConfiginstance with the current state of this builder.static SerializedPromptConfigSerializedPromptConfig.empty()Returns an empty serialized prompt configuration with no data.IPromptServiceHandler.serializeConnectionConfig(ConnectionConfig config) Serializes the configuration of a prompt connection into a format that can be stored in a data storage, such as a database or a file.IPromptServiceHandler.serializeQueryConfig(QueryConfig config) Serializes the configuration of a prompt query into a format that can be stored in a data storage, such as a database or a file.Methods in de.xima.fc.prompt.service with parameters of type SerializedPromptConfigModifier and TypeMethodDescriptionIPromptServiceHandler.deserializeConnectionConfig(SerializedPromptConfig serializedConfig) Deserializes a serialized prompt connection configuration into aObjectobject, as previously serialized byIPromptServiceHandler.serializeConnectionConfig(Object).IPromptServiceHandler.deserializeQueryConfig(SerializedPromptConfig serializedConfig) Deserializes a serialized prompt query configuration into aQueryConfigobject, as previously serialized byIPromptServiceHandler.serializeQueryConfig(Object). -
Uses of SerializedPromptConfig in de.xima.fc.prompt.service.support
Methods in de.xima.fc.prompt.service.support that return SerializedPromptConfigModifier and TypeMethodDescriptiondefault SerializedPromptConfigPromptServiceHandlerMixin_JsonConfig.serializeConnectionConfig(ConnectionConfig connectionConfig) default SerializedPromptConfigPromptServiceHandlerMixin_JsonConfig.serializeQueryConfig(QueryConfig config) default SerializedPromptConfigPromptServiceHandlerMixin_JsonConfig.updateConnectionConfig(SerializedPromptConfig config, String storedVersion, String currentVersion) Updates the serialized prompt connection before it gets deserialized into the model.default SerializedPromptConfigPromptServiceHandlerMixin_JsonConfig.updateQueryConfig(SerializedPromptConfig config, String storedVersion, String currentVersion) Updates the serialized prompt query configuration before it gets deserialized into the model.Methods in de.xima.fc.prompt.service.support with parameters of type SerializedPromptConfigModifier and TypeMethodDescriptiondefault ConnectionConfigPromptServiceHandlerMixin_JsonConfig.deserializeConnectionConfig(SerializedPromptConfig serializedConfig) default QueryConfigPromptServiceHandlerMixin_JsonConfig.deserializeQueryConfig(SerializedPromptConfig serialized) default SerializedPromptConfigPromptServiceHandlerMixin_JsonConfig.updateConnectionConfig(SerializedPromptConfig config, String storedVersion, String currentVersion) Updates the serialized prompt connection before it gets deserialized into the model.default SerializedPromptConfigPromptServiceHandlerMixin_JsonConfig.updateQueryConfig(SerializedPromptConfig config, String storedVersion, String currentVersion) Updates the serialized prompt query configuration before it gets deserialized into the model. -
Uses of SerializedPromptConfig in de.xima.fc.prompt.service.support.internal
Methods in de.xima.fc.prompt.service.support.internal that return SerializedPromptConfigModifier and TypeMethodDescription<Config> SerializedPromptConfigPromptConfigJsonMarshaller.serializeConfig(Config config, Class<Config> configClass, String version, IPromptConfigProcessor<Config> preProcessor) Serializes a prompt configuration object from the model class used by the prompt service implementation into aSerializedPromptConfig.IPromptConfigUpdater.update(SerializedPromptConfig config, String storedVersion, String currentVersion) Methods in de.xima.fc.prompt.service.support.internal with parameters of type SerializedPromptConfigModifier and TypeMethodDescription<Config> ConfigPromptConfigJsonMarshaller.deserializeConfig(SerializedPromptConfig config, String version, Class<Config> configClass, Supplier<Config> newEmptyConnectionConfig, IPromptConfigUpdater updater, IPromptConfigProcessor<Config> postProcessor) Deserializes a prompt configuration object from aSerializedPromptConfiginto the model class as needed by the prompt service implementation.IPromptConfigUpdater.update(SerializedPromptConfig config, String storedVersion, String currentVersion)