Class WorkersAiClient

java.lang.Object
dev.langchain4j.model.workersai.client.WorkersAiClient

public class WorkersAiClient extends Object
Low level client to interact with the WorkerAI API.
  • Constructor Details

    • WorkersAiClient

      public WorkersAiClient()
      Constructor.
  • Method Details

    • createService

      public static WorkersAiApi createService(String apiToken)
      Initialization of okHTTP.
      Parameters:
      apiToken - authorization token
      Returns:
      api