We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1a7d0a commit 16fab74Copy full SHA for 16fab74
dialogflow/detect.v2beta1.js
@@ -420,7 +420,7 @@ async function detectIntentKnowledge(
420
console.log(`Confidence: ${result.intentDetectionConfidence}`);
421
console.log(`Query Result: ${result.fulfillmentText}`);
422
const answers = result.knowledgeAnswers.answers;
423
- console.log(`There are ${answers.length} anwser(s);`);
+ console.log(`There are ${answers.length} answer(s);`);
424
answers.forEach(a => {
425
console.log(` answer: ${a.answer}`);
426
console.log(` confidence: ${a.matchConfidence}`);
@@ -697,7 +697,7 @@ const cli = require(`yargs`)
697
)
698
.command(
699
`detectIntentKnowledge`,
700
- `Detects anwsers from knowledge base queries`,
+ `Detects answers from knowledge base queries`,
701
{},
702
opts =>
703
detectIntentKnowledge(
0 commit comments