Class WorkersAiLanguageModel

java.lang.Object
dev.langchain4j.model.workersai.client.AbstractWorkersAIModel
dev.langchain4j.model.workersai.WorkersAiLanguageModel
All Implemented Interfaces:
LanguageModel

public class WorkersAiLanguageModel extends AbstractWorkersAIModel implements LanguageModel
WorkerAI Language model. ...
  • Constructor Details

    • WorkersAiLanguageModel

      public WorkersAiLanguageModel(WorkersAiLanguageModel.Builder builder)
      Constructor with Builder.
      Parameters:
      builder - builder.
    • WorkersAiLanguageModel

      public WorkersAiLanguageModel(String accountId, String modelName, String apiToken)
      Constructor with Builder.
      Parameters:
      accountId - account identifier
      modelName - model name
      apiToken - api token
  • Method Details