Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: .Net Ollama (Merge main) #7231

Merged
merged 52 commits into from
Jul 12, 2024
Merged

Python: .Net Ollama (Merge main) #7231

merged 52 commits into from
Jul 12, 2024

Conversation

RogerBarreto
Copy link
Member

Motivation and Context

Description

Contribution Checklist

dependabot bot and others added 30 commits July 2, 2024 15:47
Bumps
[weaviate-client](https://github.com/weaviate/weaviate-python-client)
from 4.6.4 to 4.6.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/weaviate/weaviate-python-client/releases">weaviate-client's
releases</a>.</em></p>
<blockquote>
<h2>v4.6.5</h2>
<h2>What's Changed</h2>
<ul>
<li>Update Ollama module docstrings by <a
href="https://github.com/databyjp"><code>@​databyjp</code></a> in <a
href="https://redirect.github.com/weaviate/weaviate-python-client/pull/1091">weaviate/weaviate-python-client#1091</a></li>
<li>Export submodules to ease usage of <code>weaviate.outputs</code> by
<a href="https://github.com/tsmith023"><code>@​tsmith023</code></a> in
<a
href="https://redirect.github.com/weaviate/weaviate-python-client/pull/1098">weaviate/weaviate-python-client#1098</a></li>
<li>VoyageAI new embedding and rerank models by <a
href="https://github.com/fzowl"><code>@​fzowl</code></a> in <a
href="https://redirect.github.com/weaviate/weaviate-python-client/pull/1103">weaviate/weaviate-python-client#1103</a></li>
<li>Add missing py.typed file for type checking usage by <a
href="https://github.com/tsmith023"><code>@​tsmith023</code></a> in <a
href="https://redirect.github.com/weaviate/weaviate-python-client/pull/1112">weaviate/weaviate-python-client#1112</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/weaviate/weaviate-python-client/compare/v4.6.4...v4.6.5">https://github.com/weaviate/weaviate-python-client/compare/v4.6.4...v4.6.5</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/weaviate/weaviate-python-client/blob/main/docs/changelog.rst">weaviate-client's
changelog</a>.</em></p>
<blockquote>
<h2>Version 4.6.5</h2>
<p>This patch version includes:
- Addition of new voyageai embedding and rerank models as string literal
types
- Added missing exports of submodules in <code>weaviate.outputs</code>
to aid usage
- Updated ollama modules docstrings
- Added missing <code>py.typed</code> file for use by static type
checkers</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/weaviate/weaviate-python-client/commit/eab4389f7289b8c705c505241dd84f44ce5929ac"><code>eab4389</code></a>
Merge pull request <a
href="https://redirect.github.com/weaviate/weaviate-python-client/issues/1113">#1113</a>
from weaviate/add-changelog-465</li>
<li><a
href="https://github.com/weaviate/weaviate-python-client/commit/b4b2ce43eefeb4b94be033071b1a5f21646edbe7"><code>b4b2ce4</code></a>
Add changelog</li>
<li><a
href="https://github.com/weaviate/weaviate-python-client/commit/7ed90c0f962c15e285fe6a1634977d26a8424e94"><code>7ed90c0</code></a>
Merge pull request <a
href="https://redirect.github.com/weaviate/weaviate-python-client/issues/1112">#1112</a>
from weaviate/add-missing-py-typed-file</li>
<li><a
href="https://github.com/weaviate/weaviate-python-client/commit/e0d4b8dfe9f51181aa6ed277221d070a0341717d"><code>e0d4b8d</code></a>
Move py.typed into weaviate directory</li>
<li><a
href="https://github.com/weaviate/weaviate-python-client/commit/ae635dc928fc6f78102d6df5d974e30d1bf6b03b"><code>ae635dc</code></a>
Add missing py.typed file for type checking usage</li>
<li><a
href="https://github.com/weaviate/weaviate-python-client/commit/a9062f4fb1614aea5ccf82086c72627e2d79988e"><code>a9062f4</code></a>
Merge pull request <a
href="https://redirect.github.com/weaviate/weaviate-python-client/issues/1108">#1108</a>
from weaviate/fix-docker-compose-in-ci</li>
<li><a
href="https://github.com/weaviate/weaviate-python-client/commit/b506128057130f855c39c9ba5d6f26a9a4347f8b"><code>b506128</code></a>
Call as <code>docker compose</code> instead of
<code>docker-compose</code> in CI</li>
<li><a
href="https://github.com/weaviate/weaviate-python-client/commit/95efb1d5d77194f9fa86e5af63f0b211cb9a1eb7"><code>95efb1d</code></a>
Merge pull request <a
href="https://redirect.github.com/weaviate/weaviate-python-client/issues/1103">#1103</a>
from voyage-ai/main</li>
<li><a
href="https://github.com/weaviate/weaviate-python-client/commit/d85bfa367b59ef1584409cc676714cd7f36e104f"><code>d85bfa3</code></a>
VoyageAI new embedding and rerank models</li>
<li><a
href="https://github.com/weaviate/weaviate-python-client/commit/a801c719901e53085ec98da76a286e59e6a26640"><code>a801c71</code></a>
Merge pull request <a
href="https://redirect.github.com/weaviate/weaviate-python-client/issues/1098">#1098</a>
from weaviate/export-submodules-from-outputs</li>
<li>Additional commits viewable in <a
href="https://github.com/weaviate/weaviate-python-client/compare/v4.6.4...v4.6.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=weaviate-client&package-manager=pip&previous-version=4.6.4&new-version=4.6.5)](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]>
Bumps [qdrant-client](https://github.com/qdrant/qdrant-client) from
1.9.2 to 1.10.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/qdrant/qdrant-client/commit/5290d17ef33a7fcb8a07145032498024d5c24951"><code>5290d17</code></a>
bump version to v1.10.0</li>
<li><a
href="https://github.com/qdrant/qdrant-client/commit/ad69cf170b0b057ff6b70a9832caa45a00d4a119"><code>ad69cf1</code></a>
new: add query interface tests, fix version checking (<a
href="https://redirect.github.com/qdrant/qdrant-client/issues/670">#670</a>)</li>
<li><a
href="https://github.com/qdrant/qdrant-client/commit/d9a43201822d1414bcfa8c206221e66d6578fdc1"><code>d9a4320</code></a>
fix: fix lookup test, refactor search params test</li>
<li><a
href="https://github.com/qdrant/qdrant-client/commit/0fc3341cfc7a4b2faf0cc688590fc18811af0ac4"><code>0fc3341</code></a>
: int</li>
<li><a
href="https://github.com/qdrant/qdrant-client/commit/f5f51550dad3047287ef09f1321d1cc02b9d9103"><code>f5f5155</code></a>
ditch unused imports in test_query_batch.py</li>
<li><a
href="https://github.com/qdrant/qdrant-client/commit/00d9b2444062fad5758ea5bc1c126aa2287e93f4"><code>00d9b24</code></a>
danse dense revolution 🕺</li>
<li><a
href="https://github.com/qdrant/qdrant-client/commit/1c9dfcc10819692c526184b6407787c96125dd72"><code>1c9dfcc</code></a>
fix return types</li>
<li><a
href="https://github.com/qdrant/qdrant-client/commit/4b5cc9b71fec43868b857ec9af86494d5d241d65"><code>4b5cc9b</code></a>
Move case for empty batch</li>
<li><a
href="https://github.com/qdrant/qdrant-client/commit/4806dd76fb7a18a4fd23af8dad763368db3892d4"><code>4806dd7</code></a>
Add case for empty batch</li>
<li><a
href="https://github.com/qdrant/qdrant-client/commit/07c618522fa01d8d3246c14a70d9ad89463a77e9"><code>07c6185</code></a>
unpack query responses when comparing</li>
<li>Additional commits viewable in <a
href="https://github.com/qdrant/qdrant-client/compare/v1.9.2...v1.10.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=qdrant-client&package-manager=pip&previous-version=1.9.2&new-version=1.10.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]>
….4 in /dotnet (#7045)

Bumps
[Azure.AI.OpenAI.Assistants](https://github.com/Azure/azure-sdk-for-net)
from 1.0.0-beta.3 to 1.0.0-beta.4.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/668f81b30a6a177723ec859f4ac1d3a2873cd378"><code>668f81b</code></a>
changelog finalization for beta.4 patch (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/43767">#43767</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/2d022c7ca5bb7be63e16dc4a198bcf4183c95efa"><code>2d022c7</code></a>
Sync eng/common directory with azure-sdk-tools repository (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/43766">#43766</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/f3f1c6ab19aa376f6cb2bedcd804dd0ee8a2e157"><code>f3f1c6a</code></a>
[DocumentIntelligence] Enabling live testing (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/43455">#43455</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/151e662dbecfd64d6a7eb6641f1017f717cb4e03"><code>151e662</code></a>
[AzureMonitorDistro] fix LiveMetrics requests (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/43543">#43543</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/1950db6e1cb330b24248c1cf0d95ffaa79d9125e"><code>1950db6</code></a>
merge 1.1.1 hotfix to main (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/43688">#43688</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/628f094d9607e77930ba1e404521b822e17289e7"><code>628f094</code></a>
[AzureMonitorDistro] add Properties to LiveMetrics (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/43600">#43600</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/fcef40fd3f1712b4ed3697e66ec43931d3bd4dd2"><code>fcef40f</code></a>
Increment package version after release of
Microsoft.Azure.WebJobs.Extensions...</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/df867b6c6790894e5a20b4d3bfdd3191c4258218"><code>df867b6</code></a>
[Functions] Event Hubs: Release prep (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/43759">#43759</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/1091e4603e4fcb84f48785a5b8e63aab0e5e9519"><code>1091e46</code></a>
Increment package version after release of Azure.ResourceManager.Monitor
(<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/43">#43</a>...</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/38e3e48565e2a69db873260a8d37cecd98fbe597"><code>38e3e48</code></a>
Increment package version after release of
Azure.ResourceManager.TrafficManag...</li>
<li>Additional commits viewable in <a
href="https://github.com/Azure/azure-sdk-for-net/compare/Azure.AI.OpenAI.Assistants_1.0.0-beta.3...Azure.AI.OpenAI.Assistants_1.0.0-beta.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Azure.AI.OpenAI.Assistants&package-manager=nuget&previous-version=1.0.0-beta.3&new-version=1.0.0-beta.4)](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>
…n /dotnet (#7043)

Bumps
[Azure.Monitor.OpenTelemetry.Exporter](https://github.com/Azure/azure-sdk-for-net)
from 1.2.0 to 1.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Azure/azure-sdk-for-net/releases">Azure.Monitor.OpenTelemetry.Exporter's
releases</a>.</em></p>
<blockquote>
<h2>Azure.Monitor.OpenTelemetry.Exporter_1.3.0</h2>
<h2>1.3.0 (2024-06-07)</h2>
<h3>Other Changes</h3>
<ul>
<li>Includes all changes from 1.3.0-beta.1 and 1.3.0-beta.2</li>
<li>Changed <code>AzureMonitorLogExporter</code> to be internal.
This will be changed back to public in our next Beta while we experiment
with options to enable log filtering.
(<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/pull/44479">#44479</a>)</li>
</ul>
<h2>Azure.Monitor.OpenTelemetry.Exporter_1.3.0-beta.2</h2>
<h2>1.3.0-beta.2 (2024-05-08)</h2>
<h3>Features Added</h3>
<ul>
<li>All three signals (Traces, Metrics, and Logs) now support
OpenTelemetry's <a
href="https://github.com/open-telemetry/semantic-conventions/tree/main/docs/resource#service">&quot;service.version&quot;</a>
in Resource attributes.
This is mapped as <a
href="https://learn.microsoft.com/azure/azure-monitor/app/data-model-complete#application-version">Application
Version</a> in Application Insights.
(<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/pull/42174">#42174</a>)</li>
<li>Turned off internal spans and logs in exporter HTTP pipeline
(<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/pull/43359">#43359</a>)</li>
</ul>
<h3>Bugs Fixed</h3>
<ul>
<li>The success or failure of an incoming HTTP request is now determined
by the status code only when the Activity Status is <code>Unset</code>
(<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/pull/43594">#43594</a>,
based on <a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/41993">#41993</a>)</li>
</ul>
<h3>Other Changes</h3>
<ul>
<li>Update OpenTelemetry dependencies
(<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/pull/43197">#43197</a>)
<ul>
<li>OpenTelemetry 1.8.0</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/3d4982caba71a94fd84cb67fc32841c773780269"><code>3d4982c</code></a>
[AzureMonitor] remove features before stable release (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/44479">#44479</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/ff26125e1f7eb7b1945bacd50ccf14df8c8d6a11"><code>ff26125</code></a>
Add RefreshOn logic to ManagedIdentityCredential (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/44447">#44447</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/35726c25b39d70695930aaf51b7f25ae4bf2a37c"><code>35726c2</code></a>
Fix flakiness (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/44454">#44454</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/c73ac5eb28f0350169f194b7787997db865a1288"><code>c73ac5e</code></a>
Update github-event-processor to 1.0.0-dev.20240610.2 (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/44474">#44474</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/e0955d57e8b0313eaa7ac3799b94da026706c6b7"><code>e0955d5</code></a>
Update Changelog logs in extension-wcf for release notes (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/44428">#44428</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/12417e06cd511e52dec3860653cc12defebc326c"><code>12417e0</code></a>
Increment package version after release of Azure.AI.OpenAI (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/44452">#44452</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/d9680bd5243a9ca1d331ac47e6313cd24e8ba4f7"><code>d9680bd</code></a>
[Search] Update the latest Azure OpenAI version (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/44459">#44459</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/b16d6442f53e49a44cc5c5c12efe2bcd9dfd56af"><code>b16d644</code></a>
prep exporter 1.3.0 (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/44449">#44449</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/54c8e3cef1d8226d2581c964afd0143558d1b1c9"><code>54c8e3c</code></a>
changelog snap for 2.0.0-beta.1 (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/44446">#44446</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-net/commit/2b4f637cf26461768155f17a1a13e0776f48697c"><code>2b4f637</code></a>
Update MSAL dependencies (<a
href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/44444">#44444</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/Azure/azure-sdk-for-net/compare/Azure.Monitor.OpenTelemetry.Exporter_1.2.0...Azure.Monitor.OpenTelemetry.Exporter_1.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Azure.Monitor.OpenTelemetry.Exporter&package-manager=nuget&previous-version=1.2.0&new-version=1.3.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>
Bumps [DuckDB.NET.Data.Full](https://github.com/Giorgi/DuckDB.NET) from
1.0.0 to 1.0.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/1773cd82c6099dd6cdc5d0d4087eecd77237fd69"><code>1773cd8</code></a>
Remove next version</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/9c0dbf81801ae584a32c010f5a372846f3a72618"><code>9c0dbf8</code></a>
More nullable list tests</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/18decabf2e794881af4c566982aaa6ff4106eef0"><code>18decab</code></a>
Add nullable list tests</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/1790dcc73b2998661aeed67b52942aa38682c61f"><code>1790dcc</code></a>
Fix writing null to a large list.</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/53734daf9f19a683d71132fc21a3174008a6bf88"><code>53734da</code></a>
Fix for appending lists with null</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/e2e2e712a82a8e2e8e680e31fc88df95600ed342"><code>e2e2e71</code></a>
Make the prepared statement after the check succeed (<a
href="https://redirect.github.com/Giorgi/DuckDB.NET/issues/198">#198</a>)</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/87187a205232e9c44e3fe66fafd196cc6841592a"><code>87187a2</code></a>
Make the DuckDBConnection support unicode file path (<a
href="https://redirect.github.com/Giorgi/DuckDB.NET/issues/197">#197</a>)</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/c6cc7338f57aea0a03ff5e79d3848092969619d5"><code>c6cc733</code></a>
Initialize writers only once</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/bae8291792fad34fd692c4c13f5059eee6495432"><code>bae8291</code></a>
Set next version.</li>
<li><a
href="https://github.com/Giorgi/DuckDB.NET/commit/b79658bfba5a8b71f02eba941ef650626b8d2019"><code>b79658b</code></a>
Enable appending blob in .Net Standard target</li>
<li>Additional commits viewable in <a
href="https://github.com/Giorgi/DuckDB.NET/compare/1.0.0...1.0.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=DuckDB.NET.Data.Full&package-manager=nuget&previous-version=1.0.0&new-version=1.0.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>
…n /dotnet (#7041)

Bumps
[Microsoft.Extensions.Http.Resilience](https://github.com/dotnet/extensions)
from 8.2.0 to 8.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dotnet/extensions/releases">Microsoft.Extensions.Http.Resilience's
releases</a>.</em></p>
<blockquote>
<h2>.NET Extensions 8.6.0</h2>
<p>8.6.0 packages are now all published in NuGet.org.</p>
<h2>What's Changed</h2>
<ul>
<li>Detect connection timeouts in Hedging by <a
href="https://github.com/xakep139"><code>@​xakep139</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5134">dotnet/extensions#5134</a></li>
<li>Branding updates for 8.6 by <a
href="https://github.com/joperezr"><code>@​joperezr</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5147">dotnet/extensions#5147</a></li>
<li>Upgrade to latest version of Polly by <a
href="https://github.com/martintmk"><code>@​martintmk</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5152">dotnet/extensions#5152</a></li>
<li>Merge changes from internal branch by <a
href="https://github.com/joperezr"><code>@​joperezr</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5158">dotnet/extensions#5158</a></li>
<li>[main] Update dependencies from dotnet/arcade by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5166">dotnet/extensions#5166</a></li>
<li>Remove incorrect System.Net.Http dependency by <a
href="https://github.com/RussKie"><code>@​RussKie</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5167">dotnet/extensions#5167</a></li>
<li>FakeTimeProvider usage update by <a
href="https://github.com/dariusclay"><code>@​dariusclay</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5169">dotnet/extensions#5169</a></li>
<li>Remove redundant package subscriptions by <a
href="https://github.com/RussKie"><code>@​RussKie</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5172">dotnet/extensions#5172</a></li>
<li>Fix up some docs by <a
href="https://github.com/gewarren"><code>@​gewarren</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5177">dotnet/extensions#5177</a></li>
<li>[main] Update dependencies from dotnet/arcade by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5182">dotnet/extensions#5182</a></li>
<li>Avoid buffer race conditions in CGroups by <a
href="https://github.com/RussKie"><code>@​RussKie</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5129">dotnet/extensions#5129</a></li>
<li>Fix logging source-gens duplication on WPF by <a
href="https://github.com/xakep139"><code>@​xakep139</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5024">dotnet/extensions#5024</a></li>
<li>Introduce FakeTimeProvider.AdjustTime by <a
href="https://github.com/geeknoid"><code>@​geeknoid</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5192">dotnet/extensions#5192</a></li>
<li>Fix [NoDataClassification] attribute handling in logging source-gen
by <a href="https://github.com/geeknoid"><code>@​geeknoid</code></a> in
<a
href="https://redirect.github.com/dotnet/extensions/pull/5191">dotnet/extensions#5191</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/dotnet/extensions/compare/v8.5.0...v8.6.0">https://github.com/dotnet/extensions/compare/v8.5.0...v8.6.0</a></p>
<h2>.NET Extensions 8.5.0</h2>
<p>8.5.0 packages are now all published in NuGet.org.</p>
<h2>What's Changed</h2>
<ul>
<li>[main] Update dependencies from dotnet/arcade by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5090">dotnet/extensions#5090</a></li>
<li>Fix incorrect TCP port used by default for k8s probes by <a
href="https://github.com/geeknoid"><code>@​geeknoid</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5085">dotnet/extensions#5085</a></li>
<li>Use non *-pt images by <a
href="https://github.com/RussKie"><code>@​RussKie</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5106">dotnet/extensions#5106</a></li>
<li>Add support for Linux cgrpoup v2, issue-4885 by <a
href="https://github.com/nezdali"><code>@​nezdali</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5068">dotnet/extensions#5068</a></li>
<li>Securing the array for ResourceMonitoring's method by <a
href="https://github.com/nezdali"><code>@​nezdali</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5111">dotnet/extensions#5111</a></li>
<li>[main] Update dependencies from dotnet/arcade by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5131">dotnet/extensions#5131</a></li>
<li>[release/8.5] Detect connection timeouts in Hedging by <a
href="https://github.com/github-actions"><code>@​github-actions</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5149">dotnet/extensions#5149</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/nezdali"><code>@​nezdali</code></a> made
their first contribution in <a
href="https://redirect.github.com/dotnet/extensions/pull/5068">dotnet/extensions#5068</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/dotnet/extensions/compare/v8.4.0...v8.5.0">https://github.com/dotnet/extensions/compare/v8.4.0...v8.5.0</a></p>
<h2>.NET Extensions 8.4.0</h2>
<p>8.4.0  packages are now all published in NuGet.org.</p>
<h2>What's Changed</h2>
<ul>
<li>Fix incorrect diagnostic value. by <a
href="https://github.com/geeknoid"><code>@​geeknoid</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/4994">dotnet/extensions#4994</a></li>
<li>Public build pipeline by <a
href="https://github.com/RussKie"><code>@​RussKie</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/4993">dotnet/extensions#4993</a></li>
<li>Public build pipeline by <a
href="https://github.com/RussKie"><code>@​RussKie</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/4997">dotnet/extensions#4997</a></li>
<li>[automated] Merge branch 'release/8.0' =&gt; 'main' by <a
href="https://github.com/dotnet-maestro-bot"><code>@​dotnet-maestro-bot</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/4999">dotnet/extensions#4999</a></li>
<li>Update Branding for 8.4 by <a
href="https://github.com/joperezr"><code>@​joperezr</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/4987">dotnet/extensions#4987</a></li>
<li>[release/8.0] Update dependencies from dotnet/arcade by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5013">dotnet/extensions#5013</a></li>
<li>[release/8.0] Update dependencies from dotnet/arcade by <a
href="https://github.com/dotnet-maestro"><code>@​dotnet-maestro</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5027">dotnet/extensions#5027</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dotnet/extensions/commit/7843c7bd1c77ac0ea6768a3e23771cf2a1236135"><code>7843c7b</code></a>
Merged PR 40274: Fix minor version</li>
<li><a
href="https://github.com/dotnet/extensions/commit/ad11dd7402f0fa331f1b4eeb3f3d0fb4764c2845"><code>ad11dd7</code></a>
Merged PR 40267: Preparing for 8.6 release</li>
<li><a
href="https://github.com/dotnet/extensions/commit/4bafacb93092065949771f8a593a26ff883e4d48"><code>4bafacb</code></a>
Fix <a
href="https://redirect.github.com/dotnet/extensions/issues/5188">#5188</a>
(<a
href="https://redirect.github.com/dotnet/extensions/issues/5191">#5191</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/300c3ca65a8011058452d3a1fe200cbdbb689918"><code>300c3ca</code></a>
Introduce FakeTimeProvider.AdjustTime (<a
href="https://redirect.github.com/dotnet/extensions/issues/5192">#5192</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/1a52ac3ded067bd2e243a71547625976b336bede"><code>1a52ac3</code></a>
Fix logging source-gens duplication on WPF (<a
href="https://redirect.github.com/dotnet/extensions/issues/5024">#5024</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/14e39772f896d8e2b4b6157b6145726261dffcef"><code>14e3977</code></a>
CR;</li>
<li><a
href="https://github.com/dotnet/extensions/commit/cb67f83a07c5a49cdef1fda91230d4ef429d04eb"><code>cb67f83</code></a>
Merge branch 'main' into xakep139/log-source-gen-WPF-bug</li>
<li><a
href="https://github.com/dotnet/extensions/commit/a06edbd6fad6556542a3bdffb408add4875e5cb0"><code>a06edbd</code></a>
Avoid buffer race conditions in CGroups (<a
href="https://redirect.github.com/dotnet/extensions/issues/5129">#5129</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/625bb60d3ffcca225ffd740f754dc2ef82684af0"><code>625bb60</code></a>
Update dependencies from <a
href="https://github.com/dotnet/arcade">https://github.com/dotnet/arcade</a>
build 20240520.4 (#...</li>
<li><a
href="https://github.com/dotnet/extensions/commit/7c953a9f57dd1c7922b6a36939f645e042301728"><code>7c953a9</code></a>
fix up some docs (<a
href="https://redirect.github.com/dotnet/extensions/issues/5177">#5177</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/dotnet/extensions/compare/v8.2.0...v8.6.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.Extensions.Http.Resilience&package-manager=nuget&previous-version=8.2.0&new-version=8.6.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: Dmytro Struk <[email protected]>
### 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.
-->

### Description
minor fix
<!-- 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: -->

- [ ] 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 😄
### 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.
-->

Enables streaming invocation of `ChatCompletionAgent` for use in _no
chat_ (single agent) mode.

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

- Add `ChatCompletionAgent.InvokeStreamingAsync`
- Add streaming sample
- To be incorporated as part of `AgentChat` streaming framework (i.e.
this is an initial component)

### 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 😄
### 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.
-->
The `metricType` parameter in the `SearchAsync` method of the Milvus
connector is incorrect.

It will always use the `SimilarityMetricType.Ip` for searching.

### Description

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

The current code hard-codes the milvus search metric type to
`SimilarityMetricType.Ip`, which causes the issue where even if the
Metric type is specified as `SimilarityMetricType.Cosine` when creating
the `MilvusMemoryStore`, `SimilarityMetricType.IP` is still used during
the search.

Issue: [#7062](#7062)

### 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: Roger Barreto <[email protected]>
…der limitation (#7067)

### 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.
-->

Finaly Google Gemini API is supporting system messages.

### Description

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

Added support one or multiple system messages.
Removed messages order limitation because google API not permitting this
anymore.
(so Agents framework and handlebars planner now should work with Gemini!
yeah!)

### 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 😄

@RogerBarreto
)

### Motivation and Context

Resolves #6782

### 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: -->

- [ ] 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 😄

---------

Co-authored-by: SergeyMenshykh <[email protected]>
…nts (#7070)

### Motivation and Context

The Sessions Python Plugin was working properly, but some users reported
that the endpoints needed updating. We had made previous updates to the
plugin, but they didn't account for the update API endpoints and request
body changes shown
[here](https://learn.microsoft.com/en-us/azure/container-apps/sessions-code-interpreter).

<!-- 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 updates the plugin tool to work with the documented endpoints
and request bodies. The unit tests were also updated. The concept sample
for the Azure Python sessions plugin was tested with all methods to:
execute code, upload multiple files, list files, and download them.
- Additionally, improve error handling for each of the function calls so
the proper error message is surfaced to the user via SK exceptions.
- Fix path building and making sure the sessions endpoint is converted
to a string from the Pydantic https type.
- Closes #6934 

<!-- 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 😄
### 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.
-->

 1. Why is this changed required ?
To enable Mistral Models with Semantic Kernel, there was the issue #6499
in the Backlog to add a MistralAI Connector
2. What problem does it solve ?
It solves the problem, that semantic kernel is not yet integrated with
MistralAI
3. What scenario does it contribute to?
The scenario is to use different connector than HF,OpenAI or
AzureOpenAI. When User's want to use Mistral they can easliy integrate
it now
4. If it fixes an open issue, please link to the issue here.
#6499 

### Description

The changes made are designed by the open_ai connector, i tried to stay
as close as possible to the structure.
For the integration i installed the mistral python package in the
repository.

I added the following Classes :
- MistrealAIChatPromptExcecutionSettings --> Responsible to administrate
the Prompt Execution against MistralAI
- MistralAIChatCompletion --> Responsible to coordinate the Classes and
for Content parsing
- MistralAISettings --> Basic Settings to work with the MistralAIClient

**To test the changes with the tests please add MISTRALAI_API_KEY and
MISTRALAI_CHAT_MODEL_ID as Enviorment Variable**

From a design decision i moved the processing of Functions from
Connectors to the ChatCompletionClientBaseClass

What is integrated yet :

- [X] Integrate Mistral AI ChatCompletion Models without Streaming
- [X] Integrate Mistral AI Chat Completion Models with Streaming
- [X] Simple Integration Test to test Streaming and non Streaming
- [x] Extended Testing including Unit Testing & More Integration Tests

### 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: Nico Möller <[email protected]>
…ugin. (#7098)

### Motivation and Context

When `TextMemoryPlugin` gets back multiple results from the memory store
during recall, it uses json serialization to
turn these multiple results into a single string.
In some cases, this may cause unintended side-affects, e.g. when
non-latin script is present in the results, `JsonSerializer`
automatically escapes these characters.
Adding support for passing custom `JsonSerializerOptions` into the
`TextMemoryPlugin` to customize the serialization behavior.

See #6593

### Description

Added optional `JsonSerializerOptions` to the `TextMemoryPlugin`
constructor.
Added example to demonstrate this scenario.

### 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 😄
### 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.
-->

All builds failing due to spellcheck violation: **serializeable** =>
**serializable**

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

Changed three instances of **serializeable** to **serializable**

### 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 😄
…th the OpenAI connector (#6973)

### 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.
-->
Related to #6498

The use of local models presents a twofold benefit for developers:
increased flexibility and reduced costs. Ollama and LM Studio are two
well-known platforms that facilitate the hosting of models locally, both
of which offer compatibility with OpenAI endpoints. As such, it is
imperative that our OpenAI connector functions correctly when users are
operating models on these platforms.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
1. Verify that our OpenAI connector works as expected with models hosted
locally using Ollama and LM Studio.
2. Create three new samples (Ollama/chat, LM Studio/chat, LM
Studio/Embedding) under `/concepts/local_models` to show how to using
local models with the OpenAI connector.
3. Fix a bug in `test_sample_utils.py` where if a test case is retried
and input was never reset.

### 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 😄
### 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.
-->

Resolves: #5409

1. Removed experimental flags on `FunctionInvocationFilter` and
`PromptRenderFilter`.
2. Updated documentation.

### 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 😄
### Motivation and Context

Closes #7118 

When request is cancelled due to configured Timeout on HttpClient, SK
will throw `KernelFunctionCanceledException`. This change sets the Url,
request payload etc. on the `KernelFunctionCanceledException`.

### 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: -->

- [ ] 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 😄
### Motivation and Context
Fix the Bug #6635 HuggingFace Embedding: Unable to Deserialization for
certain 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
As mentioned in the issue, the HuggingFace Embedding API interface
returns responses typically in the form of `List<ReadOnlyMemory<float>>`
and occasionally as `List<List<List<ReadOnlyMemory<float>>>>`.
Currently, only the latter format is handled correctly, leading to
deserialization issues.

To address this, I propose the following solution:
```
try {
    // Attempt to parse data as List<ReadOnlyMemory<float>> and return the parsed data
}
catch (KernelException ex1) {
    try {
        // If the first attempt fails, attempt to parse data as List<List<List<ReadOnlyMemory<float>>>>` and return the parsed data
    }
    catch (KernelException ex2) {
        // If both attempts fail, handle the exception (e.g., the model doesn't exist ,the model has still been loading, or an HTTP exception occurred) and rethrow the error
    }
}

```
### 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
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄

---------

Co-authored-by: Dmytro Struk <[email protected]>
)

### Motivation and Context

We have mypy enabled on parts of the code base, but not all. The goal is
to enable it across the entire SK python code. As part of this, we've
broken up the work to tackle different sections. Additionally, we're
working to improve the code coverage for these sections of code.

<!-- 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:
- turns on mypy for the openapi connector (plugin). Code adjustments
were made per mypy, with the exclusion of two places that contain a
`type: ignore` as the type was already valid, but mypy still complained.
- adds more unit test coverage for the OpenAPI models and classes. All
OpenAPI classes are now >95% covered.
- closes #7135 

<!-- 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 😄
…e code quality. (#7163)

### Motivation and Context

We have mypy enabled on parts of the code base, but not all. The goal is
to enable it across the entire SK python code. As part of this, we've
broken up the work to tackle different sections. Additionally, we're
working to improve the code coverage for these sections of code.

<!-- 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:
- turns on mypy for the connector utils and the search connectors (Bing
and Google). Small Code adjustments were made per mypy.
- other refactoring to make the code cleaner like using https
AsyncClient, and better error handling around the API call.
- introduces Google Search settings for the connector.
- adds more unit test coverage for the document loader util and the
Bing/Google search connectors. There is 100% code coverage.
- closes #7136

<!-- 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 😄
…age. (#7154)

### Motivation and Context

We have mypy enabled on parts of the code base, but not all. The goal is
to enable it across the entire SK python code. As part of this, we've
broken up the work to tackle different sections. Additionally, we're
working to improve the code coverage for these sections of code.

<!-- 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:
- turns on mypy for the function choice behavior code. Code adjustments
were made per mypy, with the exclusion of one place that contain a
`type: ignore` as mypy claimed the function mapping couldn't execute
properly, when it indeed can.
- adds more unit test coverage for the function choice behavior and
class and classmethods. There is 100% code coverage.
- fixes a bug related to mapping the function call behavior required
behavior to the new required behavior.
- closes #7137

<!-- 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 😄
### 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.
-->
Now that the Function Choice abstraction has been implemented in Python,
it is time to extend this feature to other connectors. The first (OAI
and AOAI are not included) connector to be granted this honor is the
Azure AI Inference connector.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
1. Add function calling to Azure AI Inference.

### 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 😄
### Motivation and Context

Bump Python project version to 1.2.0 for a release.

<!-- 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

Bump Python project version to 1.2.0 for a release.

<!-- 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 😄
…t code coverage. (#7176)

### Motivation and Context

We have mypy enabled on parts of the code base, but not all. The goal is
to enable it across the entire SK python code. As part of this, we've
broken up the work to tackle different sections. Additionally, we're
working to improve the unit test code coverage for these sections of
code.

<!-- 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:
- turns on mypy for the HuggingFace connector
- adds more unit test coverage for the text completion and embeddings
connector to achieve >95% code coverage.
- closes #7133

<!-- 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 😄
…7162)

Bumps Microsoft.ML.OnnxRuntime from 1.18.0 to 1.18.1.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.ML.OnnxRuntime&package-manager=nuget&previous-version=1.18.0&new-version=1.18.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>
Bumps [zipp](https://github.com/jaraco/zipp) from 3.18.2 to 3.19.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jaraco/zipp/blob/main/NEWS.rst">zipp's
changelog</a>.</em></p>
<blockquote>
<h1>v3.19.1</h1>
<h2>Bugfixes</h2>
<ul>
<li>Improved handling of malformed zip files. (<a
href="https://redirect.github.com/jaraco/zipp/issues/119">#119</a>)</li>
</ul>
<h1>v3.19.0</h1>
<h2>Features</h2>
<ul>
<li>Implement is_symlink. (<a
href="https://redirect.github.com/jaraco/zipp/issues/117">#117</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jaraco/zipp/commit/6d1cb72aa55e0536f35d2af128994b5a61ca4c1a"><code>6d1cb72</code></a>
Finalize</li>
<li><a
href="https://github.com/jaraco/zipp/commit/fd604bd34f0343472521a36da1fbd22e793e14fd"><code>fd604bd</code></a>
Merge pull request <a
href="https://redirect.github.com/jaraco/zipp/issues/120">#120</a> from
jaraco/bugfix/119-malformed-paths</li>
<li><a
href="https://github.com/jaraco/zipp/commit/c18417ed2953e181728a7dac07bff88a2190abf7"><code>c18417e</code></a>
Add news fragment.</li>
<li><a
href="https://github.com/jaraco/zipp/commit/58115d2be968644ce71ce6bcc9b79826c82a1806"><code>58115d2</code></a>
Employ SanitizedNames in CompleteDirs. Fixes broken test.</li>
<li><a
href="https://github.com/jaraco/zipp/commit/564fcc10cdbfdaecdb33688e149827465931c9e0"><code>564fcc1</code></a>
Add SanitizedNames mixin.</li>
<li><a
href="https://github.com/jaraco/zipp/commit/79a309fe54dc6b7934fb72e9f31bcb58f2e9f547"><code>79a309f</code></a>
Add some assertions about malformed paths.</li>
<li><a
href="https://github.com/jaraco/zipp/commit/2d015c22348fab46ca765339f55f84fe9d6e8115"><code>2d015c2</code></a>
Merge <a
href="https://github.com/jaraco/skeleton">https://github.com/jaraco/skeleton</a></li>
<li><a
href="https://github.com/jaraco/zipp/commit/a595a0fad054cd20b69d3e954c99174e3a548938"><code>a595a0f</code></a>
Rename extras to align with core metadata spec.</li>
<li><a
href="https://github.com/jaraco/zipp/commit/608f90a6e74919501577a1312dc5c7d8e1d391d7"><code>608f90a</code></a>
Finalize</li>
<li><a
href="https://github.com/jaraco/zipp/commit/3a22d724acf874111b43f87f7110225122ec3de5"><code>3a22d72</code></a>
Merge pull request <a
href="https://redirect.github.com/jaraco/zipp/issues/118">#118</a> from
jaraco/feature/is-symlink</li>
<li>Additional commits viewable in <a
href="https://github.com/jaraco/zipp/compare/v3.18.2...v3.19.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zipp&package-manager=pip&previous-version=3.18.2&new-version=3.19.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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/microsoft/semantic-kernel/network/alerts).

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
eavanvalkenburg and others added 15 commits July 11, 2024 11:51
### 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.
-->
Up until this point, we had not had full test coverage for all openai
classes, and mypy type checking was disabled.
These have now both been solved, lots of small fixes for the typing and
a set of new tests for the different parts of the openai suite of
classes have been added.

fixes #7131
fixes #6930

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
The unit tests for OpenAI all now have multiple ways of creating checked
and tested.
Also actual responses from the openai package are created and used to
test the parsing of those into our classes.

### 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 😄
### 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.
-->
Fix #6932
Added ability to supply function_name and plugin_name as well as name
(name keeps precedence)
Added ability to supply arguments as a dict, instead of string.
Also ups the test coverage for the contents folder.

### 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 😄
### 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 unit test run only for ubuntu for python 3.13, should not fail full
job when it does fail.
Slight improvement of filename handling for the coverage.

### 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 😄
### 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.
-->

Noticed some inconsistencies and opportunities for clarity.

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

- Removed usage of `var`
- Replaced incorrect comment for history creation for Step1 & Step2
_(GettingStartedWithAgents)_
- Appending result content to history for Step1 & Step2
_(GettingStartedWithAgents)_
- Replaced incorrect comment for thread creation for Step8
_(GettingStartedWithAgents)_

### 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: Gil LaHaye <[email protected]>
### Motivation and Context

Following in the steps of dotnet, we're beginning to add agent support
to Python. For an initial implementation the focus is on non-grouped,
chat completion agents. The first pass is covering a ChatCompletionAgent
that allows the user to define a ChatCompletion Service as part of the
SK Kernel, and then reference that service in an agent implementation.

<!-- 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

The PR:
- Adds support for a standard chat completion agent
- Adds the required abstractions to allow the single chat completion
agent to work
- Introduces a new agent concept sample showing how to invoke the agent
for a streaming and non-streaming context.
- Adds unit tests to cover the new code
- Closes #7079 


![image](https://github.com/microsoft/semantic-kernel/assets/35585003/8fa1f248-52b2-41b9-85ac-38ac80a05a68)

<!-- 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 😄
### Motivation and Context

We've been working on increasing the test coverage. These tests aren't
specific to the CQ spike, but I noticed that there was covering lacking
for them, and they were "low hanging fruit."

<!-- 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

Increasing the test coverage for some classes that have current test
coverage but were missing some line coverage here and there. At this
point in time, the test coverage report is showing 95% covered now.

<!-- 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 😄

---------

Co-authored-by: Gil LaHaye <[email protected]>
### 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 singular get_..._content methods to all services, initially
implemented by calling the multi version and passing back the first
result, it therefore does not check on the number of responses
parameter, just provides the interface.

Also add `generate_raw_embeddings` to Embedding Base to allow models to
return different types, while keeping generate_embeddings to return a
numpy array.

Fixes #6926 


### 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 😄

---------

Co-authored-by: Tao Chen <[email protected]>
### Motivation and Context
1. I saw that you are having spikes regarding enabling MyPy
2. On ##7049  i had the Liskov Principle commented
3. In #7144 is saw how you plan to solve this so i decided to adjust the
mistral connector to this

### Description

The PR contains changes to be compliant to MyPy in Mistral AI Connector.
Changes input Parameter for MistralAIChatCompletion from
MistralAIPromptExecutionSettings to PromptExecutionSettings.
Adding Test Cases for MistralAIPromptExecutionSettings and
PromptExecutionSettings.


![image](https://github.com/microsoft/semantic-kernel/assets/23048106/5822896e-17d1-4d68-9348-da6765ac3527)


### Tasks

- [x] Changes input Parameter for Liskov
- [x] Settings conversion
- [x] Adjust TestCases to 100%

### 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: Nico Möller <[email protected]>
Co-authored-by: Evan Mattson <[email protected]>
### 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.
-->

Migrate logging to dynamic logging methods for better maintability and
discoverability (best practice).

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

Moved each instance of logging a message into a class specific
log-message file.

### 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 😄
### 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.
-->

### 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: -->

- [ ] 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 😄
### 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.
-->

### 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: -->

- [ ] 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 😄
@RogerBarreto RogerBarreto requested a review from a team as a code owner July 12, 2024 10:54
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@RogerBarreto RogerBarreto requested a review from a team as a code owner July 12, 2024 10:54
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code python Pull requests for the Python Semantic Kernel kernel Issues or pull requests impacting the core kernel kernel.core documentation memory labels Jul 12, 2024
@github-actions github-actions bot changed the title .Net Ollama (Merge main) Python: .Net Ollama (Merge main) Jul 12, 2024
@markwallace-microsoft
Copy link
Member

Py3.10 Test Coverage

Python 3.10 Test Coverage Report •
FileStmtsMissCoverMissing
semantic_kernel/connectors/ai
   chat_completion_client_base.py17853%53–56, 95–101
   prompt_execution_settings.py53198%49
   text_completion_client_base.py12558%43, 74–78
semantic_kernel/connectors/ai/azure_ai_inference/services
   azure_ai_inference_chat_completion.py1377247%133–158, 186–205, 232–243, 252–287, 293–304, 324–346, 368–371, 399–406, 414, 429–431, 449
   utils.py402342%39, 57–71, 83–102, 114–127
semantic_kernel/connectors/ai/embeddings
   embedding_generator_base.py8188%50
semantic_kernel/connectors/ai/hugging_face/services
   hf_text_completion.py54394%95, 103, 134
   hf_text_embedding.py32584%77–81
semantic_kernel/connectors/openapi_plugin
   openapi_manager.py58395%50, 110–111
   openapi_parser.py88199%127
   openapi_runner.py105298%181–182
semantic_kernel/connectors/openapi_plugin/models
   rest_api_operation.py129199%240
semantic_kernel/core_plugins/sessions_python_tool
   sessions_python_plugin.py1221092%116, 236–238, 270–272, 317–319
semantic_kernel/functions
   kernel_function_extension.py126894%45, 47, 358–360, 396, 398, 408
   kernel_function_from_method.py86693%129, 149–150, 156, 159–160
TOTAL686339894% 

Python 3.10 Unit Test Overview

Tests Skipped Failures Errors Time
1757 1 💤 0 ❌ 0 🔥 24.592s ⏱️

@RogerBarreto RogerBarreto merged commit 2def240 into feature-connectors-ollama Jul 12, 2024
32 of 40 checks passed
RogerBarreto added a commit that referenced this pull request Jul 12, 2024
RogerBarreto added a commit that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation kernel.core kernel Issues or pull requests impacting the core kernel memory .NET Issue or Pull requests regarding .NET code python Pull requests for the Python Semantic Kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.