次の方法で共有


QuestionAnsweringModelFactory.KnowledgeBaseAnswerDialog メソッド

定義

KnowledgeBaseAnswerDialog の新しいインスタンスを初期化します。

public static Azure.AI.Language.QuestionAnswering.KnowledgeBaseAnswerDialog KnowledgeBaseAnswerDialog (bool? isContextOnly = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.QuestionAnswering.KnowledgeBaseAnswerPrompt> prompts = default);
static member KnowledgeBaseAnswerDialog : Nullable<bool> * seq<Azure.AI.Language.QuestionAnswering.KnowledgeBaseAnswerPrompt> -> Azure.AI.Language.QuestionAnswering.KnowledgeBaseAnswerDialog
Public Shared Function KnowledgeBaseAnswerDialog (Optional isContextOnly As Nullable(Of Boolean) = Nothing, Optional prompts As IEnumerable(Of KnowledgeBaseAnswerPrompt) = Nothing) As KnowledgeBaseAnswerDialog

パラメーター

isContextOnly
Nullable<Boolean>

プロンプトが前の質問にのみ関連するかどうかをマークする。 true の場合、コンテキストのないクエリの検索結果としてこの QnA を含めないでください。それ以外の場合、false の場合はコンテキストが無視され、この QnA が検索結果に含まれます。

prompts
IEnumerable<KnowledgeBaseAnswerPrompt>

回答に関連付けられているプロンプトの一覧。

戻り値

モック作成用の新しい KnowledgeBaseAnswerDialog インスタンス。

適用対象