Class SendChatMessageRequest

    • Constructor Detail

      • SendChatMessageRequest

        public SendChatMessageRequest()
      • SendChatMessageRequest

        public SendChatMessageRequest​(SendChatMessageRequest source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getSessionId

        public String getSessionId()
        Get 会话id,标识一组对话的唯一id,id变更则重置会话
        Returns:
        SessionId 会话id,标识一组对话的唯一id,id变更则重置会话
      • setSessionId

        public void setSessionId​(String SessionId)
        Set 会话id,标识一组对话的唯一id,id变更则重置会话
        Parameters:
        SessionId - 会话id,标识一组对话的唯一id,id变更则重置会话
      • getQuestion

        public String getQuestion()
        Get 问题描述
        Returns:
        Question 问题描述
      • setQuestion

        public void setQuestion​(String Question)
        Set 问题描述
        Parameters:
        Question - 问题描述
      • getModelVersion

        public String getModelVersion()
        Get 会话模型版本。 多行业多场景大模型:填写 tj_llm_clm-v1。 多行业客服大模型:填写demo_big_model_version_id。 默认为demo_big_model_version_id,即多行业客服大模型。
        Returns:
        ModelVersion 会话模型版本。 多行业多场景大模型:填写 tj_llm_clm-v1。 多行业客服大模型:填写demo_big_model_version_id。 默认为demo_big_model_version_id,即多行业客服大模型。
      • setModelVersion

        public void setModelVersion​(String ModelVersion)
        Set 会话模型版本。 多行业多场景大模型:填写 tj_llm_clm-v1。 多行业客服大模型:填写demo_big_model_version_id。 默认为demo_big_model_version_id,即多行业客服大模型。
        Parameters:
        ModelVersion - 会话模型版本。 多行业多场景大模型:填写 tj_llm_clm-v1。 多行业客服大模型:填写demo_big_model_version_id。 默认为demo_big_model_version_id,即多行业客服大模型。
      • getMode

        public String getMode()
        Get 使用模式(仅多场景客服大模型支持)。 通用问答:填写General。 搜索增强问答:填写WithSearchPlugin。 默认为General,即通用问答。
        Returns:
        Mode 使用模式(仅多场景客服大模型支持)。 通用问答:填写General。 搜索增强问答:填写WithSearchPlugin。 默认为General,即通用问答。
      • setMode

        public void setMode​(String Mode)
        Set 使用模式(仅多场景客服大模型支持)。 通用问答:填写General。 搜索增强问答:填写WithSearchPlugin。 默认为General,即通用问答。
        Parameters:
        Mode - 使用模式(仅多场景客服大模型支持)。 通用问答:填写General。 搜索增强问答:填写WithSearchPlugin。 默认为General,即通用问答。
      • getSearchSource

        public String getSearchSource()
        Get 搜索来源。仅当Mode为WithSearchPlugin时生效。 预置文稿库:填写Preset。自定义:填写Custom。
        Returns:
        SearchSource 搜索来源。仅当Mode为WithSearchPlugin时生效。 预置文稿库:填写Preset。自定义:填写Custom。
      • setSearchSource

        public void setSearchSource​(String SearchSource)
        Set 搜索来源。仅当Mode为WithSearchPlugin时生效。 预置文稿库:填写Preset。自定义:填写Custom。
        Parameters:
        SearchSource - 搜索来源。仅当Mode为WithSearchPlugin时生效。 预置文稿库:填写Preset。自定义:填写Custom。