-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…4311) * Fix bad formatting of metadata object * Add unit test for metadata
- Loading branch information
1 parent
70990c5
commit 403b4f7
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
libraries/botbuilder-ai/tests/TestData/LanguageService/returns_answer_with_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"answers": [ | ||
{ | ||
"confidenceScore": 0.4854820341616869, | ||
"Id": 20, | ||
"answer": "They're frolicking merrily in the verdant garden!", | ||
"source": "Custom Editorial", | ||
"questions": [ | ||
"where are the unicorns?" | ||
], | ||
"metadata": { | ||
"title": "mythical unicorns" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters