gpt4 book ai didi

botframework - 通过付费 channel 查找消息数量

转载 作者:行者123 更新时间:2023-12-04 05:20:14 26 4
gpt4 key购买 nike

按此 page网络聊天和 Directline 被视为付费 channel 。我想知道以下几点:

  • 我在哪里可以找到通过付费 channel 传达的付费消息的数量?我知道分析部分会显示此信息,但此信息是在 appInsights 中捕获的。如果我不使用 appsights,我将如何知道这些信息?
  • 10K 消息/月免费是单独用于网络聊天和直线还是合并?
  • 它是如何计算的?传入或传出或两者兼而有之?
  • 另外,为什么使用这些 channel 成本而不是其他 channel ?
  • 最佳答案

    我在哪里可以找到通过付费 channel 传达的付费消息的数量?
    好问题,不容易找到这个数字。
    我在 Azure 门户中找到的关于此的内容在以下部分:Cost Management + Billing > YourSubscription > Costs by service Cost by service
    作为订阅的管理员,我还查看了我的 Azure 帐户详细信息,并发现了另一个具有相同值的图表:
    Account graph
    它位于:https://account.windowsazure.com/Subscriptions
    您可以查询交易历史并获得包含日常项目的 Excel。这是更多详细信息,例如一行高级 channel 如下所示:
    Export
    正如您在最后一列中看到的(抱歉捕获的大小),按方向按 channel 有 1 行。
    10K 消息/月免费是单独用于网络聊天和直线还是合并?
    每月 10,000 条免费消息是在 Premium channel (组合)中发送的所有消息的总和。
    它是如何计算的?传入或传出或两者兼而有之?
    鉴于定价页面上的常见问题解答 ( https://azure.microsoft.com/en-us/pricing/details/bot-service ):

    What is a message?

    Bots communicate with the Bot Service channels bysending Activity objects to the channel endpoint via HTTP POST, and byActivity objects being sent to the Bot’s endpoint via HTTP POST. Eachof these Activity POSTs is a message.


    => 每侧的每个事件都计为 1(因此它是传入 + 传出)。
    因此,当您通过 2 次对 PostAsync 的调用从机器人发送消息时(例如,1 次仅包含文本,而另一个具有附件轮播),这是 2 条消息。
    而且,我认为像 conversationUpdate这样的特殊事件可以算总数。
    另外,为什么使用这些 channel 成本而不是其他 channel ?
    我猜是因为这些 channel 由 Microsoft 维护,并且他们在这些 channel 上提供 SLA?见 here

    We guarantee that 99.9% of the time the Azure Bot Service PremiumChannels will successfully receive and respond to REST API calls tothe Premium Channels API Endpoint.

    关于botframework - 通过付费 channel 查找消息数量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51102614/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com