Skip to main content

MariTalk

Bundles 包含支援與 AgentBuilder 特定第三方整合的自訂Components。

此頁面描述 MariTalk bundle 中可用的Components。

如需詳細資訊,請參閱 MariTalk 文件

MariTalk 文字產生

MariTalk Components使用 MariTalk LLM 產生文字。

它可以輸出 Model Response (Message) 或 Language Model (LanguageModel)。

當您想要將 MariTalk 模型用作另一個 LLM 驅動Components的 LLM 時,請使用 Language Model 輸出,例如 AgentSmart Function Components。

如需詳細資訊,請參閱語言模型Components

MariTalk 文字產生參數

某些參數在視覺編輯器中預設為隱藏。 您可以透過 Components的標頭選單 中的 Controls 修改所有參數。

NameTypeDescription
max_tokensInteger輸入參數。要產生的最大 token 數。設定為 0 表示無限制 token。預設值:512
model_nameString輸入參數。要使用的 MariTalk 模型名稱。選項:sabia-2-smallsabia-2-medium。預設值:sabia-2-small
api_keySecretString輸入參數。用於驗證的 MariTalk API 金鑰。
temperatureFloat輸入參數。控制輸出中的隨機性。範圍:[0.0, 1.0]。預設值:0.5
endpoint_urlString輸入參數。MariTalk API 端點。預設值:https://api.maritalk.com
Search