You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何配置Cognigy WebchatWidget参数移除界面Powered by Cognigy AI标识

Cognigy Webchat 移除品牌标识配置方法

你需要将disableBranding: true参数添加到initWebchat函数的第二个配置对象中,与已有的userId、forceWebsockets参数同级即可。

修改后的完整代码如下:

<!DOCTYPE html>
<html>
  <head>
    <title>Parcel Sandbox</title>
    <meta charset="UTF-8" />
    <style>
      html {
        background-color: #eee;
      }
    </style>
  </head>

  <body>
    <!-- 1. Load the webchat.js bundle via a script tag -->
    <script src="https://github.com/Cognigy/WebchatWidget/releases/download/v2.20.0/webchat.js"></script>

    <!-- Initialize the Webchat towards a Cogngiy Endpoint via initWebchat() -->
    <script>
      initWebchat(
        "https://endpoint-trial.cognigy.ai/8a8b023c1da283e1c9191c471aaef8dc5090ccc8f33d6a39b00a80276754309e",
        {
          userId: "documentation-reader",
          forceWebsockets: true,
          disableBranding: true
        }
      );
    </script>
  </body>
</html>

修改完成后刷新页面,界面上的「Powered by Cognigy AI」标识就会被隐藏。

内容的提问来源于stack exchange,提问作者John Paul

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.02 06:39:03