All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.dashscope.common.Task Maven / Gradle / Ivy

There is a newer version: 2.16.9
Show newest version
// Copyright (c) Alibaba, Inc. and its affiliates.
package com.alibaba.dashscope.common;

public enum Task {
  TEXT_GENERATION("text-generation"),
  CODE_GENERATION("code-generation"),
  MULTIMODAL_GENERATION("multimodal-generation"),
  IMAGE_SYNTHESIS("text2image"),
  TEXT_EMBEDDING("text-embedding"),
  MULTIMODAL_EMBEDDING("multimodal-embedding"),
  CHAT("chat"),
  TEXT_TO_SPEECH("tts"),
  ASR("asr"),
  NLU("nlu"),
  ;

  private final String value;

  private Task(String value) {
    this.value = value;
  }

  public String getValue() {
    return value;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy