Uses of Class
de.xima.fc.prompt.service.PromptExecutionException
Packages that use PromptExecutionException
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 PromptExecutionException in de.xima.fc.prompt.mgmt.internal
Methods in de.xima.fc.prompt.mgmt.internal with parameters of type PromptExecutionExceptionModifier and TypeMethodDescriptionPromptApiExceptionFactory.newPromptTypeExecutionException(PromptExecutionException executionException, ISerializableFunction<Locale, String> localizedMessage) Creates a new instance ofFcPromptTypeExecutionExceptionwith the given cause, and localized message function.PromptApiExceptionFactory.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 PromptExecutionExceptionModifier and TypeMethodDescriptionFcPromptTypeExecutionException.getExecutionException()Gets the original execution exception. -
Uses of PromptExecutionException in de.xima.fc.prompt.service
Subclasses of PromptExecutionException in de.xima.fc.prompt.serviceModifier and TypeClassDescriptionfinal classException thrown when executing a prompt query could not be executed for an unknown reason.final classException thrown when executing a prompt query whose configuration is invalid.final classException 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.final classException 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.final classException thrown when executing a prompt query for which no prompt service implementation could be found.final classException thrown when executing a prompt query against a prompt service whose rate limit has been exceeded.final classException 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.final classException 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.final classException thrown when executing a prompt query against a prompt service that is currently unavailable.final classException 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 PromptExecutionExceptionModifier and TypeMethodDescriptionIPromptServiceHandler.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 PromptExecutionExceptionModifier and TypeMethodDescriptionIPromptExecutionResolveFilesBuilder.build()Resolves all files according to the current settings of this builder, and returns those files.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.IPromptExecutionResolveFilesBuilder.buildFlat()Resolves all files according to the current settings of this builder, and returns those files as a flat list.