Package io.quarkiverse.langchain4j.openai
package io.quarkiverse.langchain4j.openai
-
ClassDescriptionThis Microprofile REST client is used as the building block of all the API calls to OpenAI.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 does two things:The point of this is to properly set thestream
value of the request so users don't have to remember to set it manuallyImplements feature set ofOpenAiClient
using Quarkus functionality