Uses of Class
de.xima.fc.prompt.service.PromptExecutionException
-
Packages that use PromptExecutionException Package Description de.xima.fc.prompt.mgmt.internal de.xima.fc.prompt.mgmt.service de.xima.fc.prompt.ms.impl.service.generic_oai.service.logic Contains the internal logic needed to implement the Generic OAI prompt service handler.de.xima.fc.prompt.service Contains the API for a prompt service that abstract the details of a particular provider.de.xima.fc.prompt.service.support The prompt API is kept intentionally low-level to support a wide range of use cases. -
-
Uses of PromptExecutionException in de.xima.fc.prompt.mgmt.internal
Methods in de.xima.fc.prompt.mgmt.internal with parameters of type PromptExecutionException Modifier and Type Method Description static FcPromptTypeExecutionExceptionPromptApiExceptionFactory. newPromptTypeExecutionException(PromptExecutionException executionException, ISerializableFunction<Locale,String> localizedMessage)Creates a new instance ofFcPromptTypeExecutionExceptionwith the given cause, and localized message function.static FcPromptTypeExecutionExceptionPromptApiExceptionFactory. newPromptTypeExecutionException(String message, PromptExecutionException cause, ISerializableFunction<Locale,String> localizedMessage)Creates a new instance ofFcPromptTypeExecutionExceptionwith the given message, cause, and localized message function. -
Uses of PromptExecutionException in de.xima.fc.prompt.mgmt.service
Methods in de.xima.fc.prompt.mgmt.service that return PromptExecutionException Modifier and Type Method Description PromptExecutionExceptionFcPromptTypeExecutionException. getExecutionException()Gets the original execution exception. -
Uses of PromptExecutionException in de.xima.fc.prompt.ms.impl.service.generic_oai.service.logic
Methods in de.xima.fc.prompt.ms.impl.service.generic_oai.service.logic that throw PromptExecutionException Modifier and Type Method Description IPromptExecutionRetValGenericOaiPromptServiceHandler. executePromptQuery(IPromptExecutionParams<GenericOaiConnectionConfig,GenericOaiQueryConfig> params) -
Uses of PromptExecutionException in de.xima.fc.prompt.service
Subclasses of PromptExecutionException in de.xima.fc.prompt.service Modifier and Type Class Description classExecutionFailedExceptionException thrown when executing a prompt query could not be executed for an unknown reason.classInvalidConfigurationExceptionException thrown when executing a prompt query whose configuration is invalid.classInvalidInputParamsExceptionException thrown when executing a prompt query with input parameters that are invalid and do not match the input expected by the prompt query, e.g. because a required parameter is missing or an image file was provided when image files are not allowed.classInvalidOutputParamsExceptionException thrown when executing a prompt query and the query produces unexpected output that does not match the expected output format, e.g. because the response from the AI service was malformed or incomplete.classMissingPromptServiceExceptionException thrown when executing a prompt query for which no prompt service implementation could be found.classRateLimitExceededExceptionException thrown when executing a prompt query against a prompt service whose rate limit has been exceeded.classRequestRefusedExceptionException thrown when executing a prompt query and the prompt service refuses to process the request, e.g. because violates its usage policies or contains inappropriate content.classResponseRefusedExceptionException thrown when executing a prompt query and the system refused to accept the response from the prompt service, e.g. because violates the system's policies or contains unsafe content such as malware.classServiceUnavailableExceptionException thrown when executing a prompt query against a prompt service that is currently unavailable.classUnauthorizedPromptRequestExceptionException thrown when executing a prompt query against a prompt service and the service rejected the request due to unauthorized access.Methods in de.xima.fc.prompt.service that throw PromptExecutionException Modifier and Type Method Description IPromptExecutionRetValIPromptServiceHandler. executePromptQuery(IPromptExecutionParams<ConnectionConfig,QueryConfig> params)Executes a prompt query using the given parameters, and returns the result of the query. -
Uses of PromptExecutionException in de.xima.fc.prompt.service.support
Methods in de.xima.fc.prompt.service.support that throw PromptExecutionException Modifier and Type Method Description IPromptExecutionResolvedFilesIPromptExecutionResolveFilesBuilder. build()Resolves all files according to the current settings of this builder, and returns those files.Map<String,String>IPromptExecutionResolveTextParametersBuilder. build()Reads theprompt text parametersfrom the configured request object, and returns a map with the parameter name as the key, and the parameter value as the value.List<IPromptBinaryData>IPromptExecutionResolveFilesBuilder. buildFlat()Resolves all files according to the current settings of this builder, and returns those files as a flat list.
-