Package io.quarkiverse.langchain4j.ollama
package io.quarkiverse.langchain4j.ollama
-
ClassDescriptionThis Microprofile REST client is used as the building block of all the API calls to HuggingFace.Introduce a custom logger as the stock one logs at the DEBUG level by default...This is needed because for some reason Vert.x is not giving us the entire content of the last chunk and this results in a json parsing exception.The point of this is to properly set the
streamvalue of the request so users don't have to remember to set it manuallyUse to have streaming feature on models used trough Ollama.Builder for Ollama configuration.request options in completion/embedding API