microsoft-agents-hosting-aiohttp 0.3.0.dev0__tar.gz → 0.4.0.dev3__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_aiohttp-0.3.0.dev0 → microsoft_agents_hosting_aiohttp-0.4.0.dev3}/PKG-INFO +2 -2
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft/agents → microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents}/hosting/aiohttp/_start_agent_process.py +1 -1
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft/agents → microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents}/hosting/aiohttp/agent_http_adapter.py +1 -1
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft/agents → microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents}/hosting/aiohttp/app/streaming/citation_util.py +1 -1
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft/agents → microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents}/hosting/aiohttp/app/streaming/streaming_response.py +4 -4
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft/agents → microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents}/hosting/aiohttp/channel_service_route_table.py +2 -2
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft/agents → microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents}/hosting/aiohttp/cloud_adapter.py +3 -3
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft/agents → microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents}/hosting/aiohttp/jwt_authorization_middleware.py +1 -1
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0 → microsoft_agents_hosting_aiohttp-0.4.0.dev3}/microsoft_agents_hosting_aiohttp.egg-info/PKG-INFO +2 -2
- microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents_hosting_aiohttp.egg-info/SOURCES.txt +18 -0
- microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents_hosting_aiohttp.egg-info/requires.txt +2 -0
- microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents_hosting_aiohttp.egg-info/top_level.txt +1 -0
- microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft_agents_hosting_aiohttp.egg-info/SOURCES.txt +0 -18
- microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft_agents_hosting_aiohttp.egg-info/requires.txt +0 -2
- microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft_agents_hosting_aiohttp.egg-info/top_level.txt +0 -1
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft/agents → microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents}/hosting/aiohttp/__init__.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft/agents → microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents}/hosting/aiohttp/app/__init__.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft/agents → microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents}/hosting/aiohttp/app/streaming/__init__.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft/agents → microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents}/hosting/aiohttp/app/streaming/citation.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0 → microsoft_agents_hosting_aiohttp-0.4.0.dev3}/microsoft_agents_hosting_aiohttp.egg-info/dependency_links.txt +0 -0
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0 → microsoft_agents_hosting_aiohttp-0.4.0.dev3}/pyproject.toml +0 -0
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0 → microsoft_agents_hosting_aiohttp-0.4.0.dev3}/setup.cfg +0 -0
- {microsoft_agents_hosting_aiohttp-0.3.0.dev0 → microsoft_agents_hosting_aiohttp-0.4.0.dev3}/setup.py +0 -0
{microsoft_agents_hosting_aiohttp-0.3.0.dev0 → microsoft_agents_hosting_aiohttp-0.4.0.dev3}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-aiohttp
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0.dev3
|
|
4
4
|
Summary: Integration library for Microsoft Agents with aiohttp
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
Project-URL: Homepage, https://github.com/microsoft/Agents
|
|
@@ -8,6 +8,6 @@ Classifier: Programming Language :: Python :: 3
|
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
9
9
|
Classifier: Operating System :: OS Independent
|
|
10
10
|
Requires-Python: >=3.9
|
|
11
|
-
Requires-Dist: microsoft-agents-hosting-core==0.
|
|
11
|
+
Requires-Dist: microsoft-agents-hosting-core==0.4.0.dev3
|
|
12
12
|
Requires-Dist: aiohttp>=3.11.11
|
|
13
13
|
Dynamic: requires-dist
|
|
@@ -6,7 +6,7 @@ import logging
|
|
|
6
6
|
from typing import List, Optional, Callable, Literal, TYPE_CHECKING
|
|
7
7
|
from dataclasses import dataclass
|
|
8
8
|
|
|
9
|
-
from
|
|
9
|
+
from microsoft_agents.activity import (
|
|
10
10
|
Activity,
|
|
11
11
|
Entity,
|
|
12
12
|
Attachment,
|
|
@@ -14,11 +14,11 @@ from microsoft.agents.activity import (
|
|
|
14
14
|
ClientCitation,
|
|
15
15
|
DeliveryModes,
|
|
16
16
|
SensitivityUsageInfo,
|
|
17
|
-
|
|
17
|
+
add_ai_metadata,
|
|
18
18
|
)
|
|
19
19
|
|
|
20
20
|
if TYPE_CHECKING:
|
|
21
|
-
from
|
|
21
|
+
from microsoft_agents.hosting.core.turn_context import TurnContext
|
|
22
22
|
|
|
23
23
|
from .citation import Citation
|
|
24
24
|
from .citation_util import CitationUtil
|
|
@@ -401,7 +401,7 @@ class StreamingResponse:
|
|
|
401
401
|
streaminfo_entity.feedback_loop_enabled = self._enable_feedback_loop
|
|
402
402
|
# Add in Generated by AI
|
|
403
403
|
if self._enable_generated_by_ai_label:
|
|
404
|
-
|
|
404
|
+
add_ai_metadata(activity, self._citations, self._sensitivity_label)
|
|
405
405
|
|
|
406
406
|
# Send activity
|
|
407
407
|
response = await self._context.send_activity(activity)
|
|
@@ -5,14 +5,14 @@ from typing import List, Union, Type
|
|
|
5
5
|
|
|
6
6
|
from aiohttp.web import RouteTableDef, Request, Response
|
|
7
7
|
|
|
8
|
-
from
|
|
8
|
+
from microsoft_agents.activity import (
|
|
9
9
|
AgentsModel,
|
|
10
10
|
Activity,
|
|
11
11
|
AttachmentData,
|
|
12
12
|
ConversationParameters,
|
|
13
13
|
Transcript,
|
|
14
14
|
)
|
|
15
|
-
from
|
|
15
|
+
from microsoft_agents.hosting.core import ChannelApiHandlerProtocol
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
async def deserialize_from_body(
|
|
@@ -12,15 +12,15 @@ from aiohttp.web import (
|
|
|
12
12
|
HTTPUnauthorized,
|
|
13
13
|
HTTPUnsupportedMediaType,
|
|
14
14
|
)
|
|
15
|
-
from
|
|
15
|
+
from microsoft_agents.hosting.core.authorization import (
|
|
16
16
|
ClaimsIdentity,
|
|
17
17
|
Connections,
|
|
18
18
|
)
|
|
19
|
-
from
|
|
19
|
+
from microsoft_agents.activity import (
|
|
20
20
|
Activity,
|
|
21
21
|
DeliveryModes,
|
|
22
22
|
)
|
|
23
|
-
from
|
|
23
|
+
from microsoft_agents.hosting.core import (
|
|
24
24
|
Agent,
|
|
25
25
|
ChannelServiceAdapter,
|
|
26
26
|
ChannelServiceClientFactoryBase,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-aiohttp
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0.dev3
|
|
4
4
|
Summary: Integration library for Microsoft Agents with aiohttp
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
Project-URL: Homepage, https://github.com/microsoft/Agents
|
|
@@ -8,6 +8,6 @@ Classifier: Programming Language :: Python :: 3
|
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
9
9
|
Classifier: Operating System :: OS Independent
|
|
10
10
|
Requires-Python: >=3.9
|
|
11
|
-
Requires-Dist: microsoft-agents-hosting-core==0.
|
|
11
|
+
Requires-Dist: microsoft-agents-hosting-core==0.4.0.dev3
|
|
12
12
|
Requires-Dist: aiohttp>=3.11.11
|
|
13
13
|
Dynamic: requires-dist
|
microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents_hosting_aiohttp.egg-info/SOURCES.txt
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
pyproject.toml
|
|
2
|
+
setup.py
|
|
3
|
+
microsoft_agents/hosting/aiohttp/__init__.py
|
|
4
|
+
microsoft_agents/hosting/aiohttp/_start_agent_process.py
|
|
5
|
+
microsoft_agents/hosting/aiohttp/agent_http_adapter.py
|
|
6
|
+
microsoft_agents/hosting/aiohttp/channel_service_route_table.py
|
|
7
|
+
microsoft_agents/hosting/aiohttp/cloud_adapter.py
|
|
8
|
+
microsoft_agents/hosting/aiohttp/jwt_authorization_middleware.py
|
|
9
|
+
microsoft_agents/hosting/aiohttp/app/__init__.py
|
|
10
|
+
microsoft_agents/hosting/aiohttp/app/streaming/__init__.py
|
|
11
|
+
microsoft_agents/hosting/aiohttp/app/streaming/citation.py
|
|
12
|
+
microsoft_agents/hosting/aiohttp/app/streaming/citation_util.py
|
|
13
|
+
microsoft_agents/hosting/aiohttp/app/streaming/streaming_response.py
|
|
14
|
+
microsoft_agents_hosting_aiohttp.egg-info/PKG-INFO
|
|
15
|
+
microsoft_agents_hosting_aiohttp.egg-info/SOURCES.txt
|
|
16
|
+
microsoft_agents_hosting_aiohttp.egg-info/dependency_links.txt
|
|
17
|
+
microsoft_agents_hosting_aiohttp.egg-info/requires.txt
|
|
18
|
+
microsoft_agents_hosting_aiohttp.egg-info/top_level.txt
|
microsoft_agents_hosting_aiohttp-0.4.0.dev3/microsoft_agents_hosting_aiohttp.egg-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
microsoft_agents
|
microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft_agents_hosting_aiohttp.egg-info/SOURCES.txt
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
pyproject.toml
|
|
2
|
-
setup.py
|
|
3
|
-
microsoft/agents/hosting/aiohttp/__init__.py
|
|
4
|
-
microsoft/agents/hosting/aiohttp/_start_agent_process.py
|
|
5
|
-
microsoft/agents/hosting/aiohttp/agent_http_adapter.py
|
|
6
|
-
microsoft/agents/hosting/aiohttp/channel_service_route_table.py
|
|
7
|
-
microsoft/agents/hosting/aiohttp/cloud_adapter.py
|
|
8
|
-
microsoft/agents/hosting/aiohttp/jwt_authorization_middleware.py
|
|
9
|
-
microsoft/agents/hosting/aiohttp/app/__init__.py
|
|
10
|
-
microsoft/agents/hosting/aiohttp/app/streaming/__init__.py
|
|
11
|
-
microsoft/agents/hosting/aiohttp/app/streaming/citation.py
|
|
12
|
-
microsoft/agents/hosting/aiohttp/app/streaming/citation_util.py
|
|
13
|
-
microsoft/agents/hosting/aiohttp/app/streaming/streaming_response.py
|
|
14
|
-
microsoft_agents_hosting_aiohttp.egg-info/PKG-INFO
|
|
15
|
-
microsoft_agents_hosting_aiohttp.egg-info/SOURCES.txt
|
|
16
|
-
microsoft_agents_hosting_aiohttp.egg-info/dependency_links.txt
|
|
17
|
-
microsoft_agents_hosting_aiohttp.egg-info/requires.txt
|
|
18
|
-
microsoft_agents_hosting_aiohttp.egg-info/top_level.txt
|
microsoft_agents_hosting_aiohttp-0.3.0.dev0/microsoft_agents_hosting_aiohttp.egg-info/top_level.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
microsoft
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{microsoft_agents_hosting_aiohttp-0.3.0.dev0 → microsoft_agents_hosting_aiohttp-0.4.0.dev3}/setup.py
RENAMED
|
File without changes
|