Class DashScopeAgentOptions

java.lang.Object
com.alibaba.cloud.ai.dashscope.agent.DashScopeAgentOptions
All Implemented Interfaces:
org.springframework.ai.chat.prompt.ChatOptions, org.springframework.ai.model.ModelOptions

public class DashScopeAgentOptions extends Object implements org.springframework.ai.chat.prompt.ChatOptions
Since:
1.0.0-M2
Author:
yuluo, yuluo
  • Constructor Details

    • DashScopeAgentOptions

      public DashScopeAgentOptions()
  • Method Details

    • getModel

      public String getModel()
      Specified by:
      getModel in interface org.springframework.ai.chat.prompt.ChatOptions
    • getFrequencyPenalty

      public Double getFrequencyPenalty()
      Specified by:
      getFrequencyPenalty in interface org.springframework.ai.chat.prompt.ChatOptions
    • getMaxTokens

      public Integer getMaxTokens()
      Specified by:
      getMaxTokens in interface org.springframework.ai.chat.prompt.ChatOptions
    • getPresencePenalty

      public Double getPresencePenalty()
      Specified by:
      getPresencePenalty in interface org.springframework.ai.chat.prompt.ChatOptions
    • getStopSequences

      public List<String> getStopSequences()
      Specified by:
      getStopSequences in interface org.springframework.ai.chat.prompt.ChatOptions
    • getTemperature

      public Double getTemperature()
      Specified by:
      getTemperature in interface org.springframework.ai.chat.prompt.ChatOptions
    • getTopP

      public Double getTopP()
      Specified by:
      getTopP in interface org.springframework.ai.chat.prompt.ChatOptions
    • getTopK

      public Integer getTopK()
      Specified by:
      getTopK in interface org.springframework.ai.chat.prompt.ChatOptions
    • getAppId

      public String getAppId()
    • setAppId

      public void setAppId(String appId)
    • getSessionId

      public String getSessionId()
    • setSessionId

      public void setSessionId(String sessionId)
    • getMemoryId

      public String getMemoryId()
    • setMemoryId

      public void setMemoryId(String memoryId)
    • getIncrementalOutput

      public Boolean getIncrementalOutput()
    • setIncrementalOutput

      public void setIncrementalOutput(Boolean incrementalOutput)
    • getHasThoughts

      public Boolean getHasThoughts()
    • setHasThoughts

      public void setHasThoughts(Boolean hasThoughts)
    • getImages

      public List<String> getImages()
    • setImages

      public void setImages(List<String> images)
    • getBizParams

      public com.fasterxml.jackson.databind.JsonNode getBizParams()
    • setBizParams

      public void setBizParams(com.fasterxml.jackson.databind.JsonNode bizParams)
    • getRagOptions

      public DashScopeAgentRagOptions getRagOptions()
    • setRagOptions

      public void setRagOptions(DashScopeAgentRagOptions ragOptions)
    • getFlowStreamMode

      public DashScopeAgentFlowStreamMode getFlowStreamMode()
    • setFlowStreamMode

      public void setFlowStreamMode(DashScopeAgentFlowStreamMode flowStreamMode)
    • copy

      public org.springframework.ai.chat.prompt.ChatOptions copy()
      Specified by:
      copy in interface org.springframework.ai.chat.prompt.ChatOptions
    • fromOptions

      public static DashScopeAgentOptions fromOptions(DashScopeAgentOptions options)
    • builder

      public static DashScopeAgentOptions.Builder builder()
    • toString

      public String toString()
      Overrides:
      toString in class Object