10000 Ref comment fixes botbuilder-ai · ToucanToco/botbuilder-python@e88913b · GitHub
[go: up one dir, main page]

Skip to content

Commit e88913b

Browse files
author
Emily Olshefski
committed
Ref comment fixes botbuilder-ai
1 parent c1e98de commit e88913b

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

libraries/botbuilder-ai/botbuilder/ai/luis/luis_recognizer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def top_intent(
8080
:param default_intent: Intent name to return should a top intent be found, defaults to None.
8181
:type default_intent: str, optional
8282
:param min_score: Minimum score needed for an intent to be considered as a top intent. If all intents in
83-
the set are below this threshold then the `defaultIntent` will be returned, defaults to 0.0.
83+
the set are below this threshold then the `defaultIntent` will be returned, defaults to 0.0.
8484
:type min_score: float, optional
8585
:raises TypeError:
8686
:return: The top scoring intent name.
@@ -191,7 +191,7 @@ def fill_luis_event_properties(
191191
defaults to None
192192
:param telemetry_properties: :class:`typing.Dict[str, str]`, optional
193193
:return: A dictionary that is sent as "Properties" to :func:`botbuilder.core.BotTelemetryClient.track_event`
194-
method for the BotMessageSend event.
194+
method for the BotMessageSend event.
195195
:rtype: `typing.Dict[str, str]`
196196
"""
197197

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,16 @@ async def fill_qna_event(
166166
"""
167167
Fills the event properties and metrics for the QnaMessage event for telemetry.
168168
169-
:return: A tuple of event data properties and metrics that will be sent to the
170-
:func:`botbuilder.core.BotTelemetryClient.track_event` method for the QnAMessage event.
171-
The properties and metrics returned the standard properties logged
172-
with any properties passed from the :func:`get_answers` method.
169+
:param query_results: QnA service results.
170+
:type quert_results: :class:`QueryResult`
171+
:param turn_context: Context object containing information for a single turn of conversation with a user.
172+
:type turn_context: :class:`botbuilder.core.TurnContext`
173+
:param telemetry_properties: Properties to add/override for the event.
174+
:type telemetry_properties: :class:`Typing.Dict`
175+
:param telemetry_metrics: Metrics to add/override for the event.
176+
:type telemetry_metrics: :class:`Typing.Dict`
173177
:return: Event properties and metrics for the QnaMessage event for telemetry.
174178
:rtype: :class:`EventData`
175-
------
176-
EventData
177179
"""
178180

179181
properties: Dict[str, str] = dict()

0 commit comments

Comments
 (0)
0