Package de.xima.fc.prompt.ms.impl.service.generic_oai.client.model
package de.xima.fc.prompt.ms.impl.service.generic_oai.client.model
Contains the models for the input and output data when interacting with generic OAI services.
- Since:
- 8.5.0
-
ClassDescriptionRepresents a question to be asked to a prompt service, consisting of a propt and optional file inputs.A builder for
AskInput.Represents a response from the "completions" endpoint of the Generic OAI service.Builder class for constructing instances ofAskOutput.Exception thrown when a bad HTTP (e.g. 404 or 500 etc.) status code is received from the server.Base class for outputs from API calls, with the ability to represent errors.Represents a file to be sent to the generic OAI endpoint or a file that was received from it.Enumeration of the possible types of errors that can occur when interacting with a generic OAI service.The output of a list models request, contains a list of available model IDs.Builder forListModelsOutput.A supplier forInputStreamthat is serializable and can throwIOException.The output of a list models request, contains a list of available model IDs.Builder forTestConnectionOutput.Contains data regarding the tokens that were used by a request to the Generic OAI API.