All Classes and Interfaces
Class
Description
This Microprofile REST client is used as the building block of all the API calls to OpenAI.
Ensures that the terminal event sent by OpenAI is not processed (as it is not a valid json event)
Introduce a custom logger as the stock one logs at the DEBUG level by default...
We need a custom version of the Jackson provider because reading SSE values does not work properly with
@ClientObjectMapper due to the lack of a complete context in those requestsThis method validates that the response is not empty, which happens when the API returns an error object
The point of this is to properly set the
stream value of the request
so users don't have to remember to set it manuallyImplements feature set of
OpenAiClient using Quarkus functionality