Commit Graph
306 Commits
Author SHA1 Message Date
Eduard van Valkenburg 0d283ea9ad Python: Version bump and dependency updates (#13533)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Bumps version
Fixes new MCP version package, and upgrades some other packages.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2026-02-10 19:05:13 +09:00
Eduard van Valkenburg 72bc02551f Python: added allowed_domains to HttpPlugin (#13462)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Adds allowed_domains setup for HttpPlugin.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
2026-01-22 12:52:56 +09:00
Monita e1fbafe552 Python: feat(oracle): add new Oracle connector for Semantic Kernel (#13229)
…ync support

### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
This change is required to enable Semantic Kernel users to store and
retrieve embeddings using Oracle databases. Currently, Semantic Kernel
supports vector storage for several backends, but Oracle was missing.
This connector solves that gap by providing full async support, native
VECTOR type handling, and vector index management.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
This PR introduces a new Oracle connector for Semantic Kernel with the
following features:

- Asynchronous upsert, get, delete and search operations for memory
records.

- Native Oracle VECTOR type support for storing embeddings efficiently.

- Support for HNSW and IVFFLAT vector indexes for similarity search.

- Integration with Semantic Kernel collections, enabling semantic search
and memory operations.

- Comprehensive unit tests to ensure correctness and stability.

The connector is designed to work seamlessly with existing Semantic
Kernel memory abstractions and follows the same async patterns as other
vector stores.

Integration tests have also been implemented and verified locally;
however, they are not included in this PR because the current CI
environment setup for Oracle Database support is unknown.
Once guidance is provided on Oracle DB availability in the CI pipeline,
integration tests can be enabled and added in a follow-up PR.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
2025-11-26 20:08:16 +00:00
Tao Chen d84363f477 Python: Migrate to new Google GenAI SDK (#13371)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Closes #12970, #13352

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
1. Migrate Google AI connector to use the new Google AI SDK.
2. This PR also marks the VertexAI connector as deprecated in favor of
the Google AI connector. With this update, if users wants to connect to
a VertexAI project instead of a Google AI endpoint, they can do so with
the Google AI connector.
3. This PR also adds the ability for users to provide a custom client to
the Google AI connector (#13352).
4. This PR also marks `AzureTextCompletion` deprecated.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2025-11-24 21:53:57 +00:00
Eduard van Valkenburg 1c11258a32 Python: added af_tool bridge for kernel_functions (#13227)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Adds a new method to KernelFunction that creates a Agent Framework Tool
from that function.

Does require the user to install agent-framework-core themselves.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
2025-10-30 15:24:16 +00:00
1f8fea2b49 Python: Fix ai connector integration tests (#13311)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Vertex AI and Bedrock integration tests have been failing.


### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
1. This PR fixes the vertex ai integration tests by upgrading the Google
AI SDK version.
2. This PR fixes the Bedrock integration tests by upgrading the models.


### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: moonbox3 <[email protected]>
2025-10-30 04:22:14 +00:00
Evan Mattson cf9a5f21f7 Python: Fix onnx pkg by pinning. Pin openai < 2.0. (#13284)
### Motivation and Context

For the latest onnxruntime 1.23.2 pkg: our GitHub Actions run is failing
because uv is not matching the macOS wheel tag.
Pinning to last-known-good until it's sorted out.

- Pin openai pkg < 2.0 until we can investigate if 2.0 brings in other
breaking changes.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2025-10-24 11:23:08 +09:00
Taylor Rockey e73446e86e Python: [Python] Updated Agents SDK version to latest for CopilotStudio connector (#13144)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
- The Agents SDK has been released, and the recent release changed the
namespace from `microsoft.agents` to `microsoft_agents`, which breaks
imports.
  2. What problem does it solve?
- This updates the `pyproject.toml` and copilot studio related files to
fix the imports
  3. What scenario does it contribute to?
      - Using a Copilot Studio agent as an Agent in Semantic Kernel
  4. If it fixes an open issue, please link to the issue here.
      - N/A
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

- Updated pyproject.toml to use the released packages for the Agents
SDK.
- Updated imports in the `copilot_studio_agent` related files to use the
new `microsoft_agents` namespace

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [] I didn't break anyone 😄
2025-09-23 01:01:51 +00:00
dependabot[bot] c61af1a255 Python: Update pymongo requirement from <4.14,>=4.8.0 to >=4.8.0,<4.15 in /python (#12921)
Updates the requirements on
[pymongo](https://github.com/mongodb/mongo-python-driver) to permit the
latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/mongo-python-driver/releases">pymongo's
releases</a>.</em></p>
<blockquote>
<h2>PyMongo 4.14.0</h2>
<p>Community notes: <a
href="https://www.mongodb.com/community/forums/t/pymongo-4-14-released/326906">https://www.mongodb.com/community/forums/t/pymongo-4-14-released/326906</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst">pymongo's
changelog</a>.</em></p>
<blockquote>
<h2>Changes in Version 4.14.0 (2025/08/06)</h2>
<p>.. warning:: PyMongo 4.14 drops support for MongoDB 4.0. PyMongo now
supports
MongoDB 4.2+.</p>
<p>PyMongo 4.14 brings a number of changes including:</p>
<ul>
<li>
<p>Dropped support for MongoDB 4.0.</p>
</li>
<li>
<p>Added preliminary support for Python 3.14 and 3.14 with
free-threading. We do
not yet support the following with Python 3.14:</p>
<ul>
<li>Subinterpreters (<code>concurrent.interpreters</code>)</li>
<li>Free-threading with Encryption</li>
<li>mod_wsgi</li>
</ul>
</li>
<li>
<p>Removed experimental support for free-threading support in Python
3.13.</p>
</li>
<li>
<p>Added :attr:<code>bson.codec_options.TypeRegistry.codecs</code> and
:attr:<code>bson.codec_options.TypeRegistry.fallback_encoder</code>
properties
to allow users to directly access the type codecs and fallback encoder
for a
given :class:<code>bson.codec_options.TypeRegistry</code>.</p>
</li>
<li>
<p>Added

:meth:<code>pymongo.asynchronous.mongo_client.AsyncMongoClient.append_metadata</code>
and
:meth:<code>pymongo.mongo_client.MongoClient.append_metadata</code> to
allow instantiated
MongoClients to send client metadata on-demand</p>
</li>
<li>
<p>Improved performance of selecting a server with the Primary
selector.</p>
</li>
<li>
<p>Introduces a minor breaking change. When encoding
:class:<code>bson.binary.BinaryVector</code>, a <code>ValueError</code>
will be raised if the
'padding' metadata field is &lt; 0 or &gt; 7, or non-zero for any type
other than
PACKED_BIT.</p>
</li>
<li>
<p>Changed :meth:<code>~pymongo.uri_parser.parse_uri</code>'s
<code>options</code> return value to be
type <code>dict</code> instead of
<code>_CaseInsensitiveDictionary</code>.</p>
</li>
</ul>
<h2>Changes in Version 4.13.2 (2025/06/17)</h2>
<p>Version 4.13.2 is a bug fix release.</p>
<ul>
<li>Fixed a bug where <code>AsyncMongoClient</code> would block the
event loop while creating new connections,
potentially significantly increasing latency for ongoing
operations.</li>
</ul>
<p>Issues Resolved
...............</p>
<p>See the <code>PyMongo 4.13.2 release notes in JIRA</code>_ for the
list of resolved issues
in this release.</p>
<p>.. _PyMongo 4.13.2 release notes in JIRA: <a
href="https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=43937">https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=43937</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/6354d6cae770d765dd536eeaace13088dc09b993"><code>6354d6c</code></a>
Prepare 4.14.0 release (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2458">#2458</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/d7074ba9eedc8db2efa9e1929d63f3258b6320bd"><code>d7074ba</code></a>
PYTHON-5454 &amp; PYTHON-5455 Add preliminary python 3.14 support (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2451">#2451</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/d11cf20452fbf6418f1612607260faf3ae18753c"><code>d11cf20</code></a>
Fix In-Use Encryption examples (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2457">#2457</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/baec1e05f7005dc8a5979028ba5aac74256e3a3e"><code>baec1e0</code></a>
Bump pyright from 1.1.392.post0 to 1.1.403 (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2455">#2455</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/003ff56cbcecaa4860e14403b342967f5ee1336f"><code>003ff56</code></a>
Bump the actions group with 2 updates (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2454">#2454</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/cbe1b9e81b62f5a63f83694336fcf466126ce830"><code>cbe1b9e</code></a>
Update coverage requirement from &lt;=7.5,&gt;=5 to &gt;=5,&lt;=7.10.2
(<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2453">#2453</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/0249a08201529346024d191c7cc098365375d5e8"><code>0249a08</code></a>
Bump mypy from 1.14.1 to 1.17.1 (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2452">#2452</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/bfaab82e2644a9d6867626cff08c1ff7d30517a3"><code>bfaab82</code></a>
[Spec Resync] 07-28-2025 (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2447">#2447</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/9f64dad6871bd13e359c56698810e93f5a1173be"><code>9f64dad</code></a>
PYTHON-5473 - Better test assertions for booleans (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2450">#2450</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/9514a6727022d602cfd87bf74ebccd21023252dd"><code>9514a67</code></a>
PYTHON-5441 - Unskip gridfs download chunk tests (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2449">#2449</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mongodb/mongo-python-driver/compare/4.8.0...4.14.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 00:35:13 +00:00
dependabot[bot] e110472edd Python: Update pymilvus requirement from <2.6,>=2.3 to >=2.3,<2.7 in /python (#12918)
Updates the requirements on
[pymilvus](https://github.com/milvus-io/pymilvus) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/milvus-io/pymilvus/releases">pymilvus's
releases</a>.</em></p>
<blockquote>
<h2>PyMilvus v2.6.0 Release Notes</h2>
<h2>New Features</h2>
<ol>
<li>Add APIs in MilvusClient</li>
</ol>
<ul>
<li>enhance: add describe and alter database in MilvusClient by <a
href="https://github.com/smellthemoon"><code>@​smellthemoon</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2433">milvus-io/pymilvus#2433</a></li>
<li>enhance: support milvus-client iterator by <a
href="https://github.com/MrPresent-Han"><code>@​MrPresent-Han</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2461">milvus-io/pymilvus#2461</a></li>
<li>enhance: Enable resource group api in milvus client by <a
href="https://github.com/weiliu1031"><code>@​weiliu1031</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2513">milvus-io/pymilvus#2513</a></li>
<li>enhance: add release_collection, drop_index, create_partition,
drop_partition, load_partition and release_partition by <a
href="https://github.com/brcarry"><code>@​brcarry</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2525">milvus-io/pymilvus#2525</a></li>
<li>enhance: enable describe_replica api in milvus client by <a
href="https://github.com/weiliu1031"><code>@​weiliu1031</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2541">milvus-io/pymilvus#2541</a></li>
<li>enhance: support recalls for milvus_client by <a
href="https://github.com/chasingegg"><code>@​chasingegg</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2552">milvus-io/pymilvus#2552</a></li>
<li>enhance: add use_database by <a
href="https://github.com/czs007"><code>@​czs007</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2491">milvus-io/pymilvus#2491</a></li>
</ul>
<ol start="2">
<li>Add AsyncMilvusClient</li>
</ol>
<ul>
<li>[FEAT] Asyncio support by <a
href="https://github.com/brcarry"><code>@​brcarry</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2411">milvus-io/pymilvus#2411</a></li>
<li>Add async DDL funcs &amp; DDL examples by <a
href="https://github.com/Shawnzheng011019"><code>@​Shawnzheng011019</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2852">milvus-io/pymilvus#2852</a></li>
</ul>
<ol start="3">
<li>Other features</li>
</ol>
<ul>
<li>enhance: support Int8Vector by <a
href="https://github.com/cydrain"><code>@​cydrain</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2611">milvus-io/pymilvus#2611</a></li>
<li>feat: support recalls field in SearchResult by <a
href="https://github.com/chasingegg"><code>@​chasingegg</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2390">milvus-io/pymilvus#2390</a></li>
<li>enhance: Support Python3.13 and upgrade grpcio range by <a
href="https://github.com/XuanYang-cn"><code>@​XuanYang-cn</code></a> in
<a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2684">milvus-io/pymilvus#2684</a></li>
<li>enhance: support run analyzer return detail token by <a
href="https://github.com/aoiasd"><code>@​aoiasd</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2679">milvus-io/pymilvus#2679</a></li>
<li>enhance: Add force_drop parameter to drop_role method for role
deletion by <a href="https://github.com/SimFG"><code>@​SimFG</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2705">milvus-io/pymilvus#2705</a></li>
<li>enhance: add property func for AnalyzeToken by <a
href="https://github.com/aoiasd"><code>@​aoiasd</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2704">milvus-io/pymilvus#2704</a></li>
<li>enhance: grant/revoke v2 optional db and collection params by <a
href="https://github.com/shaoting-huang"><code>@​shaoting-huang</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2386">milvus-io/pymilvus#2386</a></li>
<li>extend unlimted offset for query iterator(<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2418">#2418</a>)
by <a
href="https://github.com/MrPresent-Han"><code>@​MrPresent-Han</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2419">milvus-io/pymilvus#2419</a></li>
<li>enhance: alterindex &amp; altercollection supports altering
properties by <a
href="https://github.com/JsDove"><code>@​JsDove</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2406">milvus-io/pymilvus#2406</a></li>
<li>enhance: alterdatabase support delete property by <a
href="https://github.com/JsDove"><code>@​JsDove</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2435">milvus-io/pymilvus#2435</a></li>
<li>enhance: support hints param by <a
href="https://github.com/chasingegg"><code>@​chasingegg</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2408">milvus-io/pymilvus#2408</a></li>
<li>enhance: create database support properties by <a
href="https://github.com/JsDove"><code>@​JsDove</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2448">milvus-io/pymilvus#2448</a></li>
<li>enhance: Add <code>db_name</code> parameter at
<code>bulk_import</code> by <a
href="https://github.com/counter2015"><code>@​counter2015</code></a> in
<a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2446">milvus-io/pymilvus#2446</a></li>
<li>enhance: add search iterator v2 by <a
href="https://github.com/PwzXxm"><code>@​PwzXxm</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2395">milvus-io/pymilvus#2395</a></li>
<li>enhance: simplify the structure of search_params by <a
href="https://github.com/smellthemoon"><code>@​smellthemoon</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2507">milvus-io/pymilvus#2507</a></li>
<li>enhance: Remove long deprecated Milvus class by <a
href="https://github.com/XuanYang-cn"><code>@​XuanYang-cn</code></a> in
<a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2544">milvus-io/pymilvus#2544</a></li>
<li>enhance: Use new model pkg by <a
href="https://github.com/junjiejiangjjj"><code>@​junjiejiangjjj</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2595">milvus-io/pymilvus#2595</a></li>
<li>enhance: Add schema update time verification to insert and upsert to
use cache by <a
href="https://github.com/JsDove"><code>@​JsDove</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2551">milvus-io/pymilvus#2551</a></li>
<li>enhance: describecollection output add created_timestamp by <a
href="https://github.com/JsDove"><code>@​JsDove</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2618">milvus-io/pymilvus#2618</a></li>
<li>feat: add external filter func for search iterator v2 by <a
href="https://github.com/PwzXxm"><code>@​PwzXxm</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2639">milvus-io/pymilvus#2639</a></li>
<li>enhance: support run analyzer by <a
href="https://github.com/aoiasd"><code>@​aoiasd</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2622">milvus-io/pymilvus#2622</a></li>
<li>weighted reranker to allow skip score normalization by <a
href="https://github.com/zhengbuqian"><code>@​zhengbuqian</code></a> in
<a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2708">milvus-io/pymilvus#2708</a></li>
<li>enhance: Support AddCollectionField API by <a
href="https://github.com/congqixia"><code>@​congqixia</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2722">milvus-io/pymilvus#2722</a></li>
<li>Add 1-Way and 2-Way TLS Support to Bulk Import Functions by <a
href="https://github.com/abd-770"><code>@​abd-770</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2672">milvus-io/pymilvus#2672</a></li>
<li>enhance: Use SearchResult in MilvusClient by <a
href="https://github.com/XuanYang-cn"><code>@​XuanYang-cn</code></a> in
<a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2735">milvus-io/pymilvus#2735</a></li>
<li>Support rerank by <a
href="https://github.com/junjiejiangjjj"><code>@​junjiejiangjjj</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2729">milvus-io/pymilvus#2729</a></li>
<li>feat: suppoprt multi analyzer params by <a
href="https://github.com/aoiasd"><code>@​aoiasd</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2747">milvus-io/pymilvus#2747</a></li>
<li>Add funciton checker by <a
href="https://github.com/junjiejiangjjj"><code>@​junjiejiangjjj</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2760">milvus-io/pymilvus#2760</a></li>
<li>enhance: Support run analyzer by collection and field by <a
href="https://github.com/aoiasd"><code>@​aoiasd</code></a> in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2822">milvus-io/pymilvus#2822</a></li>
<li>feat: support load collection/partition with priority(<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2835">#2835</a>)
by <a
href="https://github.com/MrPresent-Han"><code>@​MrPresent-Han</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2836">milvus-io/pymilvus#2836</a></li>
<li>enhance: optimize perf for large topk(<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2848">#2848</a>)
by <a
href="https://github.com/MrPresent-Han"><code>@​MrPresent-Han</code></a>
in <a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2849">milvus-io/pymilvus#2849</a></li>
<li>enhance: Add usage guide to manage MilvusClient by <a
href="https://github.com/XuanYang-cn"><code>@​XuanYang-cn</code></a> in
<a
href="https://redirect.github.com/milvus-io/pymilvus/pull/2907">milvus-io/pymilvus#2907</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/milvus-io/pymilvus/commit/1e56ce7d3159883108fb581d820572c1ab9a4c11"><code>1e56ce7</code></a>
enhance: Update milvus-proto and readme (<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2921">#2921</a>)</li>
<li><a
href="https://github.com/milvus-io/pymilvus/commit/75052b1b7cada14585eed4e7d7aa68ac2f541306"><code>75052b1</code></a>
enhance: Add usage guide to manage MilvusClient (<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2907">#2907</a>)</li>
<li><a
href="https://github.com/milvus-io/pymilvus/commit/9f44053086002d782cf7f81576a7a0f2bcc9f5ad"><code>9f44053</code></a>
add example code for language identifier and multi analyzer (<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2919">#2919</a>)</li>
<li><a
href="https://github.com/milvus-io/pymilvus/commit/058836de26f84c4c9e82490e3ef76a6a122b8dff"><code>058836d</code></a>
fix: Return new pk value for upsert when autoid=true (<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2914">#2914</a>)</li>
<li><a
href="https://github.com/milvus-io/pymilvus/commit/bbc6777565694dc2d6479177c5d2136256d332a9"><code>bbc6777</code></a>
[cherry-pick] Compatible with the default behavior of free on the cloud
(<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2913">#2913</a>)</li>
<li><a
href="https://github.com/milvus-io/pymilvus/commit/45080c39c59b5dbc8a5766d8afb9c08bba8d3896"><code>45080c3</code></a>
fix: Aviod coping functions when init CollectionSchema (<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2902">#2902</a>)</li>
<li><a
href="https://github.com/milvus-io/pymilvus/commit/52b8461c5bee1466c4678f3bc029a9cda4422bd0"><code>52b8461</code></a>
[cherry-pick] bulk_import add stageName/dataPaths parameter (<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2905">#2905</a>)</li>
<li><a
href="https://github.com/milvus-io/pymilvus/commit/a8c3120622290d429dc3b12ece643248dc2f5d76"><code>a8c3120</code></a>
[cherry-pick] support stage (<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2895">#2895</a>)</li>
<li><a
href="https://github.com/milvus-io/pymilvus/commit/3653effa88a8af263690ca88b53dc529da3082fb"><code>3653eff</code></a>
fix: Tidy alias configs when connect fails (<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2900">#2900</a>)</li>
<li><a
href="https://github.com/milvus-io/pymilvus/commit/728791a7de7d6eb0a4201ba755ea0675bb6976a0"><code>728791a</code></a>
enhance: Store alias before wait for ready (<a
href="https://redirect.github.com/milvus-io/pymilvus/issues/2894">#2894</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/milvus-io/pymilvus/compare/v2.3.0...v2.6.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-03 17:07:53 +00:00
dependabot[bot] 2db2aa1bb9 Python: Bump torch from 2.7.1 to 2.8.0 in /python (#12919)
Bumps [torch](https://github.com/pytorch/pytorch) from 2.7.1 to 2.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytorch/pytorch/releases">torch's
releases</a>.</em></p>
<blockquote>
<h1>PyTorch 2.8.0 Release Notes</h1>
<ul>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#highlights">Highlights</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#backwards-incompatible-changes">Backwards
Incompatible Changes</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#deprecations">Deprecations</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#new-features">New
Features</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#improvements">Improvements</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#bug-fixes">Bug
fixes</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#performance">Performance</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#documentation">Documentation</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#developers">Developers</a></li>
</ul>
<h1>Highlights</h1>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytorch/pytorch/commit/ba56102387ef21a3b04b357e5b183d48f0afefc7"><code>ba56102</code></a>
Cherrypick: Add the RunLLM widget to the website (<a
href="https://redirect.github.com/pytorch/pytorch/issues/159592">#159592</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/c525a02c89217181b5731d8043c7309a84e84066"><code>c525a02</code></a>
[dynamo, docs] cherry pick torch.compile programming model docs into 2.8
(<a
href="https://redirect.github.com/pytorch/pytorch/issues/15">#15</a>...</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/a1cb3cc05d46d198467bebbb6e8fba50a325d4e7"><code>a1cb3cc</code></a>
[Release Only] Remove nvshmem from list of preload libraries (<a
href="https://redirect.github.com/pytorch/pytorch/issues/158925">#158925</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/c76b2356bc31654de2af0c98cce1bef291f06f89"><code>c76b235</code></a>
Move out super large one off foreach_copy test (<a
href="https://redirect.github.com/pytorch/pytorch/issues/158880">#158880</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/20a0e225a01d4ebbffd44a6a59acff628359c772"><code>20a0e22</code></a>
Revert &quot;[Dynamo] Allow inlining into AO quantization modules (<a
href="https://redirect.github.com/pytorch/pytorch/issues/152934">#152934</a>)&quot;
(<a
href="https://redirect.github.com/pytorch/pytorch/issues/158">#158</a>...</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/9167ac8c75481e2beb3746aa37b7f48a213c631e"><code>9167ac8</code></a>
[MPS] Switch Cholesky decomp to column wise (<a
href="https://redirect.github.com/pytorch/pytorch/issues/158237">#158237</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/5534685c62399db8d1e51b47e2dcbc17deaab230"><code>5534685</code></a>
[MPS] Reimplement <code>tri[ul]</code> as Metal shaders (<a
href="https://redirect.github.com/pytorch/pytorch/issues/158867">#158867</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/d19e08d74b2a27e661bf57a9015014b757e8ea31"><code>d19e08d</code></a>
Cherry pick PR 158746 (<a
href="https://redirect.github.com/pytorch/pytorch/issues/158801">#158801</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/a6c044ab9aa14f0864c6a572f7c023432511c5ea"><code>a6c044a</code></a>
[cherry-pick] Unify torch.tensor and torch.ops.aten.scalar_tensor
behavior (#...</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/620ebd0646252bbb22524f5c252ec7e9ab977bee"><code>620ebd0</code></a>
[Dynamo] Use proper sources for constructing dataclass defaults (<a
href="https://redirect.github.com/pytorch/pytorch/issues/158689">#158689</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pytorch/pytorch/compare/v2.7.1...v2.8.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=torch&package-manager=pip&previous-version=2.7.1&new-version=2.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-03 17:07:16 +00:00
Evan Mattson f7fdfcd9a9 Python: Add AzureAIAgent Deep Research Tool support (#13034)
### Motivation and Context

The deep research tool was introduced for the AzureAIAgent; however, we
didn't have support yet in SK. Adding support now for using the deep
research tool for both streaming and non-streaming. Samples added as
well.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

- Add support for deep research tool.
- Add samples with notes on prerequisites to configure the sample to run
properly.
- Added support for `AZURE_AI_AGENT_DEEP_RESEARCH_MODEL` env var within
`AzureAIAgentSettings` class.
- Bumped min allowed `azure-ai-agents` package ver to 1.2.0b3.
- Closes #12978

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-09-01 02:35:56 +00:00
Evan Mattson 40734345dc Python: Fix the Responses agent msg chaining with reasoning models (#12907)
### Motivation and Context

When running a reasoning model with the OpenAI responses agent, it was
producing 400s due to the way we were either including or not including
FCC related to tool calls. This PR fixes it for both the default
(store_enabled=True) and the case where uses don't want to use OpenAI's
previous response id as a pseudo-thread (store_enabled=False).

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

- Closes #12843

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-08-13 10:35:38 +00:00
dependabot[bot]andEvan Mattson 433b2874b7 Python: Update boto3 requirement from <1.40.0,>=1.36.4 to >=1.36.4,<1.41.0 in /python (#12857)
Updates the requirements on [boto3](https://github.com/boto/boto3) to
permit the latest version.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/boto/boto3/commit/ad48a219e467d13a50f6ffeeec5191d75c454ea7"><code>ad48a21</code></a>
Merge branch 'release-1.40.2'</li>
<li><a
href="https://github.com/boto/boto3/commit/0a92fe40bf86d48a5e8dd7ee6b06fcfbae52b597"><code>0a92fe4</code></a>
Bumping version to 1.40.2</li>
<li><a
href="https://github.com/boto/boto3/commit/b1d3cd4e4b46ade160224ad589e9918f5da84ca8"><code>b1d3cd4</code></a>
Add changelog entries from botocore</li>
<li><a
href="https://github.com/boto/boto3/commit/72d9a28a0c79ff7966226855593a366a40076d74"><code>72d9a28</code></a>
Merge branch 'release-1.40.1'</li>
<li><a
href="https://github.com/boto/boto3/commit/1c32a227314c9d8fa38baa9e0da5d373cf61683f"><code>1c32a22</code></a>
Merge branch 'release-1.40.1' into develop</li>
<li><a
href="https://github.com/boto/boto3/commit/a3ffa6102045e1ec958c7e9548105339b2c195b9"><code>a3ffa61</code></a>
Bumping version to 1.40.1</li>
<li><a
href="https://github.com/boto/boto3/commit/c643766d437bc994f2d94966fa9dd3bc39662402"><code>c643766</code></a>
Add changelog entries from botocore</li>
<li><a
href="https://github.com/boto/boto3/commit/e2fb47b057930792b8bfe192063207b8c4794395"><code>e2fb47b</code></a>
Merge branch 'release-1.40.0'</li>
<li><a
href="https://github.com/boto/boto3/commit/e19cb9fbb32d6187d731fecf374de5ac2b851ce0"><code>e19cb9f</code></a>
Merge branch 'release-1.40.0' into develop</li>
<li><a
href="https://github.com/boto/boto3/commit/9e895ba0a527098909b07b98412f0fb962a3466b"><code>9e895ba</code></a>
Bumping version to 1.40.0</li>
<li>Additional commits viewable in <a
href="https://github.com/boto/boto3/compare/1.36.4...1.40.2">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Mattson <[email protected]>
2025-08-06 02:42:11 +00:00
Evan Mattson 91392a77e0 Python: Fix ResponsesAgent image duplication in chat history preparation (#12859)
### Motivation and Context

The ResponsesAgent is duplicating messages in chat history preparation
when messages contained multiple content items (text + images). The
`response_inputs.append()` call is inside the content processing loop,
causing each message to be added once per content item.

The fix:
- Moved `response_inputs.append()` outside the content processing loop
- Added unit test to verify multiple images don't get duplicated

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

- Fixed loop placement in `_prepare_chat_history_for_request`
- Added test `test_prepare_chat_history_multiple_images_no_duplication`
- Fixes #12848

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-08-05 14:58:35 +00:00
dependabot[bot]andEvan Mattson 7300b843c1 Python: Update pyarrow requirement from <21.0,>=12.0 to >=12.0,<22.0 in /python (#12836)
Updates the requirements on [pyarrow](https://github.com/apache/arrow)
to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/apache/arrow/releases">pyarrow's
releases</a>.</em></p>
<blockquote>
<h2>Apache Arrow 21.0.0</h2>
<p>Release Notes URL: <a
href="https://arrow.apache.org/release/21.0.0.html">https://arrow.apache.org/release/21.0.0.html</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/apache/arrow/commit/ee4d09ebef61c663c1efbfa4c18e518a03b798be"><code>ee4d09e</code></a>
MINOR: [Release] Update versions for 21.0.0</li>
<li><a
href="https://github.com/apache/arrow/commit/f13a5796008e3a5e546af1a7b2be0fbd3c148c26"><code>f13a579</code></a>
MINOR: [Release] Update .deb/.rpm changelogs for 21.0.0</li>
<li><a
href="https://github.com/apache/arrow/commit/6fd2a167e0ed74dbe4c059e579a561fcc2aae11f"><code>6fd2a16</code></a>
MINOR: [Release] Update CHANGELOG.md for 21.0.0</li>
<li><a
href="https://github.com/apache/arrow/commit/cf261bf58ae74a1f7fa99d81c201ca8e1d679c9b"><code>cf261bf</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/47078">GH-47078</a>:
[Release] Ensure using cloned apache/arrow for reproducible check
(...</li>
<li><a
href="https://github.com/apache/arrow/commit/ddbc3dc005dfdde5a79d42cb5953190479b12b73"><code>ddbc3dc</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/47074">GH-47074</a>:
[Release] Use reproducible mtime for csharp/ in source archive (<a
href="https://redirect.github.com/apache/arrow/issues/47">#47</a>...</li>
<li><a
href="https://github.com/apache/arrow/commit/0534eb2d279f445ac67b99a22eca344484749b6f"><code>0534eb2</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/47071">GH-47071</a>:
[Release] Dereference all hard links in source archive (<a
href="https://redirect.github.com/apache/arrow/issues/47072">#47072</a>)</li>
<li><a
href="https://github.com/apache/arrow/commit/f845b4184664aee522f7fd73864d3093e84b6580"><code>f845b41</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/47069">GH-47069</a>:
[Release] Add missing &quot;needs: target&quot; (<a
href="https://redirect.github.com/apache/arrow/issues/47070">#47070</a>)</li>
<li><a
href="https://github.com/apache/arrow/commit/1c08f8ee6947bd2a9bffb441af946c6a7373015b"><code>1c08f8e</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/47067">GH-47067</a>:
[Release] Fix wrong GitHub Actions context in verify_rc.yml (<a
href="https://redirect.github.com/apache/arrow/issues/47068">#47068</a>)</li>
<li><a
href="https://github.com/apache/arrow/commit/70e5c51e6d5de1ca6f669b47ff0b98e1075336d0"><code>70e5c51</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/47065">GH-47065</a>:
[Release] Fix timeout key in verify_rc.yml (<a
href="https://redirect.github.com/apache/arrow/issues/47066">#47066</a>)</li>
<li><a
href="https://github.com/apache/arrow/commit/254a85c8bddb52eef03d623882836717f027061d"><code>254a85c</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/47063">GH-47063</a>:
[Release] Define missing RELEASE_TARBALL (<a
href="https://redirect.github.com/apache/arrow/issues/47064">#47064</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/apache/arrow/compare/go/v12.0.0...apache-arrow-21.0.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Mattson <[email protected]>
2025-08-05 01:33:57 +00:00
Evan Mattson 5332c2e330 Python: Require tool_call_id parameter for string-based tool messages in ChatHistory (#12753)
### Motivation and Context

The `add_tool_message` method of `ChatHistory` accepts string content
without requiring a `tool_call_id` parameter. This design is flawed from
an API design perspective. It created tool messages that:

1. Violated chat completion protocols: most LLM APIs (OpenAI, etc.)
require tool messages to have a `tool_call_id` that references a
previous function call
2. Broke conversation flow: tool messages should always be responses to
specific tool calls, maintaining the call-response relationship
3. Created malformed message sequences: messages without proper tool
call IDs would fail when sent to language models

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

This PR modifies the `add_tool_message` string overload to require a
`tool_call_id` parameter, which makes sure we have proper tool call
protocol compliance.

1. The string overload now validates that `tool_call_id` is provided and
raises a clear error if missing
2. Tool messages now create `FunctionResultContent` objects with both
`id` and `call_id` set to the provided `tool_call_id`
3. Added support for an optional `function_name` parameter for better
bookkeeping
4. Provides informative error messages explaining why `tool_call_id` is
required
- Closes #12744 

Before:

```python
# This would create an invalid tool message without tool_call_id
# when the `.to_dict()` method is called on `ChatMessageContent`
chat_history.add_tool_message("Function result")  # Creates broken message and losing pairing to the corresponding `FunctionCallContent`.
```

After: 

```python
# Now requires tool_call_id for proper protocol compliance
chat_history.add_tool_message("Function result")  # raises clear error due to missing `tool_call_id`
chat_history.add_tool_message("Function result", tool_call_id="call_123")  # works correctly

# Optional function name for better bookkeeping
chat_history.add_tool_message("Function result", tool_call_id="call_123", function_name="get_weather") # works as well
```

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-07-23 04:07:20 +00:00
Eduard van Valkenburg c79f5a5c63 Python: improved MCP connect and additional samples (#12696)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Adding a sample using StreamableHTTPServer towards Github.
Added a demo showing how to connect to a OAuth protected MCP server.
Also some improvements in the connect logic for MCP.


### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
2025-07-22 15:14:32 +00:00
Evan Mattson 48f71b1f2e Python: Support AzureAI agent MCP tools for streaming and non-streaming invocations (#12736)
### Motivation and Context

MCP tool support was released for the AzureAI Agent and it has yet to be
added to the SK Python AzureAIAgent. This PR adds functionality to
handle the MCP tools for both streaming and non-streaming invocations.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

Adds MCP support for the Python AzureAI Agent.
- Upgrades dependent packages to be able to use the mcp tool from the
Azure SDK.

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-07-18 07:08:00 +00:00
dependabot[bot]andEvan Mattson d96cadcebe Python: Update sentence-transformers requirement from <5.0,>=2.2 to >=2.2,<6.0 in /python (#12679)
Updates the requirements on
[sentence-transformers](https://github.com/UKPLab/sentence-transformers)
to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/UKPLab/sentence-transformers/releases">sentence-transformers's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0 - SparseEncoder support; encode_query &amp; encode_document;
multi-processing in encode; Router; and more</h2>
<p>This release consists of significant updates including the
introduction of Sparse Encoder models, new methods
<code>encode_query</code> and <code>encode_document</code>,
multi-processing support in <code>encode</code>, the <code>Router</code>
module for asymmetric models, custom learning rates for parameter
groups, composite loss logging, and various small improvements and bug
fixes.</p>
<p>Install this version with</p>
<pre lang="bash"><code># Training + Inference
pip install sentence-transformers[train]==5.0.0
<h1>Inference only, use one of:</h1>
<p>pip install sentence-transformers==5.0.0
pip install sentence-transformers[onnx-gpu]==5.0.0
pip install sentence-transformers[onnx]==5.0.0
pip install sentence-transformers[openvino]==5.0.0
</code></pre></p>
<blockquote>
<p>[!TIP]
Our <a href="https://huggingface.co/blog/train-sparse-encoder">Training
and Finetuning Sparse Embedding Models with Sentence Transformers v5
blogpost</a> is an excellent place to learn about finetuning sparse
embedding models!</p>
</blockquote>
<blockquote>
<p>[!NOTE]
This release is designed to be fully backwards compatible, meaning that
you should be able to upgrade from older versions to v5.x without any
issues. If you are running into issues when upgrading, feel free to open
<a href="https://github.com/uKPLab/sentence-transformers/issues/new">an
issue</a>. Also see the <a
href="https://sbert.net/docs/migration_guide.html">Migration Guide</a>
for changes that we would recommend.</p>
</blockquote>
<h2>Sparse Encoder models</h2>
<p>The Sentence Transformers v5.0 release introduces Sparse Embedding
models, also known as Sparse Encoders. These models generate
high-dimensional embeddings, often with 30,000+ dimensions, where often
only &lt;1% of dimensions are non-zero. This is in contrast to the
standard dense embedding models, which produce low-dimensional
embeddings (e.g., 384, 768, or 1024 dimensions) where all values are
non-zero.</p>
<p>Usually, each active dimension (i.e. the dimension with a non-zero
value) in a sparse embedding corresponds to a specific token in the
model's vocabulary, allowing for interpretability. This means that you
can e.g. see exactly which words/tokens are important in an embedding,
and that you can inspect exactly because of which words/tokens two texts
are deemed similar.</p>
<p>Let's have a look at <a
href="https://huggingface.co/naver/splade-v3">naver/splade-v3</a>, a
strong sparse embedding model, as an example:</p>
<pre lang="python"><code>from sentence_transformers import SparseEncoder
<h1>Download from the 🤗 Hub</h1>
<p>model = SparseEncoder(&quot;naver/splade-v3&quot;)</p>
<h1>Run inference</h1>
<p>sentences = [
&quot;The weather is lovely today.&quot;,
&quot;It's so sunny outside!&quot;,
&quot;He drove to the stadium.&quot;,
]
embeddings = model.encode(sentences)
print(embeddings.shape)</p>
<h1>(3, 30522)</h1>
<h1>Get the similarity scores for the embeddings</h1>
<p>similarities = model.similarity(embeddings, embeddings)
print(similarities)</p>
<h1>tensor([[   32.4323,     5.8528,     0.0258],</h1>
<p>&lt;/tr&gt;&lt;/table&gt;
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/UKPLab/sentence-transformers/commit/8dc0fca767afd74208764fd28f89dd83e8743241"><code>8dc0fca</code></a>
Release v5.0.0</li>
<li><a
href="https://github.com/UKPLab/sentence-transformers/commit/e91af6ac3e160aa0d610ea32aeb295f3ff648e67"><code>e91af6a</code></a>
Update links for SPLADE and Inference-Free SPLADE models collections in
docum...</li>
<li><a
href="https://github.com/UKPLab/sentence-transformers/commit/4c00aea59d4b25061ba03761804a4266c3e8fd33"><code>4c00aea</code></a>
[<code>fix</code>] Remove hub_kwargs in SparseStaticEmbedding.from_json
in favor of more...</li>
<li><a
href="https://github.com/UKPLab/sentence-transformers/commit/28685bb1d771b8609c5e4d4115a8b862267358ce"><code>28685bb</code></a>
Clean up gitignore (<a
href="https://redirect.github.com/UKPLab/sentence-transformers/issues/3409">#3409</a>)</li>
<li><a
href="https://github.com/UKPLab/sentence-transformers/commit/85dd17518f15a8466ec131a4f82e1e93e4ada631"><code>85dd175</code></a>
Fix formatting of docstring arguments in
SpladeRegularizerWeightSchedulerCall...</li>
<li><a
href="https://github.com/UKPLab/sentence-transformers/commit/14afc4b6681f0b83bded05fe91a8fd3320d453f9"><code>14afc4b</code></a>
Merge PR <a
href="https://redirect.github.com/UKPLab/sentence-transformers/issues/3401">#3401</a>:
[<code>v5</code>] Add support for Sparse Embedding models</li>
<li><a
href="https://github.com/UKPLab/sentence-transformers/commit/2d248419eb47c3710d50fa560d41e7fd17459846"><code>2d24841</code></a>
Update tip phrasing and fix links</li>
<li><a
href="https://github.com/UKPLab/sentence-transformers/commit/ed043c56b21d4a6c8f600e9d2a74523e522d6823"><code>ed043c5</code></a>
typo</li>
<li><a
href="https://github.com/UKPLab/sentence-transformers/commit/b2679d12294f9e0e5a2250cbcb400e9b4111f856"><code>b2679d1</code></a>
fix broken link</li>
<li><a
href="https://github.com/UKPLab/sentence-transformers/commit/d30341ec2f3a8fa50eb41f924273e414bb7c0db7"><code>d30341e</code></a>
Update tips to prepared for v5.0</li>
<li>Additional commits viewable in <a
href="https://github.com/UKPLab/sentence-transformers/compare/v2.2.0...v5.0.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Mattson <[email protected]>
2025-07-17 06:01:11 +00:00
dependabot[bot]andEvan Mattson 9fe95bf30e Python: Update boto3 requirement from <1.39.0,>=1.36.4 to >=1.36.4,<1.40.0 in /python (#12638)
Updates the requirements on [boto3](https://github.com/boto/boto3) to
permit the latest version.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/boto/boto3/commit/74b661c51dce9ff7bea2d60bc0394883650f1bd6"><code>74b661c</code></a>
Merge branch 'release-1.39.0'</li>
<li><a
href="https://github.com/boto/boto3/commit/eba3ce194234574b446ab9ef78eae7ad50266e54"><code>eba3ce1</code></a>
Bumping version to 1.39.0</li>
<li><a
href="https://github.com/boto/boto3/commit/171fcea4db5a1d9cbc9ba8760a9a7c5cffe4c476"><code>171fcea</code></a>
Add changelog entries from botocore</li>
<li><a
href="https://github.com/boto/boto3/commit/f02c8ee2d7d3f7cfcc91df05ebe8be434433875a"><code>f02c8ee</code></a>
Merge branch 'release-1.38.46'</li>
<li><a
href="https://github.com/boto/boto3/commit/058a5507e8866a58bb4b3c27b6e9885584b81473"><code>058a550</code></a>
Merge branch 'release-1.38.46' into develop</li>
<li><a
href="https://github.com/boto/boto3/commit/804ef0f99d92575611f623f700e693c2f3e1ada2"><code>804ef0f</code></a>
Bumping version to 1.38.46</li>
<li><a
href="https://github.com/boto/boto3/commit/533e5c24002b7f8df6f8c93d216ba9bfbd6d6203"><code>533e5c2</code></a>
Add changelog entries from botocore</li>
<li><a
href="https://github.com/boto/boto3/commit/3595b04d47f723ae62d9f2b1e560cc88dbabb96c"><code>3595b04</code></a>
Merge branch 'release-1.38.45'</li>
<li><a
href="https://github.com/boto/boto3/commit/874b24a403d49d4528a3e56bf979bd900d6b86c4"><code>874b24a</code></a>
Merge branch 'release-1.38.45' into develop</li>
<li><a
href="https://github.com/boto/boto3/commit/df0b3fc9f783271a4fb3c137bb88509ae8377326"><code>df0b3fc</code></a>
Bumping version to 1.38.45</li>
<li>Additional commits viewable in <a
href="https://github.com/boto/boto3/compare/1.36.4...1.39.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Mattson <[email protected]>
2025-07-15 08:29:13 +00:00
dependabot[bot]andEvan Mattson 1e77014180 Python: Update pymongo requirement from <4.13,>=4.8.0 to >=4.8.0,<4.14 in /python (#12494)
Updates the requirements on
[pymongo](https://github.com/mongodb/mongo-python-driver) to permit the
latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/mongo-python-driver/releases">pymongo's
releases</a>.</em></p>
<blockquote>
<h2>PyMongo 4.13.2</h2>
<p>Community notes: <a
href="https://www.mongodb.com/community/forums/t/pymongo-4-13-2-released/323705">https://www.mongodb.com/community/forums/t/pymongo-4-13-2-released/323705</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst">pymongo's
changelog</a>.</em></p>
<blockquote>
<h2>Changes in Version 4.13.2 (2025/06/17)</h2>
<p>Version 4.13.2 is a bug fix release.</p>
<ul>
<li>Fixed a bug where <code>AsyncMongoClient</code> would block the
event loop while creating new connections,
potentially significantly increasing latency for ongoing
operations.</li>
</ul>
<p>Issues Resolved
...............</p>
<p>See the <code>PyMongo 4.13.2 release notes in JIRA</code>_ for the
list of resolved issues
in this release.</p>
<p>.. _PyMongo 4.13.2 release notes in JIRA: <a
href="https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=43937">https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=43937</a></p>
<h2>Changes in Version 4.13.1 (2025/06/10)</h2>
<p>Version 4.13.1 is a bug fix release.</p>
<ul>
<li>Fixed a bug that could raise
<code>ServerSelectionTimeoutError</code> when using timeouts with
<code>AsyncMongoClient</code>.</li>
<li>Fixed a bug that could raise <code>NetworkTimeout</code> errors on
Windows.</li>
</ul>
<p>Issues Resolved
...............</p>
<p>See the <code>PyMongo 4.13.1 release notes in JIRA</code>_ for the
list of resolved issues
in this release.</p>
<p>.. _PyMongo 4.13.1 release notes in JIRA: <a
href="https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=43924">https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=43924</a></p>
<h2>Changes in Version 4.13.0 (2025/05/14)</h2>
<p>PyMongo 4.13 brings a number of changes including:</p>
<ul>
<li>The asynchronous API is now stable and no longer in beta.
See the :mod:<code>pymongo.asynchronous</code> docs
or the <code>migration guide
&lt;https://www.mongodb.com/docs/languages/python/pymongo-driver/current/reference/migration/&gt;</code>_
for more information.</li>
<li>Fixed a bug where
:class:<code>pymongo.write_concern.WriteConcern</code> repr was not
eval-able
when using <code>w=&quot;majority&quot;</code>.</li>
</ul>
<p>Issues Resolved
...............</p>
<p>See the <code>PyMongo 4.13 release notes in JIRA</code>_ for the list
of resolved issues
in this release.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/0a150feeeff5e19944b85a55875dd7e91dca6ce9"><code>0a150fe</code></a>
PYTHON-5416 Prep for 4.13.2 release (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2389">#2389</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/ad3417411ae1ea1564402a1caa66f2269b426ca1"><code>ad34174</code></a>
[v4.13] PYTHON-5414 Fix &quot;module service_identity has no attribute
SICertifica...</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/b127460c908fcb8a36f3ed6c591c6d7a25333b66"><code>b127460</code></a>
[v4.13] PYTHON 5212 - Use asyncio.loop.sock_connect in
_async_create_connecti...</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/a2077f60ea8da8aeaa17d19a9e744134e90778bb"><code>a2077f6</code></a>
BUMP 4.13.2.dev0</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/5f800da807bb7772d544a6e6775c74dacdb1ffd5"><code>5f800da</code></a>
[v4.13] PYTHON-5406 - Use correct client for test (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2378">#2378</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/386d1afcb5919177ac48880321e1392e6f4b5576"><code>386d1af</code></a>
[v4.13] PYTHON-5400 Migrate away from Windows Server 2019 runner image
on Git...</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/1eee90f0e55291738b026d2cc26805efcb9d25ed"><code>1eee90f</code></a>
[v4.13] PYTHON-5405 Use legacy wait_for_read cancellation approach on
Windows...</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/09a32f6d409ba8eeb7d800abd7cf249fc6022827"><code>09a32f6</code></a>
[v4.13] PYTHON-5406 - AsyncPeriodicExecutor must reset CSOT contextvars
befor...</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/14417adc3fa2269402190b05089d4bc24c284223"><code>14417ad</code></a>
PYTHON-5411 Prep for 4.13.1 release (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2370">#2370</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/56e6f1c3585d3db6779cd90cc5d79ffc4e81b736"><code>56e6f1c</code></a>
[v4.13] Update release metadata (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2365">#2365</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mongodb/mongo-python-driver/compare/4.8.0...4.13.2">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Mattson <[email protected]>
2025-07-10 02:49:53 +00:00
Eduard van Valkenburg 003cc4c010 Python: Feature python vector stores preb (#12271)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Overhaul of the VectorStores to get it matching with dotnet and the
latest development there.

Closes: 
- #11938 
- #11598 
- #11597
- #11517 
- #10561 
- #10391 
- #9911 
- #9892 
- #10867 

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

Many changes, some highlights:
- Moved from different vector fields types, to a single with a enum
first VectorStoreField()
- Renamed several items
- Made embeddinggenerrator a part of the vector field spec and do
automatic vectorization from there or from the same param on a
collection
- Adds hybrid search using the same setup
- Removed the intermediate TextSeachVectorSearch object need, by
allowing `create_search_function` directly on a collection

Will write out full changes in a migration guide in the docs.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2025-06-19 18:34:59 +00:00
dependabot[bot] 2e8f17dadd Python: Bump google-cloud-aiplatform from 1.95.1 to 1.97.0 in /python (#12496)
Bumps
[google-cloud-aiplatform](https://github.com/googleapis/python-aiplatform)
from 1.95.1 to 1.97.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/python-aiplatform/releases">google-cloud-aiplatform's
releases</a>.</em></p>
<blockquote>
<h2>v1.97.0</h2>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.96.0...v1.97.0">1.97.0</a>
(2025-06-11)</h2>
<h3>Features</h3>
<ul>
<li>Add GenAI client (experimental) (<a
href="https://github.com/googleapis/python-aiplatform/commit/166b747b2f1676651cd020c9b66df169ca5920fa">166b747</a>)</li>
<li>Expose UrlContextMetadata API to v1 (<a
href="https://github.com/googleapis/python-aiplatform/commit/b57cbd34ca1de69ded45ea584ff5808fe30bd89c">b57cbd3</a>)</li>
<li>Expose UrlContextMetadata API to v1beta1 (<a
href="https://github.com/googleapis/python-aiplatform/commit/b57cbd34ca1de69ded45ea584ff5808fe30bd89c">b57cbd3</a>)</li>
<li>Integration with Vertex AI Multimodal Datasets: Update
<code>train_dataset</code> and <code>validation_dataset</code> in
<code>sft.train()</code> docstring to include the Vertex Multimodal
Dataset as a dataset source option. (<a
href="https://github.com/googleapis/python-aiplatform/commit/eac1de0e363624edd5abede7eb42de66c5ae4d17">eac1de0</a>)</li>
<li>RAG - Introduce configuration to corpus types, with DocumentCorpus
and MemoryCorpus options. (<a
href="https://github.com/googleapis/python-aiplatform/commit/ede4b5b718197ba077e897e49f8079f3da21422e">ede4b5b</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Add default auth scope (<a
href="https://github.com/googleapis/python-aiplatform/commit/3d747e7ea3c7b681c374c6036e008332e7e04888">3d747e7</a>)</li>
<li>Add support for ADK Agents as a supported type for agent engine (<a
href="https://github.com/googleapis/python-aiplatform/commit/6b177ca9261afb07b291d36e4b8e214d359c4296">6b177ca</a>)</li>
<li>Set memory corpus configuration into RagCorpus object. (<a
href="https://github.com/googleapis/python-aiplatform/commit/39d3c702443af4c4ef2c804d1c43f890c8915878">39d3c70</a>)</li>
</ul>
<h2>v1.96.0</h2>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.95.1...v1.96.0">1.96.0</a>
(2025-06-03)</h2>
<h3>Features</h3>
<ul>
<li>A new field <code>include_thoughts</code> is added to message
<code>.google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig</code>
(<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>A new field <code>include_thoughts</code> is added to message
<code>.google.cloud.aiplatform.v1.Part</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>A new field <code>thought_signature</code> is added to message
<code>.google.cloud.aiplatform.v1.Part</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>A new field <code>thought</code> is added to message
<code>.google.cloud.aiplatform.v1.Part</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add json schema support to structured output and function
declaration (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add json schema support to structured output and function
declaration (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add network_attachment to PscInterfaceConfig (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add psc_interface_config to CustomJobSpec (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add psc_interface_config to PersistentResource (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add psc_interface_config to PipelineJob (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Expose URL Context API to v1 (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Expose URL Context API to v1beta1 (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Small fix in <code>MultimodalDataset.toBigframes()</code>. (<a
href="https://github.com/googleapis/python-aiplatform/commit/ee12f055cb7cd42b99b0d72908243e94907f5470">ee12f05</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Allow field <code>thought</code> to be set as input (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
</ul>
<h3>Miscellaneous Chores</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/python-aiplatform/blob/main/CHANGELOG.md">google-cloud-aiplatform's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.96.0...v1.97.0">1.97.0</a>
(2025-06-11)</h2>
<h3>Features</h3>
<ul>
<li>Add GenAI client (experimental) (<a
href="https://github.com/googleapis/python-aiplatform/commit/166b747b2f1676651cd020c9b66df169ca5920fa">166b747</a>)</li>
<li>Expose UrlContextMetadata API to v1 (<a
href="https://github.com/googleapis/python-aiplatform/commit/b57cbd34ca1de69ded45ea584ff5808fe30bd89c">b57cbd3</a>)</li>
<li>Expose UrlContextMetadata API to v1beta1 (<a
href="https://github.com/googleapis/python-aiplatform/commit/b57cbd34ca1de69ded45ea584ff5808fe30bd89c">b57cbd3</a>)</li>
<li>Integration with Vertex AI Multimodal Datasets: Update
<code>train_dataset</code> and <code>validation_dataset</code> in
<code>sft.train()</code> docstring to include the Vertex Multimodal
Dataset as a dataset source option. (<a
href="https://github.com/googleapis/python-aiplatform/commit/eac1de0e363624edd5abede7eb42de66c5ae4d17">eac1de0</a>)</li>
<li>RAG - Introduce configuration to corpus types, with DocumentCorpus
and MemoryCorpus options. (<a
href="https://github.com/googleapis/python-aiplatform/commit/ede4b5b718197ba077e897e49f8079f3da21422e">ede4b5b</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Add default auth scope (<a
href="https://github.com/googleapis/python-aiplatform/commit/3d747e7ea3c7b681c374c6036e008332e7e04888">3d747e7</a>)</li>
<li>Add support for ADK Agents as a supported type for agent engine (<a
href="https://github.com/googleapis/python-aiplatform/commit/6b177ca9261afb07b291d36e4b8e214d359c4296">6b177ca</a>)</li>
<li>Set memory corpus configuration into RagCorpus object. (<a
href="https://github.com/googleapis/python-aiplatform/commit/39d3c702443af4c4ef2c804d1c43f890c8915878">39d3c70</a>)</li>
</ul>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.95.1...v1.96.0">1.96.0</a>
(2025-06-03)</h2>
<h3>Features</h3>
<ul>
<li>A new field <code>include_thoughts</code> is added to message
<code>.google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig</code>
(<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>A new field <code>include_thoughts</code> is added to message
<code>.google.cloud.aiplatform.v1.Part</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>A new field <code>thought_signature</code> is added to message
<code>.google.cloud.aiplatform.v1.Part</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>A new field <code>thought</code> is added to message
<code>.google.cloud.aiplatform.v1.Part</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add json schema support to structured output and function
declaration (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add json schema support to structured output and function
declaration (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add network_attachment to PscInterfaceConfig (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add psc_interface_config to CustomJobSpec (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add psc_interface_config to PersistentResource (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Add psc_interface_config to PipelineJob (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Expose URL Context API to v1 (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
<li>Expose URL Context API to v1beta1 (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Small fix in <code>MultimodalDataset.toBigframes()</code>. (<a
href="https://github.com/googleapis/python-aiplatform/commit/ee12f055cb7cd42b99b0d72908243e94907f5470">ee12f05</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Allow field <code>thought</code> to be set as input (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2244aac08867e292a07ec7aa958f4f0c6eea09d">f2244aa</a>)</li>
</ul>
<h3>Miscellaneous Chores</h3>
<ul>
<li>Release 1.96.0 (<a
href="https://github.com/googleapis/python-aiplatform/commit/97be629f2790b356340ed6b6ebfe78bff73afca5">97be629</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/da09275f08109a9cb39d7838cf67e7e75b10af84"><code>da09275</code></a>
chore(main): release 1.97.0 (<a
href="https://redirect.github.com/googleapis/python-aiplatform/issues/5385">#5385</a>)</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/1fe610e13e2fb76372378f5103b5d3faec0a2ab1"><code>1fe610e</code></a>
chore: add evaluate method to GenAI evals module</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/fde5c658aeea27e30a6a9d75a8813f161c725dad"><code>fde5c65</code></a>
chore: add metric handlers for GenAI evals module</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/5b1b83cf08b37ed9c01378b897434f760d01583e"><code>5b1b83c</code></a>
chore: Add evals metric validation, load/dump, and versioning utils</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/3d747e7ea3c7b681c374c6036e008332e7e04888"><code>3d747e7</code></a>
fix: Add default auth scope</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/eac1de0e363624edd5abede7eb42de66c5ae4d17"><code>eac1de0</code></a>
feat: Integration with Vertex AI Multimodal Datasets: Update
<code>train_dataset</code> ...</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/6b177ca9261afb07b291d36e4b8e214d359c4296"><code>6b177ca</code></a>
fix: Add support for ADK Agents as a supported type for agent
engine</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/b57cbd34ca1de69ded45ea584ff5808fe30bd89c"><code>b57cbd3</code></a>
Copybara import of the project:</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/9e37d2ea0ff682dadb5b81ec8c0904680e82c7b8"><code>9e37d2e</code></a>
chore: Fix sample lint</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/467e9ed78e13a9aef1b09211aa0210b84009dd3d"><code>467e9ed</code></a>
chore: add eval dataset merging utilities</li>
<li>Additional commits viewable in <a
href="https://github.com/googleapis/python-aiplatform/compare/v1.95.1...v1.97.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google-cloud-aiplatform&package-manager=pip&previous-version=1.95.1&new-version=1.97.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-19 15:21:24 +00:00
dependabot[bot] 6ab348991f Python: Bump torch from 2.7.0 to 2.7.1 in /python (#12424)
Bumps [torch](https://github.com/pytorch/pytorch) from 2.7.0 to 2.7.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytorch/pytorch/releases">torch's
releases</a>.</em></p>
<blockquote>
<h2>PyTorch 2.7.1 Release, bug fix release</h2>
<p>This release is meant to fix the following issues (regressions /
silent correctness):</p>
<h3>Torch.compile</h3>
<p>Fix Excessive cudagraph re-recording for HF LLM models (<a
href="https://redirect.github.com/pytorch/pytorch/pull/152287">#152287</a>)
Fix torch.compile on some HuggingFace models (<a
href="https://redirect.github.com/pytorch/pytorch/pull/151154">#151154</a>)
Fix crash due to Exception raised inside torch.autocast (<a
href="https://redirect.github.com/pytorch/pytorch/pull/152503">#152503</a>)
Improve Error logging in torch.compile (<a
href="https://redirect.github.com/pytorch/pytorch/pull/149831">#149831</a>)
Mark mutable custom operators as cacheable in torch.compile (<a
href="https://redirect.github.com/pytorch/pytorch/pull/151194">#151194</a>)
Implement workaround for a graph break with older version einops (<a
href="https://redirect.github.com/pytorch/pytorch/pull/153925">#153925</a>)
Fix an issue with tensor.view(dtype).copy_(...) (<a
href="https://redirect.github.com/pytorch/pytorch/pull/151598">#151598</a>)</p>
<h3>Flex Attention</h3>
<p>Fix assertion error due to inductor permuting inputs to flex
attention (<a
href="https://redirect.github.com/pytorch/pytorch/pull/151959">#151959</a>)
Fix performance regression on nanogpt speedrun (<a
href="https://redirect.github.com/pytorch/pytorch/pull/152641">#152641</a>)</p>
<h3>Distributed</h3>
<p>Fix extra CUDA context created by barrier (<a
href="https://redirect.github.com/pytorch/pytorch/pull/149144">#149144</a>)
Fix an issue related to Distributed Fused Adam in Rocm/APEX when using
nccl_ub feature (<a
href="https://redirect.github.com/pytorch/pytorch/pull/150010">#150010</a>)
Add a workaround random hang in non-blocking API mode in NCCL 2.26 (<a
href="https://redirect.github.com/pytorch/pytorch/pull/154055">#154055</a>)</p>
<h3>MacOS</h3>
<p>Fix MacOS compilation error with Clang 17 (<a
href="https://redirect.github.com/pytorch/pytorch/pull/151344">#151316</a>)
Fix binary kernels produce incorrect results when one of the tensor
arguments is from a wrapped scalar on MPS devices (<a
href="https://redirect.github.com/pytorch/pytorch/pull/152997">#152997</a>)</p>
<h3>Other</h3>
<p>Improve PyTorch Wheel size due to introduction of addition of 128 bit
vectorization (<a
href="https://redirect.github.com/pytorch/pytorch/pull/148320">#148320</a>)
(<a
href="https://redirect.github.com/pytorch/pytorch/pull/152396">#152396</a>)
Fix fmsub function definition (<a
href="https://redirect.github.com/pytorch/pytorch/pull/152075">#152075</a>)
Fix Floating point exception in torch.mkldnn_max_pool2d (<a
href="https://redirect.github.com/pytorch/pytorch/pull/151848">#151848</a>)
Fix abnormal inference output with XPU:1 device (<a
href="https://redirect.github.com/pytorch/pytorch/pull/153067">#153067</a>)
Fix Illegal Instruction Caused by grid_sample on Windows (<a
href="https://redirect.github.com/pytorch/pytorch/pull/152613">#152613</a>)
Fix ONNX decomposition does not preserve custom
CompositeImplicitAutograd ops (<a
href="https://redirect.github.com/pytorch/pytorch/pull/151826">#151826</a>)
Fix error with dynamic linking of libgomp library (<a
href="https://redirect.github.com/pytorch/pytorch/pull/150084">#150084</a>)
Fix segfault in profiler with Python 3.13 (<a
href="https://redirect.github.com/pytorch/pytorch/pull/153848">#153848</a>)</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytorch/pytorch/commit/e2d141dbde55c2a4370fac5165b0561b6af4798b"><code>e2d141d</code></a>
set thread_work_size to 4 for unrolled kernel (<a
href="https://redirect.github.com/pytorch/pytorch/issues/154541">#154541</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/121419899b9955bbd41b14a207205a9b298ed3f0"><code>1214198</code></a>
[c10d] Fix extra CUDA context created by barrier (<a
href="https://redirect.github.com/pytorch/pytorch/issues/152834">#152834</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/790cc2f02c193b955a1225cea2f79b624a3013bc"><code>790cc2f</code></a>
[c10d] Add more tests to prevent extra context (<a
href="https://redirect.github.com/pytorch/pytorch/issues/154179">#154179</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/62ea99a94771dc547320583576b0bc10ded6a3ce"><code>62ea99a</code></a>
[CI] Remove the xpu env source for linux binary validate (<a
href="https://redirect.github.com/pytorch/pytorch/issues/154409">#154409</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/941732c8298c3a5f5e72b4f744c9d723b751967e"><code>941732c</code></a>
[ROCm] Added unit test to test the cuda_pluggable allocator (<a
href="https://redirect.github.com/pytorch/pytorch/issues/154135">#154135</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/769d5da70224ee032fce196b9400927f8b515540"><code>769d5da</code></a>
[binary builds] Linux aarch64 CUDA builds. Make sure tag is set
correctly (<a
href="https://redirect.github.com/pytorch/pytorch/issues/1">#1</a>...</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/306ba122bd4653875d450a94918227a180ebe5d4"><code>306ba12</code></a>
Fix uint view copy (<a
href="https://redirect.github.com/pytorch/pytorch/issues/151598">#151598</a>)
(<a
href="https://redirect.github.com/pytorch/pytorch/issues/154121">#154121</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/1ae99532808dac1b833df6bfa37fb21f6e17aa0f"><code>1ae9953</code></a>
[ROCm] Update CUDAPluggableAllocator.h (<a
href="https://redirect.github.com/pytorch/pytorch/issues/1984">#1984</a>)
(<a
href="https://redirect.github.com/pytorch/pytorch/issues/153974">#153974</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/4a815ed15aa99dee3527011cfdd11068dcb946ad"><code>4a815ed</code></a>
ci: Set minimum cmake version for halide build (<a
href="https://redirect.github.com/pytorch/pytorch/issues/154122">#154122</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/4c7314e78c3aef08ef9ac674ef708200fb10c35c"><code>4c7314e</code></a>
[Dynamo] Fix einops regression (<a
href="https://redirect.github.com/pytorch/pytorch/issues/154053">#154053</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pytorch/pytorch/compare/v2.7.0...v2.7.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=torch&package-manager=pip&previous-version=2.7.0&new-version=2.7.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-19 05:18:34 +00:00
Evan Mattson c3c8dfabc6 Python: Bing custom search tool content support (#12415)
### Motivation and Context

In the `azure-ai-agent` package version 1.1.0b1, they provided the
`AgentsNamedToolChoiceType.BING_CUSTOM_SEARCH` enum. Adding this to then
provide support for generating bing grounding content for
streaming/non-streaming path.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

- Add BING_CUSTOM_SEARCH enum to allow for content support.
- Bumps `pyproject.toml` `azure-ai-agents` min allowed version to
`1.1.0b1` which includes this new enum.

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-06-09 23:10:44 +00:00
dependabot[bot] 576a49b7fb Python: Bump google-cloud-aiplatform from 1.93.0 to 1.95.1 in /python (#12346)
Bumps
[google-cloud-aiplatform](https://github.com/googleapis/python-aiplatform)
from 1.93.0 to 1.95.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/python-aiplatform/releases">google-cloud-aiplatform's
releases</a>.</em></p>
<blockquote>
<h2>v1.95.1</h2>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.95.0...v1.95.1">1.95.1</a>
(2025-05-30)</h2>
<h3>Features</h3>
<ul>
<li>Add support to process RAG response and generate inline citations in
RAG v1. (<a
href="https://github.com/googleapis/python-aiplatform/commit/2b2dc4fbc5d52b16159868b112affafa8ac716ae">2b2dc4f</a>)</li>
<li>Register async methods to AdkApp. (<a
href="https://github.com/googleapis/python-aiplatform/commit/cb2754de4707228bf7df7f7be078c61b77abd314">cb2754d</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Fix CachedContent.create if the kms_key_name is not given (<a
href="https://github.com/googleapis/python-aiplatform/commit/05986c068b1719de22ee32536ec592ea04ee012b">05986c0</a>)</li>
</ul>
<h3>Miscellaneous Chores</h3>
<ul>
<li>Release 1.95.1 (<a
href="https://github.com/googleapis/python-aiplatform/commit/1d2387f1e418efa8db7c1e14f37d36647662b3d2">1d2387f</a>)</li>
</ul>
<h2>v1.95.0</h2>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.94.0...v1.95.0">1.95.0</a>
(2025-05-28)</h2>
<h3>Features</h3>
<ul>
<li>[vertexai] Fix the result of export function (<a
href="https://github.com/googleapis/python-aiplatform/commit/9427b158dd9d3d8a6ec56024484855947d4a0eac">9427b15</a>)</li>
<li>Add async support for reasoning engine. (<a
href="https://github.com/googleapis/python-aiplatform/commit/1b7d29cb8727a8ce49f849705451aba64c4f88dd">1b7d29c</a>)</li>
<li>Introduce RAG as context/memory store for Gemini Live API (<a
href="https://github.com/googleapis/python-aiplatform/commit/787c60fc1f79f80c693df1300f8a33cc17a08ee1">787c60f</a>)</li>
<li>Update AdkApp template to match ADK async interface. After this
change, AdkApp will only work with ADK &gt;= 1.0.0. (<a
href="https://github.com/googleapis/python-aiplatform/commit/e1745d7767780613de2211ef0fb302105eff9cef">e1745d7</a>)</li>
</ul>
<h2>v1.94.0</h2>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.93.1...v1.94.0">1.94.0</a>
(2025-05-22)</h2>
<h3>Features</h3>
<ul>
<li>Add checkpoint ID to endpoint proto (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Add checkpoint ID to endpoint proto (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Add encryption_spec to Model Monitoring public preview API (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Add VertexAISearch.max_results, filter, data_store_specs options (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Add VertexAISearch.max_results, filter, data_store_specs options (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Adding thoughts_token_count to prediction service (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Adding thoughts_token_count to v1beta1 client library (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Update preview <code>create_corpus</code> to accept
<code>encryption_spec</code> in <code>rag_data.py</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/ad821c58f834981adb9759013248e7156f3706b9">ad821c5</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Throw error when user is using google-adk&gt;=1.0.0 as it is not
well supported for now. (<a
href="https://github.com/googleapis/python-aiplatform/commit/634bb78c32168fac7ac084a1fcbdede8e45bdae8">634bb78</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/python-aiplatform/blob/main/CHANGELOG.md">google-cloud-aiplatform's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.95.0...v1.95.1">1.95.1</a>
(2025-05-30)</h2>
<h3>Features</h3>
<ul>
<li>Add support to process RAG response and generate inline citations in
RAG v1. (<a
href="https://github.com/googleapis/python-aiplatform/commit/2b2dc4fbc5d52b16159868b112affafa8ac716ae">2b2dc4f</a>)</li>
<li>Register async methods to AdkApp. (<a
href="https://github.com/googleapis/python-aiplatform/commit/cb2754de4707228bf7df7f7be078c61b77abd314">cb2754d</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Fix CachedContent.create if the kms_key_name is not given (<a
href="https://github.com/googleapis/python-aiplatform/commit/05986c068b1719de22ee32536ec592ea04ee012b">05986c0</a>)</li>
</ul>
<h3>Miscellaneous Chores</h3>
<ul>
<li>Release 1.95.1 (<a
href="https://github.com/googleapis/python-aiplatform/commit/1d2387f1e418efa8db7c1e14f37d36647662b3d2">1d2387f</a>)</li>
</ul>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.94.0...v1.95.0">1.95.0</a>
(2025-05-28)</h2>
<h3>Features</h3>
<ul>
<li>[vertexai] Fix the result of export function (<a
href="https://github.com/googleapis/python-aiplatform/commit/9427b158dd9d3d8a6ec56024484855947d4a0eac">9427b15</a>)</li>
<li>Add async support for reasoning engine. (<a
href="https://github.com/googleapis/python-aiplatform/commit/1b7d29cb8727a8ce49f849705451aba64c4f88dd">1b7d29c</a>)</li>
<li>Introduce RAG as context/memory store for Gemini Live API (<a
href="https://github.com/googleapis/python-aiplatform/commit/787c60fc1f79f80c693df1300f8a33cc17a08ee1">787c60f</a>)</li>
<li>Update AdkApp template to match ADK async interface. After this
change, AdkApp will only work with ADK &gt;= 1.0.0. (<a
href="https://github.com/googleapis/python-aiplatform/commit/e1745d7767780613de2211ef0fb302105eff9cef">e1745d7</a>)</li>
</ul>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.93.1...v1.94.0">1.94.0</a>
(2025-05-22)</h2>
<h3>Features</h3>
<ul>
<li>Add checkpoint ID to endpoint proto (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Add checkpoint ID to endpoint proto (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Add encryption_spec to Model Monitoring public preview API (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Add VertexAISearch.max_results, filter, data_store_specs options (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Add VertexAISearch.max_results, filter, data_store_specs options (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Adding thoughts_token_count to prediction service (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Adding thoughts_token_count to v1beta1 client library (<a
href="https://github.com/googleapis/python-aiplatform/commit/f0812e3983df66ca4b53add8f8a8e9a4a9a7699a">f0812e3</a>)</li>
<li>Update preview <code>create_corpus</code> to accept
<code>encryption_spec</code> in <code>rag_data.py</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/ad821c58f834981adb9759013248e7156f3706b9">ad821c5</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Throw error when user is using google-adk&gt;=1.0.0 as it is not
well supported for now. (<a
href="https://github.com/googleapis/python-aiplatform/commit/634bb78c32168fac7ac084a1fcbdede8e45bdae8">634bb78</a>)</li>
</ul>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.93.0...v1.93.1">1.93.1</a>
(2025-05-20)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/060ff3bd214308e71d8cd5f8458e2bc72e943096"><code>060ff3b</code></a>
chore(main): release 1.95.1 (<a
href="https://redirect.github.com/googleapis/python-aiplatform/issues/5363">#5363</a>)</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/1d2387f1e418efa8db7c1e14f37d36647662b3d2"><code>1d2387f</code></a>
chore: release 1.95.1</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/05986c068b1719de22ee32536ec592ea04ee012b"><code>05986c0</code></a>
fix: Fix CachedContent.create if the kms_key_name is not given</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/b7968d8fb303e6c0ae2e5a1f5e51a824ed04e42e"><code>b7968d8</code></a>
chore: Update Gen AI types</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/17a6385c8402eafe0db09aad430dff7788ff49b5"><code>17a6385</code></a>
chore: Update Gen AI types</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/cb2754de4707228bf7df7f7be078c61b77abd314"><code>cb2754d</code></a>
feat: Register async methods to AdkApp.</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/4aa9eee4f89767bcec22ae56a2c1ad4393c4ff45"><code>4aa9eee</code></a>
Copybara import of the project:</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/2b2dc4fbc5d52b16159868b112affafa8ac716ae"><code>2b2dc4f</code></a>
feat: add support to process RAG response and generate inline citations
in RA...</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/d0a2bab3ee01f955a5da8b1175f258b974d0229b"><code>d0a2bab</code></a>
chore(main): release 1.95.0 (<a
href="https://redirect.github.com/googleapis/python-aiplatform/issues/5350">#5350</a>)</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/787c60fc1f79f80c693df1300f8a33cc17a08ee1"><code>787c60f</code></a>
Copybara import of the project:</li>
<li>Additional commits viewable in <a
href="https://github.com/googleapis/python-aiplatform/compare/v1.93.0...v1.95.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google-cloud-aiplatform&package-manager=pip&previous-version=1.93.0&new-version=1.95.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-09 21:17:21 +00:00
Evan Mattson fb0e418a7c Python: Fix for AzureAIAgent streaming func call invocations. Other fixes/improvements for tool call content types, and logging. (#12335)
### Motivation and Context

The AzureAIAgent streaming function call invocation is broken when
handling more than one required function call from the service. There is
nested logic to handle passing the tool calls back to the service
because it requires one to pass in a handler.

In this PR, we're now controlling everything from the main loop and are
passing back the handler as the event stream for further processing.
This does require some logic to determine if we have an initial async
context manager (based on the first call to create the run stream) or if
we're now using the handler from submitting tool calls. We can now see
that when we have multiple functions involved, we are able to get the
results as we expect:

```
Sample Output:

# User: 'What is the price of the special drink and then special food item added together?'
Function Call:> MenuPlugin-get_specials with arguments: {}
Function Result:> 
        Special Soup: Clam Chowder
        Special Salad: Cobb Salad
        Special Drink: Chai Tea
        for function: MenuPlugin-get_specials
Function Call:> MenuPlugin-get_item_price with arguments: {"menu_item": "Chai Tea"}
Function Call:> MenuPlugin-get_item_price with arguments: {"menu_item": "Clam Chowder"}
Function Result:> $9.99 for function: MenuPlugin-get_item_price
Function Result:> $9.99 for function: MenuPlugin-get_item_price
Function Call:> MathPlugin-Add with arguments: {"input":9.99,"amount":9.99}
Function Result:> 19.98 for function: MathPlugin-Add
# AuthorRole.ASSISTANT: The price of the special drink, Chai Tea, is $9.99 and the price of the special food 
    item, Clam Chowder, is $9.99. Added together, the total price is $19.98.
```

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

Fix handling multiple function calls for the streaming AzureAIAgent.
- Fixes a missing `quote` from the url citation for streaming annotation
content
- Shows the correct way to retrieve Bing Grounding tool calls in the two
concept samples.
- Adds handling for tool content content for OpenAPI plugins.
- Adds logging for streaming agent invocation tool calls.
- Relaxes the handling of the `FunctionResultContent` id attribute to be
`str | None` similar to that of `FunctionCallContent`. The type hints
for `id` have always been `str | None`, but the actual type hint on the
attribute has been `str`. We don't always get a `FunctionResultContent`
id from the Azure Agent Service during streaming invocations - message
addition via the overide `__add__` method still work properly.
- Move the AzureAIAgent pkg dependencies to be installed by default,
instead of requiring the `azure` extra.
- Closes #12312
- Closes #12328
- Closes #12331
- Closes #12324

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-06-03 01:11:56 +00:00
Eduard van Valkenburg f5017a1d64 Python: updated onnx deps (#12251)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Updated onnx dependencies, since it now supports both python 3.13 and
all platforms.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
2025-05-23 16:29:00 +00:00
dependabot[bot] 16ccfba25d Python: Update redis[hiredis] requirement from ~=5.0 to >=5,<7 in /python (#12179)
Updates the requirements on
[redis[hiredis]](https://github.com/redis/redis-py) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/redis/redis-py/releases">redis[hiredis]'s
releases</a>.</em></p>
<blockquote>
<h2>6.1.0</h2>
<h1>Changes</h1>
<h2>🚀 New Features</h2>
<ul>
<li>Support for transactions in <code>RedisCluster</code> client (<a
href="https://redirect.github.com/redis/redis-py/issues/3611">#3611</a>)</li>
<li>Add equality and hashability to <code>Retry</code> and backoff
classes (<a
href="https://redirect.github.com/redis/redis-py/issues/3628">#3628</a>)</li>
</ul>
<h2>🐛 Bug Fixes</h2>
<ul>
<li>Fix RedisCluster <code>ssl_check_hostname</code> not set to
connections. For SSL verification with
<code>ssl_cert_reqs=&quot;none&quot;</code>, check_hostname is set to
<code>False</code> (<a
href="https://redirect.github.com/redis/redis-py/issues/3637">#3637</a>)</li>
<li>Prevent RuntimeError while reinitializing clusters - sync and async
(<a
href="https://redirect.github.com/redis/redis-py/issues/3633">#3633</a>)</li>
<li>Add equality and hashability to <code>Retry</code> and backoff
classes (<a
href="https://redirect.github.com/redis/redis-py/issues/3628">#3628</a>)
- fixes integration with Django RQ</li>
<li>Fix <code>AttributeError</code> on <code>ClusterPipeline</code> (<a
href="https://redirect.github.com/redis/redis-py/issues/3634">#3634</a>)</li>
</ul>
<h2>🧰 Maintenance</h2>
<ul>
<li>Updating the readme and lib version to contain the changes from the
latest stable release (<a
href="https://redirect.github.com/redis/redis-py/issues/3644">#3644</a>)</li>
<li>Export <code>REDIS_MAJOR_VERSION</code> correctly in run-tests (<a
href="https://redirect.github.com/redis/redis-py/issues/3642">#3642</a>)</li>
<li>Fix matrix in <code>hiredis-py-integration.yaml</code> (<a
href="https://redirect.github.com/redis/redis-py/issues/3641">#3641</a>)</li>
<li>Test against unstable hiredis-py (<a
href="https://redirect.github.com/redis/redis-py/issues/3617">#3617</a>)</li>
<li>Adding return types for the <code>RedisModuleCommands</code> class
(<a
href="https://redirect.github.com/redis/redis-py/issues/3632">#3632</a>)</li>
<li>Updating Redis 8 test image for GH pipeline (<a
href="https://redirect.github.com/redis/redis-py/issues/3639">#3639</a>)</li>
<li>Allow newer PyJWT versions (<a
href="https://redirect.github.com/redis/redis-py/issues/3636">#3636</a>)</li>
<li>Change type hints with possible <code>None</code> args or return
types to be annotated with <code>Optional</code> - includes commands in
<code>core.py</code> and json commands (<a
href="https://redirect.github.com/redis/redis-py/issues/3610">#3610</a>)</li>
</ul>
<h2>🙏 Special Thanks</h2>
<p>A big thank you to our collaborators at Scopely for their valuable
contributions to this release! Your support and improvements help move
the project forward — we appreciate it!</p>
<h2>Contributors</h2>
<p>We'd like to thank all the contributors who worked on this release!
<a
href="https://github.com/robertosantamaria-scopely"><code>@​robertosantamaria-scopely</code></a>
<a href="https://github.com/sentrivana"><code>@​sentrivana</code></a> <a
href="https://github.com/terencehonles"><code>@​terencehonles</code></a>
<a href="https://github.com/kesha1225"><code>@​kesha1225</code></a> <a
href="https://github.com/aberres"><code>@​aberres</code></a> <a
href="https://github.com/uglide"><code>@​uglide</code></a> <a
href="https://github.com/omerfeyzioglu"><code>@​omerfeyzioglu</code></a>
<a
href="https://github.com/petyaslavova"><code>@​petyaslavova</code></a>
<a
href="https://github.com/vladvildanov"><code>@​vladvildanov</code></a>
<a
href="https://github.com/andy-stark-redis"><code>@​andy-stark-redis</code></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/redis/redis-py/commit/3331a424c1e65e1e8b6f025bd6a2a90a672e4a63"><code>3331a42</code></a>
Adding comment for the lib version in <strong>init</strong>.py (to force
ci pipeline execu...</li>
<li><a
href="https://github.com/redis/redis-py/commit/def589d362cfd42992841fa0cfe0a1aa8fc38794"><code>def589d</code></a>
Fix Readme formatting for Installation section</li>
<li><a
href="https://github.com/redis/redis-py/commit/0d28291d24d56fc6f95aa0a36f4f3d93a6835e04"><code>0d28291</code></a>
Updating the readme and lib version to contain the changes from the
latest st...</li>
<li><a
href="https://github.com/redis/redis-py/commit/e9f22ddcba13173f1a2b3010f4e2a339a5b7fa57"><code>e9f22dd</code></a>
Fix RedisCluster ssl_check_hostname not set to connections. For SSL
verifica...</li>
<li><a
href="https://github.com/redis/redis-py/commit/91be4a0ff39556d5e270897740369d0b1cf9e044"><code>91be4a0</code></a>
Multi exec on cluster (<a
href="https://redirect.github.com/redis/redis-py/issues/3611">#3611</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/02b2ab604f796b42465c75bd74d633f34f2d7cf7"><code>02b2ab6</code></a>
Export REDIS_MAJOR_VERSION correctly in run-tests (<a
href="https://redirect.github.com/redis/redis-py/issues/3642">#3642</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/92e2ff73e6ad3c1f9b437dd4dc15edf1131f477c"><code>92e2ff7</code></a>
Fix matrix in hiredis-py-integration.yaml (<a
href="https://redirect.github.com/redis/redis-py/issues/3641">#3641</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/7130e1ad913f51abc0de1886a52cfd6338e1beee"><code>7130e1a</code></a>
Test against unstable hiredis-py (<a
href="https://redirect.github.com/redis/redis-py/issues/3617">#3617</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/4fd1100dc3823d376a46d9efb6347f4c249eee7c"><code>4fd1100</code></a>
Adding return types for the RedisModuleCommands class (<a
href="https://redirect.github.com/redis/redis-py/issues/3632">#3632</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/e13c42b8f4a98228ca4d193253cbfda87f36f467"><code>e13c42b</code></a>
Prevent RuntimeError while reinitializing clusters - sync and async (<a
href="https://redirect.github.com/redis/redis-py/issues/3633">#3633</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/redis/redis-py/compare/v5.0.0...v6.1.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-20 11:51:14 +00:00
dependabot[bot] 4d58a67b53 Python: Bump google-cloud-aiplatform from 1.91.0 to 1.93.0 in /python (#12178)
Bumps
[google-cloud-aiplatform](https://github.com/googleapis/python-aiplatform)
from 1.91.0 to 1.93.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/python-aiplatform/releases">google-cloud-aiplatform's
releases</a>.</em></p>
<blockquote>
<h2>v1.93.0</h2>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.92.0...v1.93.0">1.93.0</a>
(2025-05-15)</h2>
<h3>Features</h3>
<ul>
<li>A new value <code>NVIDIA_B200 &amp; NVIDIA_H200_141GB</code> is
added to enum <code>AcceleratorType</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Add <code>MultimodalDataset.toBigframes()</code> method to convert
dataset to a Bigframes Dataframe object and inspect the dataset in the
notebook. (<a
href="https://github.com/googleapis/python-aiplatform/commit/64dfdbcbf050b8e818a1d0c8c510fbba492247f8">64dfdbc</a>)</li>
<li>Add ANN feature for RagManagedDb (<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Add EncryptionSpec for RagCorpus CMEK feature (<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Add support for system paths in ModuleAgent (<a
href="https://github.com/googleapis/python-aiplatform/commit/8c95d3fdaf77a6a82cd5ca076d26ad0e7ec798d9">8c95d3f</a>)</li>
<li>Allow customers to set kms_key_name for context caching create
method (<a
href="https://github.com/googleapis/python-aiplatform/commit/c551cc63cc133b2c434e19ec510b6252bed7b7f5">c551cc6</a>)</li>
<li>GenAI - Release the Model Garden SDK to GA (<a
href="https://github.com/googleapis/python-aiplatform/commit/49c3418fdde0e7aca5d08cab24cb462548a017c5">49c3418</a>)</li>
<li>New field <code>additional_properties</code> is added to message
<code>.google.cloud.aiplatform.v1.Schema</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Populate agent_framework field in the RE spec. (<a
href="https://github.com/googleapis/python-aiplatform/commit/0a127fd26d10dbb81d33cbc9e7e1e12b457b9f27">0a127fd</a>)</li>
<li>RAG - Add ANN and KNN retrieval strategies for RagManagedDb in
preview (<a
href="https://github.com/googleapis/python-aiplatform/commit/8c0bf19fdd9f60c73ff6269713f64b2a0a6c75fb">8c0bf19</a>)</li>
<li>Support async stream query in agent engines and adk template. (<a
href="https://github.com/googleapis/python-aiplatform/commit/0c4f4a6a64bdc67e33724628cac530bf6bd388f4">0c4f4a6</a>)</li>
<li>Support Python 3.13 for reasoning engine. (<a
href="https://github.com/googleapis/python-aiplatform/commit/51b13e5b0169e65cf880c2da5a1bc2672f44ca24">51b13e5</a>)</li>
<li>Update v1 sdk to support llmparser in import file functions (<a
href="https://github.com/googleapis/python-aiplatform/commit/03a7861e0f9339c472f58f991b267fcda0e95245">03a7861</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Fix the type annotation for content dictionaries in AdkApp (<a
href="https://github.com/googleapis/python-aiplatform/commit/674beaaeffa203a1f4962f7afd66f1c959fb9e12">674beaa</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix links and typos (<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Remove comments for a non public feature (<a
href="https://redirect.github.com/googleapis/python-aiplatform/issues/5301">#5301</a>)
(<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Update doc publisher for Gemini docs (<a
href="https://github.com/googleapis/python-aiplatform/commit/6700e3dbd85fd6a7c0bcefe9d8d13dab438d0c81">6700e3d</a>)</li>
</ul>
<h2>v1.92.0</h2>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.91.0...v1.92.0">1.92.0</a>
(2025-05-08)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li>Removed support for session resource paths that do not include
reasoning engine</li>
</ul>
<h3>Features</h3>
<ul>
<li>[vertexai] Added a concise option to
<code>OpenModel.list_deploy_options()</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/acc301a9742601cbb2439cc270f4faa6e8783a40">acc301a</a>)</li>
<li>[vertexai] Added system labels to <code>OpenModel.deploy()</code>
(<a
href="https://github.com/googleapis/python-aiplatform/commit/acc301a9742601cbb2439cc270f4faa6e8783a40">acc301a</a>)</li>
<li>A new field <code>system_labels</code> is added to message
<code>google.cloud.aiplatform.v1beta1.DeployRequest</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/1f98f4ef509a54978afde0d36b5f85f3d7e709e5">1f98f4e</a>)</li>
<li>Add <code>enable_custom_service_account</code> parameter (must be
set to <code>True</code> for successful Persistent Resource). The
<code>service_account</code> parameter is retained for backward
compatibility. (<a
href="https://github.com/googleapis/python-aiplatform/commit/bf79bdf643c60e72b15f414dba964e9da2eb2d7f">bf79bdf</a>)</li>
<li>Add dedicated_endpoint_enabled and dedicated_endpoint_dns property.
(<a
href="https://github.com/googleapis/python-aiplatform/commit/32ee6d9d6be8824ea482964bfd3064ac0832aef5">32ee6d9</a>)</li>
<li>Add gemini_request_read_config field to AssembleDataRequest and
AssessDataRequest in aiplatform v1beta (<a
href="https://github.com/googleapis/python-aiplatform/commit/1f98f4ef509a54978afde0d36b5f85f3d7e709e5">1f98f4e</a>)</li>
<li>Add google.genai.types.Content as an allowed message type to ADK's
stream_query method (<a
href="https://github.com/googleapis/python-aiplatform/commit/6b131d134d93e43ad3cfde5c3deb43a1a007ef32">6b131d1</a>)</li>
<li>Adding ThinkingConfig to v1 client library (<a
href="https://github.com/googleapis/python-aiplatform/commit/1f98f4ef509a54978afde0d36b5f85f3d7e709e5">1f98f4e</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/python-aiplatform/blob/main/CHANGELOG.md">google-cloud-aiplatform's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.92.0...v1.93.0">1.93.0</a>
(2025-05-15)</h2>
<h3>Features</h3>
<ul>
<li>A new value <code>NVIDIA_B200 &amp; NVIDIA_H200_141GB</code> is
added to enum <code>AcceleratorType</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Add <code>MultimodalDataset.toBigframes()</code> method to convert
dataset to a Bigframes Dataframe object and inspect the dataset in the
notebook. (<a
href="https://github.com/googleapis/python-aiplatform/commit/64dfdbcbf050b8e818a1d0c8c510fbba492247f8">64dfdbc</a>)</li>
<li>Add ANN feature for RagManagedDb (<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Add EncryptionSpec for RagCorpus CMEK feature (<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Add support for system paths in ModuleAgent (<a
href="https://github.com/googleapis/python-aiplatform/commit/8c95d3fdaf77a6a82cd5ca076d26ad0e7ec798d9">8c95d3f</a>)</li>
<li>Allow customers to set kms_key_name for context caching create
method (<a
href="https://github.com/googleapis/python-aiplatform/commit/c551cc63cc133b2c434e19ec510b6252bed7b7f5">c551cc6</a>)</li>
<li>GenAI - Release the Model Garden SDK to GA (<a
href="https://github.com/googleapis/python-aiplatform/commit/49c3418fdde0e7aca5d08cab24cb462548a017c5">49c3418</a>)</li>
<li>New field <code>additional_properties</code> is added to message
<code>.google.cloud.aiplatform.v1.Schema</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Populate agent_framework field in the RE spec. (<a
href="https://github.com/googleapis/python-aiplatform/commit/0a127fd26d10dbb81d33cbc9e7e1e12b457b9f27">0a127fd</a>)</li>
<li>RAG - Add ANN and KNN retrieval strategies for RagManagedDb in
preview (<a
href="https://github.com/googleapis/python-aiplatform/commit/8c0bf19fdd9f60c73ff6269713f64b2a0a6c75fb">8c0bf19</a>)</li>
<li>Support async stream query in agent engines and adk template. (<a
href="https://github.com/googleapis/python-aiplatform/commit/0c4f4a6a64bdc67e33724628cac530bf6bd388f4">0c4f4a6</a>)</li>
<li>Support Python 3.13 for reasoning engine. (<a
href="https://github.com/googleapis/python-aiplatform/commit/51b13e5b0169e65cf880c2da5a1bc2672f44ca24">51b13e5</a>)</li>
<li>Update v1 sdk to support llmparser in import file functions (<a
href="https://github.com/googleapis/python-aiplatform/commit/03a7861e0f9339c472f58f991b267fcda0e95245">03a7861</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Fix the type annotation for content dictionaries in AdkApp (<a
href="https://github.com/googleapis/python-aiplatform/commit/674beaaeffa203a1f4962f7afd66f1c959fb9e12">674beaa</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix links and typos (<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Remove comments for a non public feature (<a
href="https://redirect.github.com/googleapis/python-aiplatform/issues/5301">#5301</a>)
(<a
href="https://github.com/googleapis/python-aiplatform/commit/02236be891c90dd6ceb45e79968715e144facdaa">02236be</a>)</li>
<li>Update doc publisher for Gemini docs (<a
href="https://github.com/googleapis/python-aiplatform/commit/6700e3dbd85fd6a7c0bcefe9d8d13dab438d0c81">6700e3d</a>)</li>
</ul>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.91.0...v1.92.0">1.92.0</a>
(2025-05-08)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li>Removed support for session resource paths that do not include
reasoning engine</li>
</ul>
<h3>Features</h3>
<ul>
<li>[vertexai] Added a concise option to
<code>OpenModel.list_deploy_options()</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/acc301a9742601cbb2439cc270f4faa6e8783a40">acc301a</a>)</li>
<li>[vertexai] Added system labels to <code>OpenModel.deploy()</code>
(<a
href="https://github.com/googleapis/python-aiplatform/commit/acc301a9742601cbb2439cc270f4faa6e8783a40">acc301a</a>)</li>
<li>A new field <code>system_labels</code> is added to message
<code>google.cloud.aiplatform.v1beta1.DeployRequest</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/1f98f4ef509a54978afde0d36b5f85f3d7e709e5">1f98f4e</a>)</li>
<li>Add <code>enable_custom_service_account</code> parameter (must be
set to <code>True</code> for successful Persistent Resource). The
<code>service_account</code> parameter is retained for backward
compatibility. (<a
href="https://github.com/googleapis/python-aiplatform/commit/bf79bdf643c60e72b15f414dba964e9da2eb2d7f">bf79bdf</a>)</li>
<li>Add dedicated_endpoint_enabled and dedicated_endpoint_dns property.
(<a
href="https://github.com/googleapis/python-aiplatform/commit/32ee6d9d6be8824ea482964bfd3064ac0832aef5">32ee6d9</a>)</li>
<li>Add gemini_request_read_config field to AssembleDataRequest and
AssessDataRequest in aiplatform v1beta (<a
href="https://github.com/googleapis/python-aiplatform/commit/1f98f4ef509a54978afde0d36b5f85f3d7e709e5">1f98f4e</a>)</li>
<li>Add google.genai.types.Content as an allowed message type to ADK's
stream_query method (<a
href="https://github.com/googleapis/python-aiplatform/commit/6b131d134d93e43ad3cfde5c3deb43a1a007ef32">6b131d1</a>)</li>
<li>Adding ThinkingConfig to v1 client library (<a
href="https://github.com/googleapis/python-aiplatform/commit/1f98f4ef509a54978afde0d36b5f85f3d7e709e5">1f98f4e</a>)</li>
<li>Adding ThinkingConfig to v1beta1 client library (<a
href="https://github.com/googleapis/python-aiplatform/commit/1f98f4ef509a54978afde0d36b5f85f3d7e709e5">1f98f4e</a>)</li>
<li>Allow customers to set encryption_spec for context caching (<a
href="https://github.com/googleapis/python-aiplatform/commit/1f98f4ef509a54978afde0d36b5f85f3d7e709e5">1f98f4e</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/9f56f82ea35ba1070a323527cf84d8698356282e"><code>9f56f82</code></a>
chore(main): release 1.93.0 (<a
href="https://redirect.github.com/googleapis/python-aiplatform/issues/5307">#5307</a>)</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/6700e3dbd85fd6a7c0bcefe9d8d13dab438d0c81"><code>6700e3d</code></a>
docs: update doc publisher for Gemini docs</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/8c0bf19fdd9f60c73ff6269713f64b2a0a6c75fb"><code>8c0bf19</code></a>
feat: RAG - Add ANN and KNN retrieval strategies for RagManagedDb in
preview</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/0a127fd26d10dbb81d33cbc9e7e1e12b457b9f27"><code>0a127fd</code></a>
feat: Populate agent_framework field in the RE spec.</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/49c3418fdde0e7aca5d08cab24cb462548a017c5"><code>49c3418</code></a>
feat: GenAI - Release the Model Garden SDK to GA</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/51b13e5b0169e65cf880c2da5a1bc2672f44ca24"><code>51b13e5</code></a>
feat: Support Python 3.13 for reasoning engine.</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/a433de2b03f68f1d8f008c714206bc18c790d555"><code>a433de2</code></a>
chore: migrate to the read config field in multimodal dataset API
requests</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/c551cc63cc133b2c434e19ec510b6252bed7b7f5"><code>c551cc6</code></a>
feat: allow customers to set kms_key_name for context caching create
method</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/64dfdbcbf050b8e818a1d0c8c510fbba492247f8"><code>64dfdbc</code></a>
feat: Add <code>MultimodalDataset.toBigframes()</code> method to convert
dataset to a Bi...</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/0c4f4a6a64bdc67e33724628cac530bf6bd388f4"><code>0c4f4a6</code></a>
feat: Support async stream query in agent engines and adk template.</li>
<li>Additional commits viewable in <a
href="https://github.com/googleapis/python-aiplatform/compare/v1.91.0...v1.93.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google-cloud-aiplatform&package-manager=pip&previous-version=1.91.0&new-version=1.93.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-20 11:39:43 +00:00
dependabot[bot] 710977600a Python: Bump onnxruntime from 1.21.0 to 1.22.0 in /python (#12022)
Bumps [onnxruntime](https://github.com/microsoft/onnxruntime) from
1.21.0 to 1.22.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/onnxruntime/releases">onnxruntime's
releases</a>.</em></p>
<blockquote>
<h2>ONNX Runtime v1.22</h2>
<h2>Announcements</h2>
<ul>
<li>This release introduces new API's for Model Editor, Auto EP
infrastructure, and AOT Compile</li>
<li>OnnxRuntime GPU packages require CUDA 12.x , packages built for CUDA
11.x are no longer published.</li>
</ul>
<h2>GenAI &amp; Advanced Model Features</h2>
<ul>
<li><strong>Constrained Decoding:</strong> Introduced new capabilities
for constrained decoding, offering more control over generative AI model
outputs.</li>
</ul>
<h2>Execution &amp; Core Optimizations</h2>
<h3>Core</h3>
<ul>
<li><strong>Auto EP Selection Infrastructure:</strong> Added
foundational infrastructure to enable automatic selection of Execution
Providers via selection policies, aiming to simplify configuration and
optimize performance. (Pull Request <a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24430">#24430</a>)</li>
<li><strong>Compile API:</strong> Introduced new APIs to support
explicit compilation of ONNX models.
<ul>
<li>See: <a
href="https://onnxruntime.ai/docs/api/c/struct_ort_compile_api.html">OrtCompileApi
Struct Reference</a> (Assuming a similar link structure for future
documentation)</li>
<li>See: <a
href="https://onnxruntime.ai/docs/api/c/struct_ort_ep_context.html">EP
Context Design</a> (Assuming a similar link structure for future
documentation)</li>
</ul>
</li>
<li><strong>Model Editor API</strong> api's for creating or editing ONNX
models
<ul>
<li>See: <a
href="https://onnxruntime.ai/docs/api/c/struct_ort_model_editor_api.html#details">OrtModelEditorApi</a></li>
</ul>
</li>
</ul>
<h3>Execution Provider (EP) Updates</h3>
<h4>CPU EP/MLAS</h4>
<ul>
<li><strong>KleidiAI Integration:</strong> Integrated KleidiAI into ONNX
Runtime/MLAS for enhanced performance on Arm architectures.</li>
<li><strong>MatMulNBits Support:</strong> Added support for
<code>MatMulNBits</code>, enabling matrix multiplication with weights
quantized to 8 bits.</li>
<li><strong>GroupQueryAttention optimizations and
enhancements</strong></li>
</ul>
<h4>OpenVINO EP</h4>
<ul>
<li>Added support up to OpenVINO 2025.1</li>
<li>Introduced Intel compiler level optimizations for QDQ models.</li>
<li>Added support to select Intel devices based on LUID</li>
<li>Load_config feature improvement to support AUTO, HETERO and MULTI
plugin.</li>
<li>misc bugfixes/optimizations</li>
<li>For detailed updates, refer to Pull Request <a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24394">#24394</a>:
<a
href="https://redirect.github.com/microsoft/onnxruntime/pull/24394">ONNXRuntime
OpenVINO - Release 1.22</a></li>
</ul>
<h4>QNN EP</h4>
<ul>
<li><strong>SDK Update:</strong> Added support for QNN SDK 2.33.2.</li>
<li>operator updates/support to Sum, Softmax, Upsample, Expand,
ScatterND, Einsum</li>
<li>QNN EP can be built as shared or static library.</li>
<li>enable QnnGpu backend</li>
<li>For detailed updates refer to <a
href="https://github.com/microsoft/onnxruntime/pulls?q=is%3Apr+qnn+ep+is%3Aclosed+label%3Aep%3AQNN">recent
QNN tagged PR's</a></li>
</ul>
<h4>TensorRT EP</h4>
<ul>
<li><strong>TensorRT Version:</strong> Added support for TensorRT 10.9.
<ul>
<li><strong>Note for onnx-tensorrt open-source parser users:</strong>
Please check <a
href="https://onnxruntime.ai/docs/build/eps.html#note-to-ort-1210-open-sourced-parser-users">here</a>
for specific requirements (Referencing 1.21 link as a placeholder, this
should be updated for 1.22).</li>
</ul>
</li>
<li><strong>New Features:</strong>
<ul>
<li>EP option to enable TRT Preview Feature</li>
<li>Support to load TensorRT V3 plugin</li>
</ul>
</li>
<li><strong>Bug Fixes:</strong>
<ul>
<li>Resolved an issue related to multithreading scenarios.</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/onnxruntime/commit/f217402897f40ebba457e2421bc0a4702771968e"><code>f217402</code></a>
Cherry pick fix for NuGet DML Release package Issue (<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24696">#24696</a>)</li>
<li><a
href="https://github.com/microsoft/onnxruntime/commit/6c8097a07e4f47e841e290d820a39b447c5a6259"><code>6c8097a</code></a>
Qnn nuget package update for arm64x (<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24690">#24690</a>)
(<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24694">#24694</a>)</li>
<li><a
href="https://github.com/microsoft/onnxruntime/commit/6b0f7c9c0dd02c415b2231487d429a1e3679133d"><code>6b0f7c9</code></a>
Revert &quot;Publish debug symbols for windows (<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24643">#24643</a>)
(<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24651">#24651</a>)&quot;
(<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24668">#24668</a>)</li>
<li><a
href="https://github.com/microsoft/onnxruntime/commit/8fbc5d7880707bc0c9decc5001f67881ee885f43"><code>8fbc5d7</code></a>
Publish debug symbols for windows (<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24643">#24643</a>)
(<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24651">#24651</a>)</li>
<li><a
href="https://github.com/microsoft/onnxruntime/commit/d08403c5b7fd04f2214560d6f965c0de854f6f13"><code>d08403c</code></a>
Add support for selection policy delegate (based on PR <a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24653">#24653</a>)
(<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24638">#24638</a>)</li>
<li><a
href="https://github.com/microsoft/onnxruntime/commit/93f85fb7b295dca6cde78b5f3c41015423d7e33a"><code>93f85fb</code></a>
Cherry pick <a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24629">#24629</a>
(QNN prefer npu) into rel-1.22.0 (<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24630">#24630</a>)</li>
<li><a
href="https://github.com/microsoft/onnxruntime/commit/ab9141ee272f9ebd73dfba22a97d0d8d5ec36454"><code>ab9141e</code></a>
Cherry pick <a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24625">#24625</a>
into rel-1.22.0 (<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24626">#24626</a>)</li>
<li><a
href="https://github.com/microsoft/onnxruntime/commit/d66cff1da78951912bdffc7e97d47f5a93e6171f"><code>d66cff1</code></a>
Cherry-picks into rel-1.22.0 (<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24624">#24624</a>)</li>
<li><a
href="https://github.com/microsoft/onnxruntime/commit/cf92d982a6f6cabfdfafb36b4e9290e099ae982d"><code>cf92d98</code></a>
Cherry-picks into rel-1.22.0 (<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24611">#24611</a>)</li>
<li><a
href="https://github.com/microsoft/onnxruntime/commit/ef546e93d713c5a9d03d678fc70d8bf2651b014e"><code>ef546e9</code></a>
Cherry-picks into rel-1.22.0 (<a
href="https://redirect.github.com/microsoft/onnxruntime/issues/24580">#24580</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/onnxruntime/compare/v1.21.0...v1.22.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=onnxruntime&package-manager=pip&previous-version=1.21.0&new-version=1.22.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-20 07:30:53 +00:00
Evan MattsonandTao Chen c64e51c40e Python: Update the AzureAIAgent packages, types, and APIs based on Azure SDK's new code (#12084)
### Motivation and Context

The Azure AI Agent Service is moving to GA soon. As part of that,
they've made several changes in the underlying APIs, which require the
use of new packages, updated type imports and some new underlying APIs.
This PR updates the AzureAIAgent to use the latest Azure SDK's new code.

- The client's connection string has been replaced with an endpoint.
- The `AzureAIAgentSettings`'s `model_deployment_name` was updated to
`deployment_name`.
- Tools are now imported from `from azure.ai.agents.models` instead of
`from azure.ai.projects.models`.
- Declarative spec handling for AzureAIAgent was updated based on the
new APIs.
- Unit tests were updated.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

Update the AzureAIAgent related code, samples and tests based on the
Azure SDK's latest APIs.
- Closes #12177 

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄

---------

Co-authored-by: Tao Chen <[email protected]>
2025-05-19 23:43:40 +00:00
Evan Mattson fbe0ce7a6e Python: Place upper-bound on azure-ai-projects until service is ready (#12107)
### Motivation and Context

Place upper-bound on azure-ai-projects until service is ready

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

Place upper-bound on azure-ai-projects until service is ready

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-05-16 13:29:54 +09:00
Evan Mattson 50cf782645 Python: Remove Copilot Studio Direct link from Pyproject.toml (#12068)
### Motivation and Context

The pyproject.toml currently references Microsoft Copilot Studio
packages that are only on test PyPI, and not yet available on the Public
PyPI repo. This breaks the ability to push the public SK package to
PyPI.

We will, until public PyPI packages are available, remove the extra from
our pyproject.toml and place explicit package install instructions in
the Copilot Studio Agent README.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

Explicit instructions on how to install the necessary packages to use
the CopilotStudioAgent while the packages are on Test PyPI.

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-05-15 00:50:48 +00:00
Eduard van Valkenburg 6115e8d7dc Python: fixes and updates for MCP (#12039)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Removes the two surpressed calls for extra info out of a MCP server,
since they seemed to hang every now and then.
Updated the package version spec
Added one of the samples as a integration test
Added:

- load_tools flag on the constructor, default = true
- load_prompt flag on the constructor, default = true
- request_timeout param, optional, default None

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
2025-05-14 22:12:34 +00:00
Evan Mattson ea3215ebb7 Python: Support Declarative Agent Spec for ChatCompletionAgent & AzureAIAgent (#11982)
### Motivation and Context

This is the first installment of a series of PRs related to adding
single agent declarative spec support.

SK .NET has had support for single agent declarative specs for a bit
now, and Python needs the functionality as well. This PR adds the core
abstractions and functionality to be able to define agents via a
declarative yaml spec.

Declarative specs require the use of a kernel, and if in the case of
function calling, require that any plugins defined in the spec already
be present in the kernel.

For naming, there are placeholder names that are camel case. This needs
to be the case so it can match .NET.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

Provide declarative spec support for ChatCompletionAgent and
AzureAIAgent
- Adds many samples to show the use of declarative specs to handle
various AzureAIAgent + ChatCompletionAgent tools/plugins.
- Closes #11978

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-05-13 23:14:36 +00:00
Eduard van Valkenburg 37800fff76 Python: add explicit typing extensions dep (#12040)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Turns out there are many dependencies that install typing-extensions,
but we don't install it by default, fixed here.
Closes #12035

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
2025-05-13 17:20:56 +00:00
kanchi 904c10a11c Python: Add support for MCP Streamable HTTP transport (#12001)
### Motivation and Context

Added support for the new Streamable HTTP transport introduced in the
`2025-03-26` revision of MCP, which replaces SSE.

### Description

1. Bump the `mcp` library version to `1.8`
2. Introduced a new `MCPStreamableHttpPlugin` class

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
2025-05-13 08:31:32 +00:00
Evan Mattson 1428275f2a Python: Pin ONNX Windows pkg to last available. (#12006)
### Motivation and Context

The last ONNX package version (1.22.0) only has Linux or MacOS
available. Windows has not been published. The latest Win available
package is 1.21.0. Pinning the Windows package version to 1.21.0 so that
we don't break the CI/CD pipeline.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

Pin Win package to 1.21.0 so that we don't block the CI pipeline.

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-05-12 09:47:59 +09:00
dependabot[bot]andEvan Mattson a8cdbd9d96 Python: Bump torch from 2.6.0 to 2.7.0 in /python (#11788)
Bumps [torch](https://github.com/pytorch/pytorch) from 2.6.0 to 2.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytorch/pytorch/releases">torch's
releases</a>.</em></p>
<blockquote>
<h1>PyTorch 2.7.0 Release Notes</h1>
<ul>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#highlights">Highlights</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#tracked-regressions">Tracked
Regressions</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#backwards-incompatible-changes">Backwards
Incompatible Changes</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#deprecations">Deprecations</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#new-features">New
Features</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#improvements">Improvements</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#bug-fixes">Bug
fixes</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#performance">Performance</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#documentation">Documentation</a></li>
<li><a
href="https://github.com/pytorch/pytorch/blob/HEAD/#developers">Developers</a></li>
</ul>
<h1>Highlights</h1>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytorch/pytorch/commit/134179474539648ba7dee1317959529fbd0e7f89"><code>1341794</code></a>
Gracefully handle optree less than minimum version, part 2 (<a
href="https://redirect.github.com/pytorch/pytorch/issues/151323">#151323</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/073912749d667fcfb2de1c15e1e664dc0ccd3460"><code>0739127</code></a>
Gracefully handle optree less than minimum version (<a
href="https://redirect.github.com/pytorch/pytorch/issues/150977">#150977</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/0c236f3c722abc8e76fc16fae90946af9a895ce5"><code>0c236f3</code></a>
Update triton wheel build, setuptools pin (<a
href="https://redirect.github.com/pytorch/pytorch/issues/150953">#150953</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/c7ff78dfc0c38847bf5daa78ab8b3669e1734246"><code>c7ff78d</code></a>
Fix inplacing with multiple, fused uses (<a
href="https://redirect.github.com/pytorch/pytorch/issues/150892">#150892</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/894909a6139ff38d056d3ca5cfa33a020c7602c1"><code>894909a</code></a>
Revert &quot;[CUDA] Only use vec128 if CUDA version is newer than
12.8&quot; (<a
href="https://redirect.github.com/pytorch/pytorch/issues/150855">#150855</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/ef2b1390ed5fda1f50843bf5977e5f8cf5e40493"><code>ef2b139</code></a>
[Manylinux 2.28] Correct Linux aarch64 cuda binaries wheel name (<a
href="https://redirect.github.com/pytorch/pytorch/issues/150820">#150820</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/3f236f19032ff6424160018c024478c83b6ad6b9"><code>3f236f1</code></a>
[CUDA] Only use vec128 if CUDA version is newer than 12.8 (<a
href="https://redirect.github.com/pytorch/pytorch/issues/150818">#150818</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/35f1e7621254da1dcc8b24797059e9d010d49196"><code>35f1e76</code></a>
Reland of &quot;[ROCm] change preferred blas lib defaults (<a
href="https://redirect.github.com/pytorch/pytorch/issues/150249">#150249</a>)&quot;&quot;
(<a
href="https://redirect.github.com/pytorch/pytorch/issues/150707">#150707</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/a6321d62273dd281a08b1c4ec87ce3edd5b330dc"><code>a6321d6</code></a>
Revert &quot;Dont exclude constant_pad_nd in prologue fusion&quot; (<a
href="https://redirect.github.com/pytorch/pytorch/issues/150699">#150699</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/1cc51c640a717335b7bc48c11e28a1f5391b99e1"><code>1cc51c6</code></a>
[CUDA][avgpool2d] Fix backward launch bounds again for
<code>sm100</code>, <code>sm120</code> (<a
href="https://redirect.github.com/pytorch/pytorch/issues/150">#150</a>...</li>
<li>Additional commits viewable in <a
href="https://github.com/pytorch/pytorch/compare/v2.6.0...v2.7.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=torch&package-manager=pip&previous-version=2.6.0&new-version=2.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Mattson <[email protected]>
2025-05-09 03:48:51 +00:00
dependabot[bot]andEvan Mattson 243526b624 Python: Update pyarrow requirement from <20.0,>=12.0 to >=12.0,<21.0 in /python (#11785)
Updates the requirements on [pyarrow](https://github.com/apache/arrow)
to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/apache/arrow/releases">pyarrow's
releases</a>.</em></p>
<blockquote>
<h2>Apache Arrow 20.0.0</h2>
<p>Release Notes URL: <a
href="https://arrow.apache.org/release/20.0.0.html">https://arrow.apache.org/release/20.0.0.html</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/apache/arrow/commit/3ad0370a04ccdae638755b94c3c31c8760a11193"><code>3ad0370</code></a>
MINOR: [Release] Update versions for 20.0.0</li>
<li><a
href="https://github.com/apache/arrow/commit/e4aed0d61b05ef055379b11e0899161422d7be39"><code>e4aed0d</code></a>
MINOR: [Release] Update .deb/.rpm changelogs for 20.0.0</li>
<li><a
href="https://github.com/apache/arrow/commit/02f9dfbd25c4e2d827f89b05976fcdb46209fe75"><code>02f9dfb</code></a>
MINOR: [Release] Update CHANGELOG.md for 20.0.0</li>
<li><a
href="https://github.com/apache/arrow/commit/92c3e39f3901f0343c1e6c48c25b96aafaea101c"><code>92c3e39</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/46077">GH-46077</a>:
[CI][C++] Disable -Werror on macos-13 (<a
href="https://redirect.github.com/apache/arrow/issues/46106">#46106</a>)</li>
<li><a
href="https://github.com/apache/arrow/commit/2f82cd86b43cca0554b849fb095109fbaa18ec3e"><code>2f82cd8</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/46123">GH-46123</a>:
[C++] Undefined behavior in <code>compare_internal.cc</code> and
`light_array_...</li>
<li><a
href="https://github.com/apache/arrow/commit/af15118dd065facc6e9bbeb58af13c382351600e"><code>af15118</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/46159">GH-46159</a>:
[CI][C++] Stop using possibly missing boost/process/v2.hpp on
boost...</li>
<li><a
href="https://github.com/apache/arrow/commit/7a6eefe3ec64ea8da4563488dc300ec432252d4b"><code>7a6eefe</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/46169">GH-46169</a>:
[CI][R] Update R version to 4.5 due to 4.4 not being on APT
reposit...</li>
<li><a
href="https://github.com/apache/arrow/commit/5c1eb910e2654195d4719469ee7be4ab864e2cf3"><code>5c1eb91</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/46167">GH-46167</a>:
[R][CI] Update Artifacts for R 4.5 in task.yml (<a
href="https://redirect.github.com/apache/arrow/issues/46168">#46168</a>)</li>
<li><a
href="https://github.com/apache/arrow/commit/0f41ecc3f7ef551614fb43277b97814e22683fdb"><code>0f41ecc</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/45986">GH-45986</a>:
[C++] Update bundled GoogleTest (<a
href="https://redirect.github.com/apache/arrow/issues/45996">#45996</a>)</li>
<li><a
href="https://github.com/apache/arrow/commit/1e2aa39012961e85a719857f0089fa04ab9119b3"><code>1e2aa39</code></a>
<a
href="https://redirect.github.com/apache/arrow/issues/46075">GH-46075</a>:
[Release][CI] Fix binary verification (<a
href="https://redirect.github.com/apache/arrow/issues/46076">#46076</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/apache/arrow/compare/go/v12.0.0...apache-arrow-20.0.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Mattson <[email protected]>
2025-05-09 01:45:17 +00:00
07017af710 Python: Port Agent Runtime to SK repo (#11873)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Porting the agent runtime to SK repo for multi-agent orchestration work.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
1. Core runtime abstraction and in-process runtime implementation.
2. Unit tests.
3. Mark all public classes and methods experimental.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄

---------

Co-authored-by: Eduard van Valkenburg <[email protected]>
Co-authored-by: Evan Mattson <[email protected]>
2025-05-07 12:33:36 +00:00
dependabot[bot] 2d992cd799 Python: Bump google-cloud-aiplatform from 1.89.0 to 1.91.0 in /python (#11894)
Bumps
[google-cloud-aiplatform](https://github.com/googleapis/python-aiplatform)
from 1.89.0 to 1.91.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/python-aiplatform/releases">google-cloud-aiplatform's
releases</a>.</em></p>
<blockquote>
<h2>v1.91.0</h2>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.90.0...v1.91.0">1.91.0</a>
(2025-04-30)</h2>
<h3>Features</h3>
<ul>
<li>Add Model Garden deploy SDK documentation and use cases. (<a
href="https://github.com/googleapis/python-aiplatform/commit/6eea5f4fc05444cf47609fbe4da9038d5fa6ac29">6eea5f4</a>)</li>
<li>Allow setting Vertex Model Garden source model version id during
model upload (<a
href="https://github.com/googleapis/python-aiplatform/commit/b1bbba6f94a86fdc711c59bfc248abe544c3da09">b1bbba6</a>)</li>
<li>GenAI - Add support for self-hosted OSS models in Batch Prediction.
(<a
href="https://github.com/googleapis/python-aiplatform/commit/c76ac624a4b708dc5980ec64eb52661eb7c8061d">c76ac62</a>)</li>
<li>GenAI - Support batch prediction in Model Garden OpenModel. (<a
href="https://github.com/googleapis/python-aiplatform/commit/8bf30b74828c976e315879d9a7b61cb718e1bcfe">8bf30b7</a>)</li>
<li>Update upperbound for langgraph (<a
href="https://github.com/googleapis/python-aiplatform/commit/547bf01410647b104c6b8134d57b8c27847558b4">547bf01</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Removing Python 3.8 support due to EOL (<a
href="https://github.com/googleapis/python-aiplatform/commit/4330b2fc2860eb38986937a81f4919059775137a">4330b2f</a>)</li>
</ul>
<h2>v1.90.0</h2>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.89.0...v1.90.0">1.90.0</a>
(2025-04-22)</h2>
<h3>Features</h3>
<ul>
<li>Add <code>pydantic</code> to default required packages for agent
engines (<a
href="https://github.com/googleapis/python-aiplatform/commit/6960ae4fb2e3fadd755b7725859f66f29d6498b4">6960ae4</a>)</li>
<li>Introduce a ModuleAgent template to Agent Engine (<a
href="https://github.com/googleapis/python-aiplatform/commit/5efcd6b1d42d477220674ee7d3dc97594b02c03f">5efcd6b</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Broken import of VertexAiSessionService in AdkApp (<a
href="https://github.com/googleapis/python-aiplatform/commit/b84657a97404477d93d5010e03e36a777bbbb373">b84657a</a>)</li>
<li><strong>deps:</strong> Allow werkzeug 3.x (<a
href="https://github.com/googleapis/python-aiplatform/commit/0cb2b93cbebdb51982e7890f7d6c565110f0b50e">0cb2b93</a>)</li>
<li>Pin pydantic version lower-bound limit to 2.11.1 to fix a pydantic
dependency issue. (<a
href="https://github.com/googleapis/python-aiplatform/commit/a5c113022d2471e66945db45a93a762256ccaede">a5c1130</a>)</li>
<li>Pin pydantic version lower-bound limit to 2.11.1 to fix a pydantic
dependency issue. (<a
href="https://github.com/googleapis/python-aiplatform/commit/180cbbaca017a5e0e3a082652520e9ba489b0e0b">180cbba</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/python-aiplatform/blob/main/CHANGELOG.md">google-cloud-aiplatform's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.90.0...v1.91.0">1.91.0</a>
(2025-04-30)</h2>
<h3>Features</h3>
<ul>
<li>Add Model Garden deploy SDK documentation and use cases. (<a
href="https://github.com/googleapis/python-aiplatform/commit/6eea5f4fc05444cf47609fbe4da9038d5fa6ac29">6eea5f4</a>)</li>
<li>Allow setting Vertex Model Garden source model version id during
model upload (<a
href="https://github.com/googleapis/python-aiplatform/commit/b1bbba6f94a86fdc711c59bfc248abe544c3da09">b1bbba6</a>)</li>
<li>GenAI - Add support for self-hosted OSS models in Batch Prediction.
(<a
href="https://github.com/googleapis/python-aiplatform/commit/c76ac624a4b708dc5980ec64eb52661eb7c8061d">c76ac62</a>)</li>
<li>GenAI - Support batch prediction in Model Garden OpenModel. (<a
href="https://github.com/googleapis/python-aiplatform/commit/8bf30b74828c976e315879d9a7b61cb718e1bcfe">8bf30b7</a>)</li>
<li>Update upperbound for langgraph (<a
href="https://github.com/googleapis/python-aiplatform/commit/547bf01410647b104c6b8134d57b8c27847558b4">547bf01</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Removing Python 3.8 support due to EOL (<a
href="https://github.com/googleapis/python-aiplatform/commit/4330b2fc2860eb38986937a81f4919059775137a">4330b2f</a>)</li>
</ul>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.89.0...v1.90.0">1.90.0</a>
(2025-04-22)</h2>
<h3>Features</h3>
<ul>
<li>Add <code>pydantic</code> to default required packages for agent
engines (<a
href="https://github.com/googleapis/python-aiplatform/commit/6960ae4fb2e3fadd755b7725859f66f29d6498b4">6960ae4</a>)</li>
<li>Introduce a ModuleAgent template to Agent Engine (<a
href="https://github.com/googleapis/python-aiplatform/commit/5efcd6b1d42d477220674ee7d3dc97594b02c03f">5efcd6b</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Broken import of VertexAiSessionService in AdkApp (<a
href="https://github.com/googleapis/python-aiplatform/commit/b84657a97404477d93d5010e03e36a777bbbb373">b84657a</a>)</li>
<li><strong>deps:</strong> Allow werkzeug 3.x (<a
href="https://github.com/googleapis/python-aiplatform/commit/0cb2b93cbebdb51982e7890f7d6c565110f0b50e">0cb2b93</a>)</li>
<li>Pin pydantic version lower-bound limit to 2.11.1 to fix a pydantic
dependency issue. (<a
href="https://github.com/googleapis/python-aiplatform/commit/a5c113022d2471e66945db45a93a762256ccaede">a5c1130</a>)</li>
<li>Pin pydantic version lower-bound limit to 2.11.1 to fix a pydantic
dependency issue. (<a
href="https://github.com/googleapis/python-aiplatform/commit/180cbbaca017a5e0e3a082652520e9ba489b0e0b">180cbba</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/ec3bc047da721f4a88ab83199fef880620ac7afb"><code>ec3bc04</code></a>
chore(main): release 1.91.0 (<a
href="https://redirect.github.com/googleapis/python-aiplatform/issues/5251">#5251</a>)</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/8bf30b74828c976e315879d9a7b61cb718e1bcfe"><code>8bf30b7</code></a>
feat: GenAI - Support batch prediction in Model Garden OpenModel.</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/e0a54df29ee3a8dd569047e0084e85376c034228"><code>e0a54df</code></a>
chore: bump DEFAULT_PYTHON_VERSION to 3.10 in noxfile.py</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/c76ac624a4b708dc5980ec64eb52661eb7c8061d"><code>c76ac62</code></a>
feat: GenAI - Add support for self-hosted OSS models in Batch
Prediction.</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/b1bbba6f94a86fdc711c59bfc248abe544c3da09"><code>b1bbba6</code></a>
feat: Allow setting Vertex Model Garden source model version id during
model ...</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/4330b2fc2860eb38986937a81f4919059775137a"><code>4330b2f</code></a>
fix: Removing Python 3.8 support due to EOL</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/547bf01410647b104c6b8134d57b8c27847558b4"><code>547bf01</code></a>
feat: Update upperbound for langgraph</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/6eea5f4fc05444cf47609fbe4da9038d5fa6ac29"><code>6eea5f4</code></a>
feat: Add Model Garden deploy SDK documentation and use cases.</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/e1fcfffc72a1f6d63b71cb414de3e84f1de0f53f"><code>e1fcfff</code></a>
chore: Samples - Restore vector search sample for filtering and
crowding</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/e6772d37baaa4dfc7f1509e116f5924fbc47d761"><code>e6772d3</code></a>
chore(main): release 1.90.0 (<a
href="https://redirect.github.com/googleapis/python-aiplatform/issues/5185">#5185</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/googleapis/python-aiplatform/compare/v1.89.0...v1.91.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google-cloud-aiplatform&package-manager=pip&previous-version=1.89.0&new-version=1.91.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-07 07:01:22 +00:00
Evan Mattson 1a187b03bc Python: Introduce the Copilot Studio Agent (#11851)
### Motivation and Context

Semantic Kernel Python currently has a demo showing how to interact with
a Copilot Studio Agent; however, that uses the `DirectLine API`. This PR
introduces a Semantic Kernel `CoilotStudioAgent` that leverages the
team's new `microsoft.agents.copilotstudio.client`. One must first have
a Copilot Studio Agent created via the portal; and once ready, they can
reference it with the proper App Registration and Agent metadata.
Interacting with the Agent can leverage Microsoft Copilot Studio's
knowledge sources and internal tools.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

Add support for the `CopilotStudioAgent`. 
- Provide getting started samples
- Introduces a detailed README on what is required for setup and
interacting with the agent.
- The current version of the `CopilotStudioAgent` does not support
calling another Copilot Studio Agent via a skill.
- Authentication for the agent is limited to interactive right now. Once
service-to-service auth is support via the client, we will add this into
SK.
- Closes #11607

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-05-06 10:29:29 +00:00
dependabot[bot] b8b016b6bb Python: Update pymongo requirement from <4.12,>=4.8.0 to >=4.8.0,<4.13 in /python (#11553)
Updates the requirements on
[pymongo](https://github.com/mongodb/mongo-python-driver) to permit the
latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/mongo-python-driver/releases">pymongo's
releases</a>.</em></p>
<blockquote>
<h2>PyMongo 4.12.0</h2>
<p>Community notes: <a
href="https://www.mongodb.com/community/forums/t/pymongo-4-12-released/318187">https://www.mongodb.com/community/forums/t/pymongo-4-12-released/318187</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst">pymongo's
changelog</a>.</em></p>
<blockquote>
<h2>Changes in Version 4.12.0 (2025/04/08)</h2>
<p>.. warning:: Driver support for MongoDB 4.0 reached end of life in
April 2025.
PyMongo 4.12 will be the last release to support MongoDB 4.0.</p>
<p>PyMongo 4.12 brings a number of changes including:</p>
<ul>
<li>Support for configuring DEK cache lifetime via the
<code>key_expiration_ms</code> argument to
:class:<code>~pymongo.encryption_options.AutoEncryptionOpts</code>.</li>
<li>Support for $lookup in CSFLE and QE supported on MongoDB 8.1+.</li>
<li>pymongocrypt&gt;=1.13 is now required for :ref:<code>In-Use
Encryption</code> support.</li>
<li>Added
:meth:<code>gridfs.asynchronous.grid_file.AsyncGridFSBucket.rename_by_name</code>
and :meth:<code>gridfs.grid_file.GridFSBucket.rename_by_name</code>
for more performant renaming of a file with multiple revisions.</li>
<li>Added
:meth:<code>gridfs.asynchronous.grid_file.AsyncGridFSBucket.delete_by_name</code>
and :meth:<code>gridfs.grid_file.GridFSBucket.delete_by_name</code>
for more performant deletion of a file with multiple revisions.</li>
<li>AsyncMongoClient no longer performs DNS resolution for
&quot;mongodb+srv://&quot; connection strings on creation.
To avoid blocking the asyncio loop, the resolution is now deferred until
the client is first connected.</li>
<li>Added index hinting support to the

:meth:<code>~pymongo.asynchronous.collection.AsyncCollection.distinct</code>
and
:meth:<code>~pymongo.collection.Collection.distinct</code>
commands.</li>
<li>Deprecated the <code>hedge</code> parameter for
:class:<code>~pymongo.read_preferences.PrimaryPreferred</code>,
:class:<code>~pymongo.read_preferences.Secondary</code>,
:class:<code>~pymongo.read_preferences.SecondaryPreferred</code>,
:class:<code>~pymongo.read_preferences.Nearest</code>. Support for
<code>hedge</code> will be removed in PyMongo 5.0.</li>
<li>Removed PyOpenSSL support from the asynchronous API due to
limitations of the CPython asyncio.Protocol SSL implementation.</li>
<li>Allow valid SRV hostnames with less than 3 parts.</li>
</ul>
<p>Issues Resolved
...............</p>
<p>See the <code>PyMongo 4.12 release notes in JIRA</code>_ for the list
of resolved issues
in this release.</p>
<p>.. _PyMongo 4.12 release notes in JIRA: <a
href="https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=41916">https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=41916</a></p>
<h2>Changes in Version 4.11.2 (2025/03/05)</h2>
<p>Version 4.11.2 is a bug fix release.</p>
<ul>
<li>Fixed a bug where
:meth:<code>~pymongo.database.Database.command</code> would fail when
attempting to run the bulkWrite command.</li>
</ul>
<p>Issues Resolved
...............</p>
<p>See the <code>PyMongo 4.11.2 release notes in JIRA</code>_ for the
list of resolved issues in this release.</p>
<p>.. _PyMongo 4.11.2 release notes in JIRA: <a
href="https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=42506">https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=42506</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/98b656f286790ecbfc98acd5bbdf5bb128ad2804"><code>98b656f</code></a>
BUMP 4.12.0</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/92970d39fd0fd9060c95c35a6081676b7b6af548"><code>92970d3</code></a>
PYTHON-5248 Update changelog for 4.12 release (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2265">#2265</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/4d4a26cbbe994675551234b15953bd2cf27d6d8a"><code>4d4a26c</code></a>
PYTHON-5270 Server selection should log remainingTimeMS as milliseconds
(<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2263">#2263</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/7a4218f0ad653af5091c1cb6a8dfc5d377f3df37"><code>7a4218f</code></a>
PYTHON-5263 Convert s3-related functions to generated config (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2259">#2259</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/79e5d601397f6d3891d9eaf881b43fd40a712ee2"><code>79e5d60</code></a>
PYTHON-5268 Fix handling of PYTHON_BINARY (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2264">#2264</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/bf0aa56fbbfa33c3bfbdf3c03a4ab55aceb0cda4"><code>bf0aa56</code></a>
PYTHON-5252 Add dependency on pymongocrypt 1.13 (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2258">#2258</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/708ce16961f077b7a03fc97e66ccfaccaa0d847a"><code>708ce16</code></a>
PYTHON-4724 - Prohibit AsyncMongoClient from being used across multiple
event...</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/1c813dc6489214bfab50aed04dfd63455bb4d231"><code>1c813dc</code></a>
PYTHON-4575 Allow valid SRV hostnames with less than 3 parts (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2234">#2234</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/e7c0814512ef4bc104bd17919acd80319460e1a0"><code>e7c0814</code></a>
PYTHON-4557 - Fix write log messages for retried commands (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2260">#2260</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/b40223938c9646e0b1a8f60d22e36120991b394d"><code>b402239</code></a>
PYTHON-5219 - Avoid awaiting coroutines when holding locks (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/2250">#2250</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mongodb/mongo-python-driver/compare/4.8.0...4.12.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-22 16:23:37 +00:00
dependabot[bot] cce7ee258e Python: Update prance requirement from ~=23.6.21.0 to >=23.6.21,<25.4.9 in /python (#11555)
Updates the requirements on
[prance](https://github.com/RonnyPfannschmidt/prance) to permit the
latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/RonnyPfannschmidt/prance/blob/main/CHANGES.rst">prance's
changelog</a>.</em></p>
<blockquote>
<h1>Prance 25.04.08.0</h1>
<h2>Compatibility changes</h2>
<p>Thank you to Mathis for bringing this forth.</p>
<ul>
<li>migrate from jsonschema to referencing for references</li>
<li>drop unmaintained python 3.8/3.9</li>
<li>add support  + ci for python 3.11/3.12/3.14</li>
<li>migrate convert from mermade.org.uk to converter.swagger.io</li>
<li>switch yaml mimetype from the x-yaml form to the official yaml
form</li>
<li>include petstore example data to ease testing without the git
subrepo</li>
<li>explicitly use openapi-spec-validator backends in tests</li>
<li>drop dependency on setuptools and six</li>
</ul>
<h1>Prance 23.06.21.0</h1>
<ul>
<li>first release to do away with zerover</li>
<li>prance now uses calver by date</li>
</ul>
<h1>Prance 0.23.02.22.0 (2023-02-22)</h1>
<ul>
<li>note: due to a mistake in tagging this was released as 0.22.2.22.0
and was not found as the latest release</li>
</ul>
<h2>Features</h2>
<ul>
<li>Update packaging to use modern setuptools and drop python3.7. (<a
href="https://redirect.github.com/RonnyPfannschmidt/prance/issues/147">#147</a>)</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Fixed bug where user's HOMEDRIVE exists, but HOMEDRIVE is offline.
(<a
href="https://redirect.github.com/RonnyPfannschmidt/prance/issues/142">#142</a>)</li>
<li>unpin chardet to allow usage. (<a
href="https://redirect.github.com/RonnyPfannschmidt/prance/issues/144">#144</a>)</li>
<li>Unpin packaging to prevent pin issues. (<a
href="https://redirect.github.com/RonnyPfannschmidt/prance/issues/145">#145</a>)</li>
<li>unpin click to allow using modern versions. (<a
href="https://redirect.github.com/RonnyPfannschmidt/prance/issues/146">#146</a>)</li>
</ul>
<h1>Prance 0.22.11.04.0</h1>
<h2>Features</h2>
<ul>
<li>consolidate and unify openapi-spec-validator api usage (<a
href="https://redirect.github.com/RonnyPfannschmidt/prance/issues/132">#132</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/RonnyPfannschmidt/prance/commit/fdd9d38e1ad54b2aef7a5023aa6f5ba54d151573"><code>fdd9d38</code></a>
add changelog and upgrade metadata classifiers</li>
<li><a
href="https://github.com/RonnyPfannschmidt/prance/commit/7b3f0633b431054713bd7f4ac8cc69e8ff516927"><code>7b3f063</code></a>
Merge pull request <a
href="https://redirect.github.com/RonnyPfannschmidt/prance/issues/161">#161</a>
from MathisFranel/python3.12-support</li>
<li><a
href="https://github.com/RonnyPfannschmidt/prance/commit/0177056e242a47565bb6f505df5879a47f412109"><code>0177056</code></a>
[pre-commit.ci] auto fixes from pre-commit.com hooks</li>
<li><a
href="https://github.com/RonnyPfannschmidt/prance/commit/5e085ecf5d694f42c4969f41cd3fb27792bd2112"><code>5e085ec</code></a>
Update of dependencies and support for Python3.10 to Python3.13</li>
<li><a
href="https://github.com/RonnyPfannschmidt/prance/commit/2b91d0776630512843ca7d2975f963080a5c3bb6"><code>2b91d07</code></a>
Merge pull request <a
href="https://redirect.github.com/RonnyPfannschmidt/prance/issues/152">#152</a>
from RonnyPfannschmidt/prepare-release</li>
<li>See full diff in <a
href="https://github.com/RonnyPfannschmidt/prance/compare/v23.06.21.0...v25.04.08.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-22 14:38:30 +00:00
dependabot[bot] 5c4e7d4060 Python: Bump google-cloud-aiplatform from 1.87.0 to 1.89.0 in /python (#11670)
Bumps
[google-cloud-aiplatform](https://github.com/googleapis/python-aiplatform)
from 1.87.0 to 1.89.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/python-aiplatform/releases">google-cloud-aiplatform's
releases</a>.</em></p>
<blockquote>
<h2>v1.89.0</h2>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.88.0...v1.89.0">1.89.0</a>
(2025-04-16)</h2>
<h3>Features</h3>
<ul>
<li>Add support for env_vars parameter when creating or updating Agent
Engine. (<a
href="https://github.com/googleapis/python-aiplatform/commit/691c1f6156f2d66db369c2e5656c0e733b23a8f4">691c1f6</a>)</li>
<li>Add UpdateRagEngineConfig rpc (<a
href="https://github.com/googleapis/python-aiplatform/commit/64386e9d172f2b94338dc5468809821754d0d129">64386e9</a>)</li>
<li>Implement preview <code>get_rag_engine_config</code> in
<code>rag_data.py</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/cda064ecf87de75eaa9d4c4f5ccc18876fd53b99">cda064e</a>)</li>
<li>Implement preview <code>update_rag_engine_config</code> in
<code>rag_data.py</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/cda064ecf87de75eaa9d4c4f5ccc18876fd53b99">cda064e</a>)</li>
<li>Update win rate calculation in GenAI Evaluation for rubric based
evaluation (<a
href="https://github.com/googleapis/python-aiplatform/commit/d442c42ba15fcf5948fe71a60fc7ad50b89aa2c9">d442c42</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Include the env variables of the AdkApp when cloning (<a
href="https://github.com/googleapis/python-aiplatform/commit/9814768b937db43aac6f381023b409c68daebc5e">9814768</a>)</li>
</ul>
<h2>v1.88.0</h2>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.87.0...v1.88.0">1.88.0</a>
(2025-04-09)</h2>
<h3>Features</h3>
<ul>
<li>Add a module-level function to create a Gemini template config for
single-turn Gemini examples without having to explicitly construct the
Gemini example. (<a
href="https://github.com/googleapis/python-aiplatform/commit/126d10c87d9ce3817c39396e32fb5412761ab0aa">126d10c</a>)</li>
<li>Add autoscaling_target_request_count_per_minute option in Preview
model deployment on Endpoint &amp; Model classes. (<a
href="https://github.com/googleapis/python-aiplatform/commit/0f1f10a1172d2aaf89a96f614cc1a17c4ae65458">0f1f10a</a>)</li>
<li>Add Gen AI logging public preview API (<a
href="https://github.com/googleapis/python-aiplatform/commit/1589f6654e04f90b4f933254d4d19e5d24cb180f">1589f66</a>)</li>
<li>Add new template for AgentEngine (<a
href="https://github.com/googleapis/python-aiplatform/commit/0478f103a06f130eccdabb320993d6471a35df4f">0478f10</a>)</li>
<li>Add the possibility to create multimodal datasets without explicitly
specifying a bigquery dataset/table. (<a
href="https://github.com/googleapis/python-aiplatform/commit/f5043a6ff6d4777e0e67193fc934a3bd3bd8cb1a">f5043a6</a>)</li>
<li>Allow EvalTask to take dataset as a Google sheet - simplifying
rubric revision CUJ (<a
href="https://github.com/googleapis/python-aiplatform/commit/15df1f6ed71a071404c34d5f052288e521ecf6a6">15df1f6</a>)</li>
<li>Allow table targets in multi-region datasets when creating
multimodal datasets (<a
href="https://github.com/googleapis/python-aiplatform/commit/2d7bc32dc30d4e6a08947bf72ca24d94aac009fd">2d7bc32</a>)</li>
<li>Check if rubrics column is present before converting list of rubrics
to string (<a
href="https://github.com/googleapis/python-aiplatform/commit/6c1569b24b1355afd9b4aa6fdebf3137924ebac9">6c1569b</a>)</li>
<li>Convert list of rubrics to a string before sending the API request.
This allows users to use default parse_rubrics function that returns a
list of rubrics with customized prompts, and bring their own rubrics as
a list. (<a
href="https://github.com/googleapis/python-aiplatform/commit/9f21b73f6558eaba73b04d95172a9d667549353b">9f21b73</a>)</li>
<li>GenAI Evaluation: Release GenAI Evaluation SDK autorater metric
configuration utils to vertexai.preview module. (<a
href="https://github.com/googleapis/python-aiplatform/commit/f816d5aa78efcffb6d83f127a748d55ea6deaaf7">f816d5a</a>)</li>
<li>GenAI Evaluation: Release GenAI Evaluation SDK parsing rubric
generation response with additional fields to vertexai.preview module.
(<a
href="https://github.com/googleapis/python-aiplatform/commit/79ca86a57ef14e4b1bd92c4ee6a55a67f84a6ff4">79ca86a</a>)</li>
<li>GenAI Evaluation: Release GenAI Evaluation SDK rubric based
evaluation to vertexai.preview module. (<a
href="https://github.com/googleapis/python-aiplatform/commit/bb0758140882b3978565ce6e7137ead8f3bf9457">bb07581</a>)</li>
<li>Model optimizer SDK support (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2572989fc03aebfea0a79229db3d61413ff95e2">f257298</a>)</li>
<li>Track the output path for metrics_table in experiments metadata, if
output bucket is specified but no file name is specified, we will
generate a unique file name (<a
href="https://github.com/googleapis/python-aiplatform/commit/be2c99f91772fd5e07e8fb7b73c688f94226daab">be2c99f</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Preprend question tag to rubric critiquing response after editing
the predefined prompts to end with &lt;question&gt; to avoid parsing
errors (<a
href="https://github.com/googleapis/python-aiplatform/commit/0abd6ad057b806bd6fd19d7c51292ecd958015d7">0abd6ad</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/python-aiplatform/blob/main/CHANGELOG.md">google-cloud-aiplatform's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.88.0...v1.89.0">1.89.0</a>
(2025-04-16)</h2>
<h3>Features</h3>
<ul>
<li>Add support for env_vars parameter when creating or updating Agent
Engine. (<a
href="https://github.com/googleapis/python-aiplatform/commit/691c1f6156f2d66db369c2e5656c0e733b23a8f4">691c1f6</a>)</li>
<li>Add UpdateRagEngineConfig rpc (<a
href="https://github.com/googleapis/python-aiplatform/commit/64386e9d172f2b94338dc5468809821754d0d129">64386e9</a>)</li>
<li>Implement preview <code>get_rag_engine_config</code> in
<code>rag_data.py</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/cda064ecf87de75eaa9d4c4f5ccc18876fd53b99">cda064e</a>)</li>
<li>Implement preview <code>update_rag_engine_config</code> in
<code>rag_data.py</code> (<a
href="https://github.com/googleapis/python-aiplatform/commit/cda064ecf87de75eaa9d4c4f5ccc18876fd53b99">cda064e</a>)</li>
<li>Update win rate calculation in GenAI Evaluation for rubric based
evaluation (<a
href="https://github.com/googleapis/python-aiplatform/commit/d442c42ba15fcf5948fe71a60fc7ad50b89aa2c9">d442c42</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Include the env variables of the AdkApp when cloning (<a
href="https://github.com/googleapis/python-aiplatform/commit/9814768b937db43aac6f381023b409c68daebc5e">9814768</a>)</li>
</ul>
<h2><a
href="https://github.com/googleapis/python-aiplatform/compare/v1.87.0...v1.88.0">1.88.0</a>
(2025-04-09)</h2>
<h3>Features</h3>
<ul>
<li>Add a module-level function to create a Gemini template config for
single-turn Gemini examples without having to explicitly construct the
Gemini example. (<a
href="https://github.com/googleapis/python-aiplatform/commit/126d10c87d9ce3817c39396e32fb5412761ab0aa">126d10c</a>)</li>
<li>Add autoscaling_target_request_count_per_minute option in Preview
model deployment on Endpoint &amp; Model classes. (<a
href="https://github.com/googleapis/python-aiplatform/commit/0f1f10a1172d2aaf89a96f614cc1a17c4ae65458">0f1f10a</a>)</li>
<li>Add Gen AI logging public preview API (<a
href="https://github.com/googleapis/python-aiplatform/commit/1589f6654e04f90b4f933254d4d19e5d24cb180f">1589f66</a>)</li>
<li>Add new template for AgentEngine (<a
href="https://github.com/googleapis/python-aiplatform/commit/0478f103a06f130eccdabb320993d6471a35df4f">0478f10</a>)</li>
<li>Add the possibility to create multimodal datasets without explicitly
specifying a bigquery dataset/table. (<a
href="https://github.com/googleapis/python-aiplatform/commit/f5043a6ff6d4777e0e67193fc934a3bd3bd8cb1a">f5043a6</a>)</li>
<li>Allow EvalTask to take dataset as a Google sheet - simplifying
rubric revision CUJ (<a
href="https://github.com/googleapis/python-aiplatform/commit/15df1f6ed71a071404c34d5f052288e521ecf6a6">15df1f6</a>)</li>
<li>Allow table targets in multi-region datasets when creating
multimodal datasets (<a
href="https://github.com/googleapis/python-aiplatform/commit/2d7bc32dc30d4e6a08947bf72ca24d94aac009fd">2d7bc32</a>)</li>
<li>Check if rubrics column is present before converting list of rubrics
to string (<a
href="https://github.com/googleapis/python-aiplatform/commit/6c1569b24b1355afd9b4aa6fdebf3137924ebac9">6c1569b</a>)</li>
<li>Convert list of rubrics to a string before sending the API request.
This allows users to use default parse_rubrics function that returns a
list of rubrics with customized prompts, and bring their own rubrics as
a list. (<a
href="https://github.com/googleapis/python-aiplatform/commit/9f21b73f6558eaba73b04d95172a9d667549353b">9f21b73</a>)</li>
<li>GenAI Evaluation: Release GenAI Evaluation SDK autorater metric
configuration utils to vertexai.preview module. (<a
href="https://github.com/googleapis/python-aiplatform/commit/f816d5aa78efcffb6d83f127a748d55ea6deaaf7">f816d5a</a>)</li>
<li>GenAI Evaluation: Release GenAI Evaluation SDK parsing rubric
generation response with additional fields to vertexai.preview module.
(<a
href="https://github.com/googleapis/python-aiplatform/commit/79ca86a57ef14e4b1bd92c4ee6a55a67f84a6ff4">79ca86a</a>)</li>
<li>GenAI Evaluation: Release GenAI Evaluation SDK rubric based
evaluation to vertexai.preview module. (<a
href="https://github.com/googleapis/python-aiplatform/commit/bb0758140882b3978565ce6e7137ead8f3bf9457">bb07581</a>)</li>
<li>Model optimizer SDK support (<a
href="https://github.com/googleapis/python-aiplatform/commit/f2572989fc03aebfea0a79229db3d61413ff95e2">f257298</a>)</li>
<li>Track the output path for metrics_table in experiments metadata, if
output bucket is specified but no file name is specified, we will
generate a unique file name (<a
href="https://github.com/googleapis/python-aiplatform/commit/be2c99f91772fd5e07e8fb7b73c688f94226daab">be2c99f</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Preprend question tag to rubric critiquing response after editing
the predefined prompts to end with &lt;question&gt; to avoid parsing
errors (<a
href="https://github.com/googleapis/python-aiplatform/commit/0abd6ad057b806bd6fd19d7c51292ecd958015d7">0abd6ad</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/da35701e02bb6fe7fac5fdf840cf30280985a453"><code>da35701</code></a>
chore(main): release 1.89.0 (<a
href="https://redirect.github.com/googleapis/python-aiplatform/issues/5158">#5158</a>)</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/cda064ecf87de75eaa9d4c4f5ccc18876fd53b99"><code>cda064e</code></a>
feat: Implement preview <code>update_rag_engine_config</code> in
<code>rag_data.py</code></li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/c553b48d4bd3f1ee567f6056c822edc92cd02bf2"><code>c553b48</code></a>
chore: Declare compatibility with Protobuf v30</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/691c1f6156f2d66db369c2e5656c0e733b23a8f4"><code>691c1f6</code></a>
feat: Add support for env_vars parameter when creating or updating Agent
Engine.</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/418607ac98b382c4d501f19db0c4773759da8ce2"><code>418607a</code></a>
chore: Change command parameter type to Optional[Sequence[str]] in
CustomCont...</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/d442c42ba15fcf5948fe71a60fc7ad50b89aa2c9"><code>d442c42</code></a>
feat: Update win rate calculation in GenAI Evaluation for rubric based
evalua...</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/64386e9d172f2b94338dc5468809821754d0d129"><code>64386e9</code></a>
Copybara import of the project:</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/a6a1ec5034cf4b70e8a82945b5bfd467a7ef25a6"><code>a6a1ec5</code></a>
chore: Handle Autogen <code>RunResponseProtocol</code></li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/c1fa49fe42839eebca467f461e544ce72764063a"><code>c1fa49f</code></a>
chore: Add a system test for using prompt management as template
config</li>
<li><a
href="https://github.com/googleapis/python-aiplatform/commit/9814768b937db43aac6f381023b409c68daebc5e"><code>9814768</code></a>
fix: Include the env variables of the AdkApp when cloning</li>
<li>Additional commits viewable in <a
href="https://github.com/googleapis/python-aiplatform/compare/v1.87.0...v1.89.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google-cloud-aiplatform&package-manager=pip&previous-version=1.87.0&new-version=1.89.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-22 14:21:08 +00:00
Eduard van Valkenburg 12851923bc Python: allow settings to be created directly (#11468)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
I've always hated having to add the .create to a settings object, this
removes that, you can just use the regular init, added benefit is that
it has the proper fields in the docstrings for each implemented settings
object!

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
Adds a __new__ method to the base settings class, which takes the prefix
and if supplied the env_file and encoding, then calls model_rebuild and
then the init.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
2025-04-11 06:26:22 +00:00
Evan Mattson 6f35b627f4 Python: Support Auto Function Invocation Filter for AzureAIAgent and OpenAIAssistantAgent (#11460)
### Motivation and Context

The server-side agents like AzureAIAgent and OpenAIAssistantAgent do not
support the Auto function invocation filter. Although we return
intermediate step results, like FunctionResultContent, as part of the
`on_intermediate_steps` callback, this didn't allow for developers to
configure a filter to return the result as-is, or modify the result as
part of the filter.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

Add support for the auto function invocation filter for the
`AzureAIAgent` and `OpenAIAssistantAgent`.
- Closes #11054
- Closes #11456 
- Adds samples on how to configure the filter for both agent types, and
how to configure the callback to show the various content types.

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
2025-04-10 00:39:47 +00:00