QnA制造商版本控制 [英] QnA maker versioning

查看:94
本文介绍了QnA制造商版本控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望使用QnA maker来简化我的聊天机器人的简单问答功能,并希望将LUIS用于更复杂的意图,例如从句子中提取实体以解决需要更多上下文的问题.

I am hoping to use QnA maker to facilitate the simple question and answer feature of my chatbot, and use LUIS for more complex intents like extracting entities from sentences for questions that require more context.

使用LUIS,可以将不同版本的应用发布到生产或登台.也可以克隆和导入版本.我也想使用QnA Maker来做到这一点.是否有可能或将来会添加的功能?

With LUIS, it's possible to publish different versions of your app to either production or staging. It's also possible to clone and import versions. I would like to also do this with QnA Maker. Is it possible or a feature that will be added in the future?

我知道可以从QnA厂商以tsv格式下载知识库,据我所知,您只能发布到1个端点

I know its possible to download a knowledge base from QnA maker in tsv format, you can only publish to 1 endpoint as far as I know

推荐答案

不,目前无法实现,目前唯一的可能性是设置多个QnAMaker服务并在您的代码之间切换.

No it's not currently possible, the only possibility currently is to setup several QnAMaker services and switch between them on your code.

您只需要1个QnAMaker对话框,但是您将不得不更改传递参数(KbId和订阅密钥)的方式:

You only need 1 QnAMaker Dialog but you will have to change the way of passing the parameters (KbId and Subscription Key):

从您的路由对话框中:

await context.Forward(new BasicQnAMakerDialog(this._qnaSubscriptionKey, this._qnaKnowledgeBaseId, this._qnaNoMatchMessage, 0.5), QnaDialogResume, incomingMessage);

以及BasicQnAMakerDialog实现的开始:

And the start of the BasicQnAMakerDialog implementation:

[Serializable]
public class BasicQnAMakerDialog : QnAMakerDialog
{
    public BasicQnAMakerDialog(string subscriptionKey, string kbId, string noMatchString, double minScore) : base(new QnAMakerService(new QnAMakerAttribute(subscriptionKey, kbId, noMatchString, minScore))) { }

这篇关于QnA制造商版本控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆