8000 Update qnamaker.py · itsmokha/botbuilder-python@7278d14 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7278d14

Browse files
author
Emily Olshefski
authored
Update qnamaker.py
1 parent 2c150ff commit 7278d14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libraries/botbuilder-ai/botbuilder/ai/qna/qnamaker.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def get_low_score_variation(self, query_result: QueryResult) -> List[QueryResult
126126
:param query_result: User query output.
127127
:type query_result: :class:`QueryResult`
128128
:return: Filtered array of ambiguous questions.
129+
:rtype: :class:`typing.List[QueryResult]`
129130
"""
130131
return ActiveLearningUtils.get_low_score_variation(query_result)
131132

@@ -171,9 +172,9 @@ async def fill_qna_event(
171172
:param turn_context: Context object containing information for a single turn of conversation with a user.
172173
:type turn_context: :class:`botbuilder.core.TurnContext`
173174
:param telemetry_properties: Properties to add/override for the event.
174-
:type telemetry_properties: :class:`Typing.Dict`
175+
:type telemetry_properties: :class:`typing.Dict[str, str]`
175176
:param telemetry_metrics: Metrics to add/override for the event.
176-
:type telemetry_metrics: :class:`Typing.Dict`
177+
:type telemetry_metrics: :class:`typing.Dict[str, float]`
177178
:return: Event properties and metrics for the QnaMessage event for telemetry.
178179
:rtype: :class:`EventData`
179180
"""

0 commit comments

Comments
 (0)
0