microsoft-agents-hosting-dialogs 1.6.1.dev6__tar.gz → 1.6.1.dev9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {microsoft_agents_hosting_dialogs-1.6.1.dev6/microsoft_agents_hosting_dialogs.egg-info → microsoft_agents_hosting_dialogs-1.6.1.dev9}/PKG-INFO +2 -2
- microsoft_agents_hosting_dialogs-1.6.1.dev9/VERSION.txt +1 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/channel.py +6 -48
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9/microsoft_agents_hosting_dialogs.egg-info}/PKG-INFO +2 -2
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents_hosting_dialogs.egg-info/requires.txt +1 -1
- microsoft_agents_hosting_dialogs-1.6.1.dev6/VERSION.txt +0 -1
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/LICENSE +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/MANIFEST.in +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/_component_registration.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/_telemetry_client.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/choice_factory.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/choice_recognizer.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/find.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/models/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/models/choice.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/models/choice_factory_options.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/models/find_choices_options.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/models/find_values_options.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/models/found_choice.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/models/found_value.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/models/list_style.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/models/model_result.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/models/sorted_value.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/models/token.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/choices/tokenizer.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/component_dialog.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/dialog.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/dialog_component_registration.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/dialog_container.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/dialog_context.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/dialog_extensions.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/dialog_manager.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/dialog_manager_result.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/dialog_set.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/dialog_state.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/component_memory_scopes_base.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/component_path_resolvers_base.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/dialog_path.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/dialog_state_manager.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/dialog_state_manager_configuration.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/path_resolver_base.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/path_resolvers/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/path_resolvers/alias_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/path_resolvers/at_at_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/path_resolvers/at_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/path_resolvers/dollar_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/path_resolvers/hash_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/path_resolvers/percent_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scope_path.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/bot_state_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/class_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/conversation_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/dialog_class_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/dialog_context_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/dialog_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/settings_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/this_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/turn_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/memory/scopes/user_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/models/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/models/dialog_event.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/models/dialog_events.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/models/dialog_instance.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/models/dialog_reason.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/models/dialog_turn_result.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/models/dialog_turn_status.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/object_path.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/persisted_state.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/persisted_state_keys.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/activity_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/attachment_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/choice_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/confirm_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/datetime_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/datetime_resolution.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/number_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/oauth_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/oauth_prompt_settings.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/prompt_culture_models.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/prompt_options.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/prompt_recognizer_result.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/prompt_validator.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/prompt_validator_context.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/prompts/text_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/py.typed +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/waterfall_dialog.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents/hosting/dialogs/waterfall_step_context.py +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents_hosting_dialogs.egg-info/SOURCES.txt +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents_hosting_dialogs.egg-info/dependency_links.txt +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/microsoft_agents_hosting_dialogs.egg-info/top_level.txt +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/pyproject.toml +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/readme.md +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/setup.cfg +0 -0
- {microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-dialogs
|
|
3
|
-
Version: 1.6.1.
|
|
3
|
+
Version: 1.6.1.dev9
|
|
4
4
|
Summary: Dialog system for Microsoft Agents (waterfall dialogs, prompts, choices)
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
@@ -15,7 +15,7 @@ Classifier: Operating System :: OS Independent
|
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: microsoft-agents-hosting-core==1.6.1.
|
|
18
|
+
Requires-Dist: microsoft-agents-hosting-core==1.6.1.dev9
|
|
19
19
|
Requires-Dist: recognizers-text-number>=1.0.1a0
|
|
20
20
|
Requires-Dist: recognizers-text-choice>=1.0.1a0
|
|
21
21
|
Requires-Dist: recognizers-text-date-time>=1.0.1a0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.6.1.dev9
|
|
@@ -22,28 +22,7 @@ class Channel:
|
|
|
22
22
|
bool: True if the Channel supports the button_cnt total Suggested Actions, False if the Channel does not
|
|
23
23
|
support that number of Suggested Actions.
|
|
24
24
|
"""
|
|
25
|
-
|
|
26
|
-
channel_id = channel_id.value
|
|
27
|
-
|
|
28
|
-
max_actions = {
|
|
29
|
-
# https://developers.facebook.com/docs/messenger-platform/send-messages/quick-replies
|
|
30
|
-
Channels.facebook.value: 10,
|
|
31
|
-
Channels.skype.value: 10,
|
|
32
|
-
# https://developers.line.biz/en/reference/messaging-api/#items-object
|
|
33
|
-
Channels.line.value: 13,
|
|
34
|
-
# https://dev.kik.com/#/docs/messaging#text-response-object
|
|
35
|
-
Channels.kik.value: 20,
|
|
36
|
-
Channels.telegram.value: 100,
|
|
37
|
-
Channels.emulator.value: 100,
|
|
38
|
-
Channels.direct_line.value: 100,
|
|
39
|
-
Channels.direct_line_speech.value: 100,
|
|
40
|
-
Channels.webchat.value: 100,
|
|
41
|
-
}
|
|
42
|
-
return (
|
|
43
|
-
button_cnt <= max_actions[channel_id]
|
|
44
|
-
if channel_id in max_actions
|
|
45
|
-
else False
|
|
46
|
-
)
|
|
25
|
+
return Channels.supports_suggested_actions(channel_id, button_cnt)
|
|
47
26
|
|
|
48
27
|
@staticmethod
|
|
49
28
|
def supports_card_actions(channel_id: str, button_cnt: int = 100) -> bool:
|
|
@@ -57,29 +36,10 @@ class Channel:
|
|
|
57
36
|
bool: True if the Channel supports the button_cnt total Card Actions, False if the Channel does not support
|
|
58
37
|
that number of Card Actions.
|
|
59
38
|
"""
|
|
60
|
-
|
|
61
|
-
channel_id = channel_id.value
|
|
62
|
-
|
|
63
|
-
max_actions = {
|
|
64
|
-
Channels.facebook.value: 3,
|
|
65
|
-
Channels.skype.value: 3,
|
|
66
|
-
Channels.ms_teams.value: 3,
|
|
67
|
-
Channels.line.value: 99,
|
|
68
|
-
Channels.slack.value: 100,
|
|
69
|
-
Channels.telegram.value: 100,
|
|
70
|
-
Channels.emulator.value: 100,
|
|
71
|
-
Channels.direct_line.value: 100,
|
|
72
|
-
Channels.direct_line_speech.value: 100,
|
|
73
|
-
Channels.webchat.value: 100,
|
|
74
|
-
}
|
|
75
|
-
return (
|
|
76
|
-
button_cnt <= max_actions[channel_id]
|
|
77
|
-
if channel_id in max_actions
|
|
78
|
-
else False
|
|
79
|
-
)
|
|
39
|
+
return Channels.supports_card_actions(channel_id, button_cnt)
|
|
80
40
|
|
|
81
41
|
@staticmethod
|
|
82
|
-
def has_message_feed(
|
|
42
|
+
def has_message_feed(channel_id: str) -> bool:
|
|
83
43
|
"""Determine if a Channel has a Message Feed.
|
|
84
44
|
|
|
85
45
|
Args:
|
|
@@ -88,8 +48,7 @@ class Channel:
|
|
|
88
48
|
Returns:
|
|
89
49
|
bool: True if the Channel has a Message Feed, False if it does not.
|
|
90
50
|
"""
|
|
91
|
-
|
|
92
|
-
return True
|
|
51
|
+
return Channels.has_message_feed(channel_id)
|
|
93
52
|
|
|
94
53
|
@staticmethod
|
|
95
54
|
def get_channel_id(turn_context: TurnContext) -> str:
|
|
@@ -106,7 +65,7 @@ class Channel:
|
|
|
106
65
|
return ""
|
|
107
66
|
|
|
108
67
|
@staticmethod
|
|
109
|
-
def max_action_title_length(
|
|
68
|
+
def max_action_title_length(
|
|
110
69
|
channel_id: str,
|
|
111
70
|
) -> int:
|
|
112
71
|
"""Maximum length allowed for Action Titles.
|
|
@@ -117,5 +76,4 @@ class Channel:
|
|
|
117
76
|
Returns:
|
|
118
77
|
int: The total number of characters allowed for an Action Title on a specific Channel.
|
|
119
78
|
"""
|
|
120
|
-
|
|
121
|
-
return 20
|
|
79
|
+
return Channels.max_action_title_length(channel_id)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-dialogs
|
|
3
|
-
Version: 1.6.1.
|
|
3
|
+
Version: 1.6.1.dev9
|
|
4
4
|
Summary: Dialog system for Microsoft Agents (waterfall dialogs, prompts, choices)
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
@@ -15,7 +15,7 @@ Classifier: Operating System :: OS Independent
|
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: microsoft-agents-hosting-core==1.6.1.
|
|
18
|
+
Requires-Dist: microsoft-agents-hosting-core==1.6.1.dev9
|
|
19
19
|
Requires-Dist: recognizers-text-number>=1.0.1a0
|
|
20
20
|
Requires-Dist: recognizers-text-choice>=1.0.1a0
|
|
21
21
|
Requires-Dist: recognizers-text-date-time>=1.0.1a0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.6.1.dev6
|
{microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{microsoft_agents_hosting_dialogs-1.6.1.dev6 → microsoft_agents_hosting_dialogs-1.6.1.dev9}/setup.py
RENAMED
|
File without changes
|