Package io.quarkiverse.langchain4j.openai.common
package io.quarkiverse.langchain4j.openai.common
-
ClassDescriptionThis 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...This method validates that the response is not empty, which happens when the API returns an error objectThe 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 ofOpenAiClient
using Quarkus functionality