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

com.alibaba.dashscope.common.Role 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 Role {

  /** The human side. */
  USER("user"),
  ASSISTANT("assistant"),
  /** The model side. */
  BOT("bot"),
  SYSTEM("system"),
  ATTACHMENT("attachment"),
  TOOL("tool"),
  ;

  private final String value;

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

  public String getValue() {
    return value;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy