你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

QuestionAnsweringModelFactory 类

定义

只读模型的模型工厂。

public static class QuestionAnsweringModelFactory
type QuestionAnsweringModelFactory = class
Public Class QuestionAnsweringModelFactory
继承
QuestionAnsweringModelFactory

方法

AnswersFromTextResult(IEnumerable<TextAnswer>)

初始化 AnswersFromTextResult 的新实例。

AnswerSpan(String, Nullable<Double>, Nullable<Int32>, Nullable<Int32>)

初始化 AnswerSpan 的新实例。

AnswersResult(IEnumerable<KnowledgeBaseAnswer>)

初始化 AnswersResult 的新实例。

KnowledgeBaseAnswer(IEnumerable<String>, String, Nullable<Double>, Nullable<Int32>, String, IReadOnlyDictionary<String,String>, KnowledgeBaseAnswerDialog, AnswerSpan)

初始化 KnowledgeBaseAnswer 的新实例。

KnowledgeBaseAnswerDialog(Nullable<Boolean>, IEnumerable<KnowledgeBaseAnswerPrompt>)

初始化 KnowledgeBaseAnswerDialog 的新实例。

KnowledgeBaseAnswerPrompt(Nullable<Int32>, Nullable<Int32>, String)

初始化 KnowledgeBaseAnswerPrompt 的新实例。

TextAnswer(String, Nullable<Double>, String, AnswerSpan, Nullable<Int32>, Nullable<Int32>)

初始化 TextAnswer 的新实例。

适用于