Class AppCompletion

java.lang.Object
com.alibaba.dashscope.types.common.ResponseBase
com.alibaba.dashscope.types.apps.AppCompletion

public class AppCompletion extends ResponseBase
One Bailian application completion; the same shape serves the non-streaming response and each streaming frame (the wire makes no distinction). Envelope fields live on ResponseBase; per-model usage detail rides in Usage.getExtra() under "models" (design §3).
  • Constructor Details

    • AppCompletion

      public AppCompletion()
  • Method Details

    • getText

      public String getText()
    • getFinishReason

      public String getFinishReason()
    • getSessionId

      public String getSessionId()
    • getThoughts

      public List<Thought> getThoughts()
    • getDocReferences

      public List<DocReference> getDocReferences()
    • getWorkflowMessage

      public WorkflowMessage getWorkflowMessage()
    • getUsage

      public Usage getUsage()