Commit Graph
3218 Commits
Author SHA1 Message Date
John Oliver ce79de5ce1 Remove Java from CodeQL analysis (#7547)
### 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 😄
dotnet-1.16.1-nightly-240730.1
2024-07-29 22:21:28 +00:00
Eduard van Valkenburg d54f39100d Python: serialize the result as string, consistent with behavior before 1.2 (#7528)
### 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 #7340

This adds a serializer to the FunctionResultContent for the result
field.

Before SK 1.2 all results where stored as string using `str(value)`,
after that was changed to Any, to allow more complex types to be stored
with full details.

This changes things back to that behavior for serialization by adding a
pydantic field_serializer for that field which uses the same method
(`str(value)`). Further this allows one to subclass
FunctionResultContent and overwrite the built-in serializer with your
own.

### 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 😄
2024-07-29 18:00:25 +00:00
John OliverandBruno Borges d3172f8f36 Java: Migrate java code to new repository (#7460)
### 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 😄

Co-authored-by: Bruno Borges <[email protected]>
2024-07-29 17:01:13 +00:00
ChrisandEvan Mattson 430dd8d66b ADR - Agent Framework (#5922)
### Motivation and Context
<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

This ADR captures agent concepts as the project solidifies. Will be
updated as needed to remain _in sync_.

While the code exists as _ground-truth_, capturing the following
additional vectors can aid with translation to _Python_ and _Java_:

- Conceptual overview
- Objectives / requirements
- Analysis
- Intent

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

This merges the initial _Agent_ ADR with the current direction with the
goal of capturing project essence for translation into _Python_ and
_Java_

### 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: Evan Mattson <[email protected]>
2024-07-29 15:46:49 +00:00
Evan Mattson 3169c8a429 Python: Persist user and assistant messages in chat history (concept sample) (#7407)
### Motivation and Context

In the concept sample `chat_gpt_api_function_calling.py`, the user
messages and assistant messages are not persisted in the history as the
user continues to chat.

<!-- 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 persists the user and assistant messages in the history for the
sample. Supersedes #6668 as there were errors with the pre-commit check.

<!-- 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 😄
dotnet-1.16.1-nightly-240729.1 dotnet-1.16.1-nightly-240728.1
2024-07-27 14:19:00 +00:00
dependabot[bot]andEvan Mattson 68b21b81df Python: Bump azure-ai-inference from 1.0.0b1 to 1.0.0b2 in /python (#7273)
Bumps
[azure-ai-inference](https://github.com/Azure/azure-sdk-for-python) from
1.0.0b1 to 1.0.0b2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Azure/azure-sdk-for-python/releases">azure-ai-inference's
releases</a>.</em></p>
<blockquote>
<h2>azure-ai-inference_1.0.0b2</h2>
<h2>1.0.0b2 (2024-06-24)</h2>
<h3>Features Added</h3>
<p>Add <code>model</code> as an optional input argument to the
<code>complete</code> method of <code>ChatCompletionsClient</code>.</p>
<h3>Breaking Changes</h3>
<p>The field <code>input_tokens</code> was removed from class
<code>EmbeddingsUsage</code>, as this was never defined in the
REST API and the service never returned this value.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Azure/azure-sdk-for-python/commit/4defbc741f24f808242ea306c65cd46c5912643c"><code>4defbc7</code></a>
aci returns non-json response for probing request (<a
href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/36193">#36193</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-python/commit/6632e130a8ad8bc7706ab8b56a2cafa62d010fe4"><code>6632e13</code></a>
strict sphinx communication (<a
href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/36111">#36111</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-python/commit/444ed8b35e08f735914639c70ed15930698459cf"><code>444ed8b</code></a>
Azure AI Inference SDK - Beta 2 updates (<a
href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/36163">#36163</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-python/commit/f79254951b3b780484c27babf5c8683407c82bd8"><code>f792549</code></a>
[Text Translation] Fix the Entra ID authentication on custom endpoint
(<a
href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/35835">#35835</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-python/commit/b9e0b1725aee9ce674792ed41291f107d23c7fae"><code>b9e0b17</code></a>
Move CallAutomation GA3 Changes to ALPHA3 (<a
href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/35650">#35650</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-python/commit/8042a55986c993921ed9f714fb1ba223decd1462"><code>8042a55</code></a>
delete SYSTEM_ACCESSTOKEN as it is already defined in our CI (<a
href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/36196">#36196</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-python/commit/0e4504e4185c4baa5389a3779162e794972abffc"><code>0e4504e</code></a>
Force amd64 as the build platform - it has to match what the AKS cluster
is r...</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-python/commit/9dc6cc866f57f5d6dd31395d50886e328c25d6d6"><code>9dc6cc8</code></a>
[Key Vault] Update tests to only record with Managed Identity (<a
href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/35859">#35859</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-python/commit/b50ee9eb20bb23cc9e25efe1f675db3b4e3a184c"><code>b50ee9e</code></a>
Sync eng/common directory with azure-sdk-tools for PR 8475 (<a
href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/36167">#36167</a>)</li>
<li><a
href="https://github.com/Azure/azure-sdk-for-python/commit/ac15c0fc614a2588dd8e401ae128d3d622d05e9f"><code>ac15c0f</code></a>
Release exporter (<a
href="https://redirect.github.com/Azure/azure-sdk-for-python/issues/36195">#36195</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/Azure/azure-sdk-for-python/compare/azure-ai-inference_1.0.0b1...azure-ai-inference_1.0.0b2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=azure-ai-inference&package-manager=pip&previous-version=1.0.0b1&new-version=1.0.0b2)](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]>
dotnet-1.16.1-nightly-240727.1
2024-07-26 17:48:49 +00:00
Tao ChenandEvan Mattson 8c31ab01a0 Python: Update MMLU sample so that it works with all Chat Completion services (#7455)
### 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 MMLU sample will automatically pick up AI services to run against
the MMLU dataset. Previously, it only works with the
`AzureAIInferenceChatCompletion` service. Expand it to work with any
chat completion service.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
Expand the MMLU sample to automatically work with any chat completion
service.

### 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: Evan Mattson <[email protected]>
2024-07-26 17:47:06 +00:00
35b52a5e45 Update README.md (#7068)
Updated README with new graphics, links and structure

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

---------

Co-authored-by: Roger Barreto <[email protected]>
Co-authored-by: Matthew Bolaños <[email protected]>
2024-07-26 15:56:19 +00:00
Mark Wallace ff051d6a96 .Net: Promote cancelled exception data to kernel function cancelled exception (#7450)
### Motivation and Context

Reversing this decision
https://github.com/microsoft/semantic-kernel/pull/7119#discussion_r1668850058
based on developer feedback

### Contribution Checklist

- [ ] 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 😄
dotnet-1.16.1-nightly-240726.2
2024-07-26 11:16:34 +00:00
Mark WallaceandDmytro Struk 897bc40196 .Net: Test with the LightPlugin (#7285)
### Motivation and Context

Update sample to match issue #7268 

### 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: Dmytro Struk <[email protected]>
2024-07-26 10:29:59 +00:00
Gil LaHayeandTao Chen ca78ff73e0 Python: Add OpenTelemetry to Python SK (#6914)
### Motivation and Context
We want observability into usage of SK

### Description
Add OpenTelemetry to Python SK

### Contribution Checklist
- [ ] 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

---------

Co-authored-by: Tao Chen <[email protected]>
2024-07-25 20:18:41 +00:00
Chris 5c7f9bab71 .Net Agents - Fix interoperability of assistant generated content (#7415)
### 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 `OpenAIAssistantAgent` produced messages that resulted in an
exception when processed by the chat-completion service.
- Code-Interpreter Output: `Tool` role implies preceeding function-call
- `FileReferenceContent`: Image output being isolated from accompanying
text

Fixed: https://github.com/microsoft/semantic-kernel/issues/7414

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

- Changed role of code-interpreter output to `assistant`
- Merged message-content into a single `ChatMessageContent` object

### 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 😄
2024-07-25 15:59:36 +00:00
Mark WallaceandDmytro Struk 699e1ae198 .Net: Baseline 1.16.1 (#7417)
### 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 😄

---------

Co-authored-by: Dmytro Struk <[email protected]>
2024-07-25 07:09:43 +00:00
Tao Chen d1621474ee Python: Google AI Connector (#7419)
### 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.
-->
We are adding a new AI connector for the talking to the Gemini API on
Google AI:
https://ai.google.dev/gemini-api/docs/get-started/tutorial?authuser=1&lang=python.

Note that this is for Gemini hosted on Google AI. Google also offers
Gemini access on their Vertex AI platform:
https://cloud.google.com/vertex-ai/generative-ai/docs/migrate/migrate-google-ai.
We will have another connector along with this for accessing Gemini on
Vertex AI.

### Description

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

The new connector contains 3 AI services:
- Chat completion
- Text completion
- Text embedding

TODO: Function calling.
> Function calling is not included in this PR to reduce to the size of
the PR.

Unit test coverage:

![image](https://github.com/user-attachments/assets/d4fefaa3-b24a-4b91-b29a-cadec5fa34fb)

Mypy: All cleared

### 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 😄
dotnet-1.16.1-nightly-240725.1
2024-07-24 23:20:36 +00:00
Davide Mauri 57c72531df .Net: using a more modern and compatible collation (#7425)
### Motivation and Context

Moved to use Latin1_General_100_BIN2 which is more compatible and updaed

### Description

Updated the collation in the "create table" statement

### Contribution Checklist

- [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 😄
2024-07-24 20:36:37 +00:00
Mark Wallace 305b2ee28b .Net: Remove log entry (#7418)
### 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 😄
dotnet-1.16.1-nightly-240724.1
2024-07-23 22:01:55 +00:00
Mark Wallace f8878bea12 .Net: Version1.16.1 (#7413)
### 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 😄
dotnet-1.16.1
2024-07-23 21:14:19 +01:00
dependabot[bot] a2f495023d .Net: Bump xunit.analyzers from 1.14.0 to 1.15.0 in /dotnet (#7399)
Bumps [xunit.analyzers](https://github.com/xunit/xunit.analyzers) from
1.14.0 to 1.15.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/xunit/xunit.analyzers/commit/95965a554f51b23032e943c2edc7b96ec043cdbb"><code>95965a5</code></a>
v1.15.0</li>
<li><a
href="https://github.com/xunit/xunit.analyzers/commit/a67a4c7c5f93182c34257b5ee837cb948090f5cb"><code>a67a4c7</code></a>
Create analyzer/fixer for Assert.Empty (<a
href="https://redirect.github.com/xunit/xunit.analyzers/issues/184">#184</a>)</li>
<li><a
href="https://github.com/xunit/xunit.analyzers/commit/db1f0c2d49ec42058de31ca271fff9ebc9366e51"><code>db1f0c2</code></a>
Update xUnit3000 to support v3's IXunitSerializable</li>
<li><a
href="https://github.com/xunit/xunit.analyzers/commit/fec8d6644b75b4ca01aa04cabf61f3c4824b0d6a"><code>fec8d66</code></a>
Update for v3 0.2.0</li>
<li><a
href="https://github.com/xunit/xunit.analyzers/commit/50dec192aa1d1ce48add9e50d2a9057879bd0332"><code>50dec19</code></a>
Update dependencies</li>
<li><a
href="https://github.com/xunit/xunit.analyzers/commit/0a78e6d89aee7fa7411f7e08ef28a28fd5619fb0"><code>0a78e6d</code></a>
Updated .gitignore</li>
<li><a
href="https://github.com/xunit/xunit.analyzers/commit/70f5c6c937464ba40fd8dba7bc223bb34a3d9b47"><code>70f5c6c</code></a>
Explicitly use latest Microsoft.CodeAnalysis.Analyzers per <a
href="https://github.com/sharwell"><code>@​sharwell</code></a></li>
<li><a
href="https://github.com/xunit/xunit.analyzers/commit/412403828132c3e499a1319ab108a78d84ac8b83"><code>4124038</code></a>
Updated dependencies</li>
<li><a
href="https://github.com/xunit/xunit.analyzers/commit/24e3c1c97a4a2d0a64cadc208e2ee7872d8446ae"><code>24e3c1c</code></a>
<a
href="https://redirect.github.com/xunit/xunit/issues/2943">xunit/xunit#2943</a>:
Revert to only supporting Roslyn 3.11</li>
<li><a
href="https://github.com/xunit/xunit.analyzers/commit/84d0e79925c23130c5c45c0e0dadf90c1e812150"><code>84d0e79</code></a>
Add launchSettings.json to .gitignore</li>
<li>Additional commits viewable in <a
href="https://github.com/xunit/xunit.analyzers/compare/1.14.0...1.15.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=xunit.analyzers&package-manager=nuget&previous-version=1.14.0&new-version=1.15.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>
2024-07-23 19:03:10 +00:00
Dmytro Struk 190b69b3de .Net: Added additional data to auto function invocation filter context (#7398)
### 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: https://github.com/microsoft/semantic-kernel/issues/7208

Added following data to auto function invocation filter context:
- Tool Call ID
- `ChatMessageContent` associated with function invocation operation

Note: API compatibility suppression is required for
`AutoFunctionInvocationContext` constructor to make `ChatMessageContent`
required, since auto function invocation is happening only during chat
completion operation, so `ChatMessageContent` should be always
available. The reason why the constructor is public at the moment is
because it lives in `Microsoft.SemanticKernel.Abstractions` package,
while it is initialized in auto function calling logic in specific
connector. When function calling abstraction will be in place, the
constructor will be marked is `internal`, since
`AutoFunctionInvocationContext` should not be created on user side.

### 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 😄
2024-07-23 18:32:08 +00:00
dependabot[bot] 1652b9f487 .Net: Bump Microsoft.Extensions.Http.Resilience from 8.6.0 to 8.7.0 in /dotnet (#7402)
Bumps
[Microsoft.Extensions.Http.Resilience](https://github.com/dotnet/extensions)
from 8.6.0 to 8.7.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.7.0</h2>
<p>8.7.0 packages are now all published in NuGet.org.</p>
<h2>What's Changed</h2>
<ul>
<li>Bump update-dotnet-sdk action by <a
href="https://github.com/martincostello"><code>@​martincostello</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5195">dotnet/extensions#5195</a></li>
<li>Skip indexers in logging source-gen by <a
href="https://github.com/xakep139"><code>@​xakep139</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5210">dotnet/extensions#5210</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/5219">dotnet/extensions#5219</a></li>
<li>Cleanup Http.Resilience dependencies by <a
href="https://github.com/pentp"><code>@​pentp</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5217">dotnet/extensions#5217</a></li>
<li>Fix FakeTimeProvider docs by <a
href="https://github.com/gewarren"><code>@​gewarren</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5227">dotnet/extensions#5227</a></li>
<li>Update package dependencies by <a
href="https://github.com/joperezr"><code>@​joperezr</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5218">dotnet/extensions#5218</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/5232">dotnet/extensions#5232</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/5246">dotnet/extensions#5246</a></li>
<li>Onboard new inter-branch merge flow [Configuration] by <a
href="https://github.com/f-alizada"><code>@​f-alizada</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5239">dotnet/extensions#5239</a></li>
<li>Onboard new inter-branch merge flow [Workflow] by <a
href="https://github.com/f-alizada"><code>@​f-alizada</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5240">dotnet/extensions#5240</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/5254">dotnet/extensions#5254</a></li>
<li>Bump Polly to 8.4.1 by <a
href="https://github.com/martincostello"><code>@​martincostello</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5258">dotnet/extensions#5258</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/pentp"><code>@​pentp</code></a> made
their first contribution in <a
href="https://redirect.github.com/dotnet/extensions/pull/5217">dotnet/extensions#5217</a></li>
<li><a href="https://github.com/f-alizada"><code>@​f-alizada</code></a>
made their first contribution in <a
href="https://redirect.github.com/dotnet/extensions/pull/5239">dotnet/extensions#5239</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/dotnet/extensions/compare/v8.6.0...v8.7.0">https://github.com/dotnet/extensions/compare/v8.6.0...v8.7.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dotnet/extensions/commit/fd7f146c648a58c1092cb4fe510e76d5d2fc19b3"><code>fd7f146</code></a>
Merged PR 40900: Build fix</li>
<li><a
href="https://github.com/dotnet/extensions/commit/6d6d7c735cc86c24e050c2691beb57e36c08e4ff"><code>6d6d7c7</code></a>
Merged PR 40899: Prepare 8.7 release</li>
<li><a
href="https://github.com/dotnet/extensions/commit/ce8822437766c6ba2a60c4dcaaea9caa65277f3a"><code>ce88224</code></a>
Bump Polly to 8.4.1 (<a
href="https://redirect.github.com/dotnet/extensions/issues/5258">#5258</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/674c755542a979257ce722db0f4396d9191d7156"><code>674c755</code></a>
Update dependencies from <a
href="https://github.com/dotnet/arcade">https://github.com/dotnet/arcade</a>
build 20240628.2 (#...</li>
<li><a
href="https://github.com/dotnet/extensions/commit/afde87b8812ef0b1dcee5db35cb3a49ca6dc9197"><code>afde87b</code></a>
Onboard new inter-branch merge flow [Workflow] (<a
href="https://redirect.github.com/dotnet/extensions/issues/5240">#5240</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/3a6e7caa910b2358ee8d9abfd69a50111fe710a2"><code>3a6e7ca</code></a>
Onboard new inter-branch merge flow [Configuration] (<a
href="https://redirect.github.com/dotnet/extensions/issues/5239">#5239</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/a5c73223a921ceaf482f1f2aaa03dce2894105a4"><code>a5c7322</code></a>
Remove the release/8.0 - main mapping</li>
<li><a
href="https://github.com/dotnet/extensions/commit/5bc6019f240dded262e1455bd91217c6c1c6466e"><code>5bc6019</code></a>
Update dependencies from <a
href="https://github.com/dotnet/arcade">https://github.com/dotnet/arcade</a>
build 20240624.1 (#...</li>
<li><a
href="https://github.com/dotnet/extensions/commit/81a60775629fa8e79279c021ae2c6d4ffe189e3b"><code>81a6077</code></a>
Onboard new inter-branch merge flow [Configuration]</li>
<li><a
href="https://github.com/dotnet/extensions/commit/50dd0441fb778729e6bd35973e3992d9f5e26126"><code>50dd044</code></a>
Update dependencies from <a
href="https://github.com/dotnet/arcade">https://github.com/dotnet/arcade</a>
build 20240611.3 (#...</li>
<li>Additional commits viewable in <a
href="https://github.com/dotnet/extensions/compare/v8.6.0...v8.7.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.6.0&new-version=8.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

---

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

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


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 18:30:49 +00:00
dependabot[bot] 53cc94ee17 .Net: Bump Microsoft.Extensions.TimeProvider.Testing from 8.5.0 to 8.7.0 in /dotnet (#7400)
Bumps
[Microsoft.Extensions.TimeProvider.Testing](https://github.com/dotnet/extensions)
from 8.5.0 to 8.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dotnet/extensions/releases">Microsoft.Extensions.TimeProvider.Testing's
releases</a>.</em></p>
<blockquote>
<h2>.NET Extensions 8.7.0</h2>
<p>8.7.0 packages are now all published in NuGet.org.</p>
<h2>What's Changed</h2>
<ul>
<li>Bump update-dotnet-sdk action by <a
href="https://github.com/martincostello"><code>@​martincostello</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5195">dotnet/extensions#5195</a></li>
<li>Skip indexers in logging source-gen by <a
href="https://github.com/xakep139"><code>@​xakep139</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5210">dotnet/extensions#5210</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/5219">dotnet/extensions#5219</a></li>
<li>Cleanup Http.Resilience dependencies by <a
href="https://github.com/pentp"><code>@​pentp</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5217">dotnet/extensions#5217</a></li>
<li>Fix FakeTimeProvider docs by <a
href="https://github.com/gewarren"><code>@​gewarren</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5227">dotnet/extensions#5227</a></li>
<li>Update package dependencies by <a
href="https://github.com/joperezr"><code>@​joperezr</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5218">dotnet/extensions#5218</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/5232">dotnet/extensions#5232</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/5246">dotnet/extensions#5246</a></li>
<li>Onboard new inter-branch merge flow [Configuration] by <a
href="https://github.com/f-alizada"><code>@​f-alizada</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5239">dotnet/extensions#5239</a></li>
<li>Onboard new inter-branch merge flow [Workflow] by <a
href="https://github.com/f-alizada"><code>@​f-alizada</code></a> in <a
href="https://redirect.github.com/dotnet/extensions/pull/5240">dotnet/extensions#5240</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/5254">dotnet/extensions#5254</a></li>
<li>Bump Polly to 8.4.1 by <a
href="https://github.com/martincostello"><code>@​martincostello</code></a>
in <a
href="https://redirect.github.com/dotnet/extensions/pull/5258">dotnet/extensions#5258</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/pentp"><code>@​pentp</code></a> made
their first contribution in <a
href="https://redirect.github.com/dotnet/extensions/pull/5217">dotnet/extensions#5217</a></li>
<li><a href="https://github.com/f-alizada"><code>@​f-alizada</code></a>
made their first contribution in <a
href="https://redirect.github.com/dotnet/extensions/pull/5239">dotnet/extensions#5239</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/dotnet/extensions/compare/v8.6.0...v8.7.0">https://github.com/dotnet/extensions/compare/v8.6.0...v8.7.0</a></p>
<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>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dotnet/extensions/commit/fd7f146c648a58c1092cb4fe510e76d5d2fc19b3"><code>fd7f146</code></a>
Merged PR 40900: Build fix</li>
<li><a
href="https://github.com/dotnet/extensions/commit/6d6d7c735cc86c24e050c2691beb57e36c08e4ff"><code>6d6d7c7</code></a>
Merged PR 40899: Prepare 8.7 release</li>
<li><a
href="https://github.com/dotnet/extensions/commit/ce8822437766c6ba2a60c4dcaaea9caa65277f3a"><code>ce88224</code></a>
Bump Polly to 8.4.1 (<a
href="https://redirect.github.com/dotnet/extensions/issues/5258">#5258</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/674c755542a979257ce722db0f4396d9191d7156"><code>674c755</code></a>
Update dependencies from <a
href="https://github.com/dotnet/arcade">https://github.com/dotnet/arcade</a>
build 20240628.2 (#...</li>
<li><a
href="https://github.com/dotnet/extensions/commit/afde87b8812ef0b1dcee5db35cb3a49ca6dc9197"><code>afde87b</code></a>
Onboard new inter-branch merge flow [Workflow] (<a
href="https://redirect.github.com/dotnet/extensions/issues/5240">#5240</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/3a6e7caa910b2358ee8d9abfd69a50111fe710a2"><code>3a6e7ca</code></a>
Onboard new inter-branch merge flow [Configuration] (<a
href="https://redirect.github.com/dotnet/extensions/issues/5239">#5239</a>)</li>
<li><a
href="https://github.com/dotnet/extensions/commit/a5c73223a921ceaf482f1f2aaa03dce2894105a4"><code>a5c7322</code></a>
Remove the release/8.0 - main mapping</li>
<li><a
href="https://github.com/dotnet/extensions/commit/5bc6019f240dded262e1455bd91217c6c1c6466e"><code>5bc6019</code></a>
Update dependencies from <a
href="https://github.com/dotnet/arcade">https://github.com/dotnet/arcade</a>
build 20240624.1 (#...</li>
<li><a
href="https://github.com/dotnet/extensions/commit/81a60775629fa8e79279c021ae2c6d4ffe189e3b"><code>81a6077</code></a>
Onboard new inter-branch merge flow [Configuration]</li>
<li><a
href="https://github.com/dotnet/extensions/commit/50dd0441fb778729e6bd35973e3992d9f5e26126"><code>50dd044</code></a>
Update dependencies from <a
href="https://github.com/dotnet/arcade">https://github.com/dotnet/arcade</a>
build 20240611.3 (#...</li>
<li>Additional commits viewable in <a
href="https://github.com/dotnet/extensions/compare/v8.5.0...v8.7.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.Extensions.TimeProvider.Testing&package-manager=nuget&previous-version=8.5.0&new-version=8.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

---

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

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


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 18:30:39 +00:00
ffeb099658 .Net: Add GenAI support to Connectors.Onnx (#6518)
@stephentoub invite me to Contribute
https://github.com/feiyun0112/SemanticKernel.Connectors.OnnxRuntimeGenAI
to Microsoft.SemanticKernel.Connectors.Onnx


[https://github.com/feiyun0112/SemanticKernel.Connectors.OnnxRuntimeGenAI/issues/4](https://github.com/feiyun0112/SemanticKernel.Connectors.OnnxRuntimeGenAI/issues/4)

---------

Co-authored-by: Mark Wallace <[email protected]>
Co-authored-by: Stephen Toub <[email protected]>
Co-authored-by: Roger Barreto <[email protected]>
2024-07-23 17:06:08 +00:00
dependabot[bot] f7037834b4 Bump danielpalme/ReportGenerator-GitHub-Action from 5.2.4 to 5.3.8 (#7395)
Bumps
[danielpalme/ReportGenerator-GitHub-Action](https://github.com/danielpalme/reportgenerator-github-action)
from 5.2.4 to 5.3.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/danielpalme/reportgenerator-github-action/releases">danielpalme/ReportGenerator-GitHub-Action's
releases</a>.</em></p>
<blockquote>
<h2>5.3.8</h2>
<ul>
<li><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/681">#681</a>
Updated System.Text.Json to address CVE-2024-30105 (contributed by <a
href="https://github.com/304NotModified"><code>@​304NotModified</code></a>)</li>
</ul>
<h2>5.3.7</h2>
<ul>
<li>Exclude empty modules/assemblies from reports
-Fix sort direction triangles (contributed by <a
href="https://github.com/YuriyDurov"><code>@​YuriyDurov</code></a>)
-<a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/602">#602</a>:
HtmlSummary and Html_BlueRed_Summary report types now also create an
index.html file</li>
</ul>
<h2>5.3.6</h2>
<p><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/676">#676</a>:
Fixed issue with Cobertura files with empty class names</p>
<h2>5.3.5</h2>
<ul>
<li><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/663">#663</a>:
Improved support for Cobertura files generated by &quot;Microsoft
CodeCoverage&quot;</li>
<li><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/674">#674</a>:
License can now be supplied via the REPORTGENERATOR_LICENSE environment
variable</li>
</ul>
<h2>5.3.4</h2>
<ul>
<li><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/664">#664</a>:
Added filter options for risk hotspots: '-riskhotspotassemblyfilters:',
'-riskhotspotclassfilters:'</li>
</ul>
<h2>5.3.0</h2>
<ul>
<li>Azure DevOps task: Added new setting
&quot;publishCodeCoverageResults&quot; This allows to publish report in
'Code Coverage' tab directly. Makes the 'PublishCodeCoverageResults'
task obsolete.</li>
<li><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/662">#662</a>:
Added ability to filter by coverage in Html reports</li>
<li><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/667">#667</a>:
Added new report type 'MarkdownAssembliesSummary'</li>
</ul>
<h2>5.2.5</h2>
<ul>
<li><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/665">#665</a>
Improved handling of duplicate classes in JaCoCo files</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/5808021ec4deecb0ab3da051d49b4ce65fcc20af"><code>5808021</code></a>
5.3.8</li>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/345a7c3866622fe946263314218ad2c12c388b8b"><code>345a7c3</code></a>
5.3.7</li>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/4924a48df5dbcdfbcbaef0cc1ad7d65d5aade7dd"><code>4924a48</code></a>
5.3.6</li>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/cf42982e6581b8a4e2199069e7fe34e33aa1d43a"><code>cf42982</code></a>
Update README</li>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/fa728091745cdd279fddda1e0e80fb29265d0977"><code>fa72809</code></a>
5.3.5</li>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/9f1033dc04b18a7dfa51aeefeb18540e8939021f"><code>9f1033d</code></a>
5.3.4</li>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/1f766b8410c1017e401e961b2d6492aaeaada45d"><code>1f766b8</code></a>
Documentation <a
href="https://redirect.github.com/danielpalme/ReportGenerator/issues/671">danielpalme/ReportGenerator#671</a></li>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/8c48805644296061b38f000f193b716b40200015"><code>8c48805</code></a>
<a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/19">#19</a>:
Added documentation how to publish Markdown results in GitHub</li>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/6b06171d1a131e7fd85121120a1c00c1ed03e033"><code>6b06171</code></a>
5.3.0</li>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/2a2d60ea1c7e811f54684179af6ac1ae8c1ce69a"><code>2a2d60e</code></a>
5.2.5</li>
<li>Additional commits viewable in <a
href="https://github.com/danielpalme/reportgenerator-github-action/compare/5.2.4...5.3.8">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=danielpalme/ReportGenerator-GitHub-Action&package-manager=github_actions&previous-version=5.2.4&new-version=5.3.8)](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>
2024-07-23 16:20:54 +00:00
dependabot[bot] ee3f9d24ed .Net: Bump Moq.Analyzers from 0.1.0 to 0.1.1 in /dotnet (#7401)
Bumps [Moq.Analyzers](https://github.com/rjmurillo/moq.analyzers) from
0.1.0 to 0.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rjmurillo/moq.analyzers/releases">Moq.Analyzers's
releases</a>.</em></p>
<blockquote>
<h2>v0.1.1</h2>
<p>Lots of &quot;housekeeping&quot; this release, and a few bug fixes.
We also now have rule documentation! Special thanks to <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
for his contributions to make working on the analyzers easier and
improving our confidence and productivity.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rjmurillo/moq.analyzers/compare/v0.1.0...v0.1.1">https://github.com/rjmurillo/moq.analyzers/compare/v0.1.0...v0.1.1</a></p>
<h2>What's Changed</h2>
<p>Ownership of the <code>Moq.Analyzers</code> and
<code>Moq.Autocomplete</code> has been transferred from <a
href="https://github.com/Litee"><code>@​Litee</code></a> to <a
href="https://github.com/rjmurillo"><code>@​rjmurillo</code></a>.</p>
<h3>Bug fixes</h3>
<ul>
<li>Moq1002: Update constructor checks by <a
href="https://github.com/rjmurillo"><code>@​rjmurillo</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/115">rjmurillo/moq.analyzers#115</a>.
This resolves <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/55">#55</a>
by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a></li>
<li>Refactor Moq1300 to use IOperation-based analysis by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/125">rjmurillo/moq.analyzers#125</a></li>
</ul>
<h3>Changes to rules</h3>
<p>There <em>should</em> be no behavioral differences with these changes
to the rule code. If you find any, please <a
href="https://github.com/rjmurillo/moq.analyzers/issues/new">submit a
new issue</a>.</p>
<ul>
<li>Clean up README and add docs for each analyzer rule by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/77">rjmurillo/moq.analyzers#77</a></li>
<li>Add analyzer release tracking by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/84">rjmurillo/moq.analyzers#84</a></li>
<li>Add cancellation tokens to methods that have a parameter but we
don't pass by <a
href="https://github.com/rjmurillo"><code>@​rjmurillo</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/52">rjmurillo/moq.analyzers#52</a></li>
<li>Enable ConcurrentExecution and disable generated code analysis by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/70">rjmurillo/moq.analyzers#70</a></li>
<li>Update code to remove warnings from backlog by <a
href="https://github.com/rjmurillo"><code>@​rjmurillo</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/73">rjmurillo/moq.analyzers#73</a></li>
<li>Remove RegEx from analyzers by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/81">rjmurillo/moq.analyzers#81</a></li>
<li>Remove period from analyzer messages and inline in the analyzer
classes by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/86">rjmurillo/moq.analyzers#86</a></li>
</ul>
<h3>Updates to test and infrastructure</h3>
<ul>
<li>Refactor tests to simplify and inline test cases by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/57">rjmurillo/moq.analyzers#57</a></li>
<li>Update analysis mode and warning level to preview and 9999 by <a
href="https://github.com/rjmurillo"><code>@​rjmurillo</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/59">rjmurillo/moq.analyzers#59</a></li>
<li>Extract code analysis to its own build slice and update analyzers to
latest versions by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/60">rjmurillo/moq.analyzers#60</a></li>
<li>Move test packages to build slice, update to latest version, and
enable parallel tests by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/61">rjmurillo/moq.analyzers#61</a></li>
<li>Replace our custom test harness with
<code>Microsoft.CodeAnalysis</code> testing harness by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/65">rjmurillo/moq.analyzers#65</a></li>
<li>Clean up of using statements by <a
href="https://github.com/rjmurillo"><code>@​rjmurillo</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/66">rjmurillo/moq.analyzers#66</a></li>
<li>Rename <code>master</code> to <code>main</code> by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/69">rjmurillo/moq.analyzers#69</a></li>
<li>Cache reference assemblies between tests to improve performance by
<a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/71">rjmurillo/moq.analyzers#71</a></li>
<li>Convert from var to explicit type by <a
href="https://github.com/rjmurillo"><code>@​rjmurillo</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/74">rjmurillo/moq.analyzers#74</a></li>
<li>Refactor unit tests: data driven tests and leverage
<code>Microsoft.CodeAnalysis.Testing</code> patterns by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/76">rjmurillo/moq.analyzers#76</a></li>
<li>Add Code coverage report by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/79">rjmurillo/moq.analyzers#79</a></li>
<li>Fix <code>dotnet test</code> when not generating code coverage
reports by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/80">rjmurillo/moq.analyzers#80</a></li>
<li>Refactor test cases to matrix on <code>Moq</code> version by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/82">rjmurillo/moq.analyzers#82</a></li>
<li>Fix SA0001: XML comment analysis is disabled due to project
configuration by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/87">rjmurillo/moq.analyzers#87</a></li>
<li>Fix trivial warnings by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/88">rjmurillo/moq.analyzers#88</a></li>
<li>Update README.md to add leading and trailing pipes in table by <a
href="https://github.com/rjmurillo"><code>@​rjmurillo</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/94">rjmurillo/moq.analyzers#94</a></li>
<li>Create dependabot.yml by <a
href="https://github.com/rjmurillo"><code>@​rjmurillo</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/93">rjmurillo/moq.analyzers#93</a></li>
<li>Update main.yml to add codacy test coverage by <a
href="https://github.com/rjmurillo"><code>@​rjmurillo</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/92">rjmurillo/moq.analyzers#92</a></li>
<li>Add more analyzers and bump <code>Meziantou.Analzer</code> to latest
version by <a
href="https://github.com/rjmurillo"><code>@​rjmurillo</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/89">rjmurillo/moq.analyzers#89</a></li>
<li>Bump <code>Verify.Xunit</code> from 25.0.1 to 25.0.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/100">rjmurillo/moq.analyzers#100</a></li>
<li>Remove <code>Microsoft.CodeAnalysis.CSharp.Analyzer.Testing</code>
by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/102">rjmurillo/moq.analyzers#102</a></li>
<li>Dependabot ignore packages that impact customer compatibility by <a
href="https://github.com/MattKotsenas"><code>@​MattKotsenas</code></a>
in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/101">rjmurillo/moq.analyzers#101</a></li>
<li>Bump <code>Microsoft.CodeAnalysis.CSharp.CodeFix.Testing</code> from
1.1.2-beta1.24273.1 to 1.1.2-beta1.24314.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/103">rjmurillo/moq.analyzers#103</a></li>
<li>Bump <code>Nerdbank.GitVersioning</code> from 3.6.133 to 3.6.139 by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/99">rjmurillo/moq.analyzers#99</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rjmurillo/moq.analyzers/commit/3b1676be5d637fb80595c04bdef8bdbce198cd32"><code>3b1676b</code></a>
Bump SonarAnalyzer.CSharp from 9.27.0.93347 to 9.28.0.94264 (<a
href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/136">#136</a>)</li>
<li><a
href="https://github.com/rjmurillo/moq.analyzers/commit/39e45bca2c841a98d11b40bc0351b9e736b80747"><code>39e45bc</code></a>
Update to latest version of DotNet.ReproducibleBuilds (<a
href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/137">#137</a>)</li>
<li><a
href="https://github.com/rjmurillo/moq.analyzers/commit/f19ad3894e1dcdd9a5fb890b5c9ef31a44456c7e"><code>f19ad38</code></a>
Bump Meziantou.Analyzer from 2.0.158 to 2.0.159 (<a
href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/135">#135</a>)</li>
<li><a
href="https://github.com/rjmurillo/moq.analyzers/commit/729c53148682c5cdf4cf5bff5dc8322fcf790b25"><code>729c531</code></a>
Add BDN perf comparison tool from roslyn analyzers (<a
href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/119">#119</a>)</li>
<li><a
href="https://github.com/rjmurillo/moq.analyzers/commit/8e5fab44015d1c9daa8371280e9676e102b2d32e"><code>8e5fab4</code></a>
Add composite analyzer to test all analyzers (<a
href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/128">#128</a>)</li>
<li><a
href="https://github.com/rjmurillo/moq.analyzers/commit/9b41015812d38f7577c5a3488b515de1961ee640"><code>9b41015</code></a>
Add extension method to create Diagnostic (<a
href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/126">#126</a>)</li>
<li><a
href="https://github.com/rjmurillo/moq.analyzers/commit/2dcad69955102f6237eb291a15d320d8fff5ff7a"><code>2dcad69</code></a>
Refactor Moq1300 to use IOperation-based analysis (<a
href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/125">#125</a>)</li>
<li><a
href="https://github.com/rjmurillo/moq.analyzers/commit/be45e1153c2c68f8fd6ee58e7263bbc587b3ae69"><code>be45e11</code></a>
Update ConstructorArgumentsShouldMatchAnalyzer test cases to make sure
all po...</li>
<li><a
href="https://github.com/rjmurillo/moq.analyzers/commit/e3e5dec23cf7660fc531006755cff62748d3c22b"><code>e3e5dec</code></a>
Moq1002: Update constructor checks (<a
href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/115">#115</a>)</li>
<li><a
href="https://github.com/rjmurillo/moq.analyzers/commit/48a4859bab93c3771e85473bba6d6356f8baa2fd"><code>48a4859</code></a>
Bump Verify.Xunit from 25.0.3 to 25.0.4 (<a
href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/121">#121</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/rjmurillo/moq.analyzers/compare/v0.1.0...v0.1.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Moq.Analyzers&package-manager=nuget&previous-version=0.1.0&new-version=0.1.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>
2024-07-23 16:19:46 +00:00
Chris de2f1bf1b2 ADR Agents - AgentChat Serialization Design (#6972)
### 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.
-->

Users of the Agent Framework are unable to store and later retrieve
conversation state when using an AgentChat to coordinate Agent
interactions. This limits the ability for an agent conversation to
single use as it must be maintained with memory of the process that
initiated the conversation.

Formalizing a mechanism that supports serialization and deserialization
of any AgentChat class provides an avenue to capture and restore state
across multiple sessions as well as compute boundaries.

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

Design in ADR form for input, exploration of alternatives, and review.

### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [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] I didn't break anyone 😄
2024-07-23 14:47:56 +00:00
ChrisandEvan Mattson 7a06d800c2 ADR Agents - Assistant V2 Support (#7215)
### 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.
-->

Open AI has release the _Assistants V2_ API. This builds on top of the
V1 _assistant_ concept, but also invalidates certain V1 features. In
addition, the _dotnet_ API that supports _Assistant V2_ features is
entirely divergent on the `Azure.AI.OpenAI.Assistants` SDK that is
currently in use.

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

ADR describes changes to `Microsoft.SemanticKernel.Agents.OpenAI`
project / package.

Changes prototyped in this PR:
https://github.com/microsoft/semantic-kernel/pull/7126

PR completion is gated by the V2 connector migration work due to
versioning constraints.

> ADR Reviewed on July 18th, 2024

### 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: Evan Mattson <[email protected]>
2024-07-23 14:47:48 +00:00
Evan Mattson 93df57e635 Python: Bump Python version to 1.3.0 from 1.2.0 for a release. (#7408)
### Motivation and Context

Bump Python version to 1.3.0 from 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 version to 1.3.0 from 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 😄
python-1.3.0
2024-07-23 10:50:38 -04:00
dependabot[bot] c15e253097 .Net: Bump Handlebars.Net.Helpers from 2.4.1.5 to 2.4.5 in /dotnet (#7271)
Bumps Handlebars.Net.Helpers from 2.4.1.5 to 2.4.5.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Handlebars.Net.Helpers&package-manager=nuget&previous-version=2.4.1.5&new-version=2.4.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>
2024-07-23 07:02:50 +00:00
Evan Mattson 5f49880d52 Python: Json schema improvements for Union and Optional (#7367)
### Motivation and Context

We have some gaps in how we build the JSON schema for function calling
related to Union and Optional types. There is also some work to do
related to handling `Optional` versus `param | None = None`.

<!-- 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 improves the JSON schema building for the Union and Optional
types. It adds additional tests and improves some existing tests.
- Closes #7297 
- Closes #7298

<!-- 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 😄
dotnet-1.16.0-nightly-240723.1
2024-07-23 04:38:55 +00:00
Mark Wallace 12a877b829 .Net: Sample showing how to transform a plugin (#7206)
### Motivation and Context

Sample showing how to transform a <see cref="KernelPlugin"/> so that not
all parameters are advertised to the LLM
and instead the argument values are provided by the client code.

### 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 😄
2024-07-22 15:26:56 +00:00
Mark Wallace d2f0044e76 .Net: Handle missing operation id in OpenApi spec (#7344)
### Motivation and Context

Closes #7343 
Closes #5598 

### 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 😄
2024-07-22 13:12:44 +00:00
Evan Mattson d8888dc773 Python: Notebook ServiceSettings needs the create method. (#7366)
### Motivation and Context

The notebooks are failing to find the .env file that is located in the
same directory. The ServiceSettings class is missing the `.create()`
method on it, to properly configure the settings from the .env file.

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

### Description

Update the call to `settings = ServiceSettings.create()` so that the
service settings are created properly and reference the .env file
located in the getting_started directory.
- Fixes #7360 

<!-- 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 😄
2024-07-22 09:29:25 -04:00
Evan Mattson 0fda22e8f5 Python: Bump ruff from 0.5.1 to 0.5.2 (#7358)
### Motivation and Context

Based on #7274, bumping ruff to 0.5.2. Required a manual PR as the
pre-commit.yaml file needs an update.

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

Based on #7274, bumping ruff to 0.5.2. Required a manual PR as the
pre-commit.yaml file needs an update.

<!-- 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 😄
dotnet-1.16.0-nightly-240722.1 dotnet-1.16.0-nightly-240721.1 dotnet-1.16.0-nightly-240720.1
2024-07-19 14:09:23 +00:00
dependabot[bot]andEvan Mattson 496d31ea18 Python: Bump chromadb from 0.5.3 to 0.5.4 in /python (#7276)
Bumps [chromadb](https://github.com/chroma-core/chroma) from 0.5.3 to
0.5.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/chroma-core/chroma/releases">chromadb's
releases</a>.</em></p>
<blockquote>
<h2>0.5.4</h2>
<p>Version: <code>0.5.4</code>
Git ref: <code>refs/tags/0.5.4</code>
Build Date: <code>2024-07-11T02:31</code>
PIP Package: <code>chroma-0.5.4.tar.gz</code>
Github Container Registry Image:
<code>ghcr.io/chroma-core/chroma:0.5.4</code>
DockerHub Image: <code>chromadb/chroma:0.5.4</code></p>
<h2>What's Changed</h2>
<ul>
<li>[ENH] Timeout log client by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2369">chroma-core/chroma#2369</a></li>
<li>[ENH] Timeout for s3 storage by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2370">chroma-core/chroma#2370</a></li>
<li>[ENH] Add timeout for sysdb client. Also add interceptor by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2371">chroma-core/chroma#2371</a></li>
<li>[ENH] use httpx over requests by <a
href="https://github.com/codetheweb"><code>@​codetheweb</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2336">chroma-core/chroma#2336</a></li>
<li>[BLD] Fix for JS package in GH by <a
href="https://github.com/tazarov"><code>@​tazarov</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2345">chroma-core/chroma#2345</a></li>
<li>[ENH] Enable test_embeddings by <a
href="https://github.com/sanketkedia"><code>@​sanketkedia</code></a> in
<a
href="https://redirect.github.com/chroma-core/chroma/pull/2376">chroma-core/chroma#2376</a></li>
<li>[ENH] Emulate sqlite fts in brute force metadata filtering by <a
href="https://github.com/sanketkedia"><code>@​sanketkedia</code></a> in
<a
href="https://redirect.github.com/chroma-core/chroma/pull/2366">chroma-core/chroma#2366</a></li>
<li>[ENH] handle panics in query service by <a
href="https://github.com/codetheweb"><code>@​codetheweb</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2375">chroma-core/chroma#2375</a></li>
<li>[BUG]: Fix cross version compatibility 0.5.0 or lower with 0.5.1+ by
<a href="https://github.com/tazarov"><code>@​tazarov</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2378">chroma-core/chroma#2378</a></li>
<li>[DOC]: Fix a typo in comment section in chromadb/db/system.py by <a
href="https://github.com/imaffe"><code>@​imaffe</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2386">chroma-core/chroma#2386</a></li>
<li>[ENH] 1965 Split up embedding functions by <a
href="https://github.com/nablabits"><code>@​nablabits</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2034">chroma-core/chroma#2034</a></li>
<li>[ENH] Min compaction size by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2346">chroma-core/chroma#2346</a></li>
<li>[ENH] add panics to tracing by <a
href="https://github.com/codetheweb"><code>@​codetheweb</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2382">chroma-core/chroma#2382</a></li>
<li>[BLD] deploy preview of docs in PRs by <a
href="https://github.com/codetheweb"><code>@​codetheweb</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2391">chroma-core/chroma#2391</a></li>
<li>[BLD] remove old artifacts from bleeding release by <a
href="https://github.com/codetheweb"><code>@​codetheweb</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2392">chroma-core/chroma#2392</a></li>
<li>Revert &quot;[ENH] 1965 Split up embedding functions&quot; by <a
href="https://github.com/atroyn"><code>@​atroyn</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2394">chroma-core/chroma#2394</a></li>
<li>[BUG] 1965 Split up embedding functions - Redux by <a
href="https://github.com/atroyn"><code>@​atroyn</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2395">chroma-core/chroma#2395</a></li>
<li>[DOC] fix: add github link and update discord invite link by <a
href="https://github.com/zacatac"><code>@​zacatac</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2387">chroma-core/chroma#2387</a></li>
<li>[BUG] debug proto not included in release by <a
href="https://github.com/codetheweb"><code>@​codetheweb</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2411">chroma-core/chroma#2411</a></li>
<li>[BLD] slight speed up by caching built Rust dependencies by <a
href="https://github.com/codetheweb"><code>@​codetheweb</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2413">chroma-core/chroma#2413</a></li>
<li>[ENH] openapi types for better codegen by <a
href="https://github.com/jeffchuber"><code>@​jeffchuber</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2416">chroma-core/chroma#2416</a></li>
<li>[BLD] use Depot by <a
href="https://github.com/codetheweb"><code>@​codetheweb</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2414">chroma-core/chroma#2414</a></li>
<li>[CLN] Remove test file by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2423">chroma-core/chroma#2423</a></li>
<li>[TST] Property Test Generation Fixes by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2383">chroma-core/chroma#2383</a></li>
<li>[PERF] Use binary search in positional posting list by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2424">chroma-core/chroma#2424</a></li>
<li>[ENH] add image tags to db migration jobs by <a
href="https://github.com/codetheweb"><code>@​codetheweb</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2425">chroma-core/chroma#2425</a></li>
<li>[ENH] Add sync point to test_filtering + fix issues by <a
href="https://github.com/sanketkedia"><code>@​sanketkedia</code></a> in
<a
href="https://redirect.github.com/chroma-core/chroma/pull/2388">chroma-core/chroma#2388</a></li>
<li>[ENH] clean up component channels by <a
href="https://github.com/codetheweb"><code>@​codetheweb</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2429">chroma-core/chroma#2429</a></li>
<li>[ENH] Add collection repr by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2433">chroma-core/chroma#2433</a></li>
<li>[BUG] Ensure arrow sizing is correct / 64 byte aligned by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2426">chroma-core/chroma#2426</a></li>
<li>[PERF] Use orjson in client by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2434">chroma-core/chroma#2434</a></li>
<li>[ENH] add (optional) request/reply semantics for component handlers
by <a href="https://github.com/codetheweb"><code>@​codetheweb</code></a>
in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2428">chroma-core/chroma#2428</a></li>
<li>[ENH] Configurable block size by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2439">chroma-core/chroma#2439</a></li>
<li>[ENH] Fix issues + add sync point to test embeddings by <a
href="https://github.com/sanketkedia"><code>@​sanketkedia</code></a> in
<a
href="https://redirect.github.com/chroma-core/chroma/pull/2397">chroma-core/chroma#2397</a></li>
<li>[BUG]: Compatibility for <code>included</code> for 0.5.0 and earlier
by <a href="https://github.com/tazarov"><code>@​tazarov</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2445">chroma-core/chroma#2445</a></li>
<li>[ENH] Read from hnsw cache by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2443">chroma-core/chroma#2443</a></li>
<li>[BUG] Log purge off by one by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2436">chroma-core/chroma#2436</a></li>
<li>[BUG] fix consumable join handle panicking after clone by <a
href="https://github.com/codetheweb"><code>@​codetheweb</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2448">chroma-core/chroma#2448</a></li>
<li>[ENH] S3 Retry by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2457">chroma-core/chroma#2457</a></li>
<li>[ENH] Compaction error replies by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2456">chroma-core/chroma#2456</a></li>
<li>[BUG] Allow hnswlinb to single record persist test by <a
href="https://github.com/HammadB"><code>@​HammadB</code></a> in <a
href="https://redirect.github.com/chroma-core/chroma/pull/2449">chroma-core/chroma#2449</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/chroma-core/chroma/commit/8b546be5e0da72cb10382ed84347dfa3aad12c4f"><code>8b546be</code></a>
[BUG][TST] Fix thin client package test (<a
href="https://redirect.github.com/chroma-core/chroma/issues/2497">#2497</a>)</li>
<li><a
href="https://github.com/chroma-core/chroma/commit/9c91fe4ef490adfb583332ca9c04f35b805b527c"><code>9c91fe4</code></a>
[RELEASE] Release 0.5.4. Pin hnswlib upgrade. Configuration b/w compat.
(<a
href="https://redirect.github.com/chroma-core/chroma/issues/2496">#2496</a>)</li>
<li><a
href="https://github.com/chroma-core/chroma/commit/27f7d1a764c31875b475607de758efe0cff3a2eb"><code>27f7d1a</code></a>
[ENH] catch panics in task operators (<a
href="https://redirect.github.com/chroma-core/chroma/issues/2450">#2450</a>)</li>
<li><a
href="https://github.com/chroma-core/chroma/commit/5628c6d15570702f539b2e280eed22c82a1c63e0"><code>5628c6d</code></a>
Revert &quot;[RELEASE] Release 0.5.4. Pin hnswlib upgrade. Configuration
b/w compat.&quot;</li>
<li><a
href="https://github.com/chroma-core/chroma/commit/28a4fb440215ed62318f5952536758d0cb5c0b28"><code>28a4fb4</code></a>
[RELEASE] Release 0.5.4. Pin hnswlib upgrade. Configuration b/w
compat.</li>
<li><a
href="https://github.com/chroma-core/chroma/commit/5596dca7cde6e3e6c40634d4847921ba30f5a1c8"><code>5596dca</code></a>
[CLN]: Replacing FastAPI HTTPException with custom ChromaAuthError in
basic/t...</li>
<li><a
href="https://github.com/chroma-core/chroma/commit/27ba303fc93cdaf975c48cbc8ba13cf204fc0ecb"><code>27ba303</code></a>
[CLN] LogRecord TypedDict attr name incorrect (<a
href="https://redirect.github.com/chroma-core/chroma/issues/2486">#2486</a>)</li>
<li><a
href="https://github.com/chroma-core/chroma/commit/b601a3bd50adeb37362c4552248b4a74951a5e4e"><code>b601a3b</code></a>
[BUG] Fix add -&gt; wait for compaction -&gt; delete -&gt; add case (<a
href="https://redirect.github.com/chroma-core/chroma/issues/2474">#2474</a>)</li>
<li><a
href="https://github.com/chroma-core/chroma/commit/8cd96ef1771511dceb20e636ff3c8683944db905"><code>8cd96ef</code></a>
[CHORE] Add parent spans to new spans</li>
<li><a
href="https://github.com/chroma-core/chroma/commit/eb783ff4f98288c39236f579a87794cd58cda6f6"><code>eb783ff</code></a>
[CHORE] Add tracing to blockfile gets (<a
href="https://redirect.github.com/chroma-core/chroma/issues/2485">#2485</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/chroma-core/chroma/compare/0.5.3...0.5.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=chromadb&package-manager=pip&previous-version=0.5.3&new-version=0.5.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>
Co-authored-by: Evan Mattson <[email protected]>
dotnet-1.16.0-nightly-240719.1
2024-07-18 20:51:39 +00:00
dependabot[bot]andEvan Mattson d3e1105871 Python: Bump transformers from 4.41.2 to 4.42.4 in /python (#7275)
Bumps [transformers](https://github.com/huggingface/transformers) from
4.41.2 to 4.42.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/huggingface/transformers/releases">transformers's
releases</a>.</em></p>
<blockquote>
<h2>Patch release v4.42.4</h2>
<h1>Mostly gemma2 support FA2 softcapping!</h1>
<p>but also fix the sliding window for long context and other typos.</p>
<ul>
<li>[Gemma2] Support FA2 softcapping (<a
href="https://redirect.github.com/huggingface/transformers/issues/31887">#31887</a>)
by <a
href="https://github.com/ArthurZucker"><code>@​ArthurZucker</code></a></li>
<li>[ConvertSlow] make sure the order is preserved for addedtokens (<a
href="https://redirect.github.com/huggingface/transformers/issues/31902">#31902</a>)
by <a
href="https://github.com/ArthurZucker"><code>@​ArthurZucker</code></a></li>
<li>Fixes to alternating SWA layers in Gemma2 (<a
href="https://redirect.github.com/huggingface/transformers/issues/31775">#31775</a>)
by <a
href="https://github.com/turboderp"><code>@​turboderp</code></a></li>
<li>Requires for torch.tensor before casting (<a
href="https://redirect.github.com/huggingface/transformers/issues/31755">#31755</a>)
by <a
href="https://github.com/echarlaix"><code>@​echarlaix</code></a></li>
</ul>
<p>Was off last week could not get this out, thanks all for your
patience 🥳</p>
<h2>Patch release v4.42.3</h2>
<h1>Make sure we have attention softcapping for &quot;eager&quot; GEMMA2
model</h1>
<p>After experimenting, we noticed that for the 27b model mostly,
softcapping is a must. So adding it back (it should have been there, but
an error on my side made it disappear) sorry all! 😭</p>
<ul>
<li>Gemma capping is a must for big models (<a
href="https://redirect.github.com/huggingface/transformers/issues/31698">#31698</a>)</li>
</ul>
<h2>Patch release v4.42.2</h2>
<h1>Patch release</h1>
<p>Thanks to our 2 contributors for their prompt fixing mostly applies
for training and FA2!</p>
<ul>
<li>Fix Gemma2 4d attention mask (<a
href="https://redirect.github.com/huggingface/transformers/issues/31674">#31674</a>)
by <a href="https://github.com/hiyouga"><code>@​hiyouga</code></a></li>
<li>don't zero out the attention_mask when using sliding window with
flash attention (<a
href="https://redirect.github.com/huggingface/transformers/issues/31670">#31670</a>)
by <a
href="https://github.com/winglian"><code>@​winglian</code></a></li>
</ul>
<h2>v4.42.1: Patch release</h2>
<p>Patch release for commit:</p>
<ul>
<li>[HybridCache] Fix get_seq_length method (<a
href="https://redirect.github.com/huggingface/transformers/issues/31661">#31661</a>)</li>
</ul>
<h2>v4.42.0: Gemma 2, RTDETR, InstructBLIP, LLAVa Next, New Model
Adder</h2>
<h2>New model additions</h2>
<h3>Gemma-2</h3>
<p>The Gemma2 model was proposed in <a
href="https://blog.google/technology/developers/Gemma2-open-models/">Gemma2:
Open Models Based on Gemini Technology and Research</a> by Gemma2 Team,
Google.
Gemma2 models are trained on 6T tokens, and released with 2 versions, 2b
and 7b.</p>
<p>The abstract from the paper is the following:</p>
<p><em>This work introduces Gemma2, a new family of open language models
demonstrating strong performance across academic benchmarks for language
understanding, reasoning, and safety. We release two sizes of models (2
billion and 7 billion parameters), and provide both pretrained and
fine-tuned checkpoints. Gemma2 outperforms similarly sized open models
on 11 out of 18 text-based tasks, and we present comprehensive
evaluations of safety and responsibility aspects of the models,
alongside a detailed description of our model development. We believe
the responsible release of LLMs is critical for improving the safety of
frontier models, and for enabling the next wave of LLM
innovations</em></p>
<p><img
src="https://github.com/huggingface/transformers/assets/30755778/798b25f4-485a-4b60-abe5-af612def209b"
alt="image" /></p>
<ul>
<li>Add gemma 2 by <a
href="https://github.com/ArthurZucker"><code>@​ArthurZucker</code></a>
in <a
href="https://redirect.github.com/huggingface/transformers/issues/31659">#31659</a></li>
</ul>
<h3>RTDETR</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/huggingface/transformers/commit/fc35907f95459d7a6c5281dfadd680b6f7b620e3"><code>fc35907</code></a>
v4.42.4</li>
<li><a
href="https://github.com/huggingface/transformers/commit/e002fcd8edc5ee24d9ac71c6790b129fdd94982b"><code>e002fcd</code></a>
[<code>Gemma2</code>] Support FA2 softcapping (<a
href="https://redirect.github.com/huggingface/transformers/issues/31887">#31887</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/2e434169e7b052420be4d5b2aa1d9c8da6ebe3e7"><code>2e43416</code></a>
[<code>ConvertSlow</code>] make sure the order is preserved for
addedtokens (<a
href="https://redirect.github.com/huggingface/transformers/issues/31902">#31902</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/c43fd9d159f7480e62d02f1966ce83385cebea59"><code>c43fd9d</code></a>
Fixes to alternating SWA layers in Gemma2 (<a
href="https://redirect.github.com/huggingface/transformers/issues/31775">#31775</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/0be998bc7f9393c1672a7ff93fbccd15d5c39f3c"><code>0be998b</code></a>
Requires for torch.tensor before casting (<a
href="https://redirect.github.com/huggingface/transformers/issues/31755">#31755</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/b7ee1e80b912c6cdd93b54dd77af061fde151d28"><code>b7ee1e8</code></a>
v4.42.3</li>
<li><a
href="https://github.com/huggingface/transformers/commit/da50b41a272724dba0821d643a44dfebb23e3786"><code>da50b41</code></a>
Gemma capping is a must for big models (<a
href="https://redirect.github.com/huggingface/transformers/issues/31698">#31698</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/086c74efdf98b4e64ac40863ce190144316873a5"><code>086c74e</code></a>
v4.42.2</li>
<li><a
href="https://github.com/huggingface/transformers/commit/869186743da66563d07ea8ea81ebfc88bbf5139c"><code>8691867</code></a>
Fix Gemma2 4d attention mask (<a
href="https://redirect.github.com/huggingface/transformers/issues/31674">#31674</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/7edc9931c52d9de22d2c569122dfc3d927fd280e"><code>7edc993</code></a>
don't zero out the attention_mask when using sliding window with flash
attent...</li>
<li>Additional commits viewable in <a
href="https://github.com/huggingface/transformers/compare/v4.41.2...v4.42.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=transformers&package-manager=pip&previous-version=4.41.2&new-version=4.42.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>
Co-authored-by: Evan Mattson <[email protected]>
2024-07-18 20:51:31 +00:00
Tao Chen 5c8f4fd622 Python: Add application ID for Azure AI Inference (#7341)
### 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 Microsoft tools/SDKs that internally use the Azure AI Inference SDK
are required to set a unique application ID, which will be part of the
"use-agent" HTTP request header. This will allow teams to track usage
from that tool/SDK, using service-side telemetry dashboards.

Semantic Kernel's application ID is registered as
"semantic-kernel-python/{version}" according to this
[list](https://microsoft.sharepoint.com/❌/t/AzureMLExperiences-AgentsandCommonInferenceSDKteam/EUVgsgpFtdRLnkhxrdtJ1MIBDMl3wVfoza4c13MI_K6ywg?e=MEpwyo&ovuser=72f988bf-86f1-41af-91ab-2d7cd011db47%2Ctaochen%40microsoft.com&clickparams=eyJBcHBOYW1lIjoiVGVhbXMtRGVza3RvcCIsIkFwcFZlcnNpb24iOiI0OS8yNDA2MjcyNDgwNyJ9).

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
Add "semantic-kernel-python/{version}" as the application ID where we
use the Azure AI Inference SDK.


### 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 😄
2024-07-18 18:53:42 +00:00
Evan Mattson 6b01468efb Python: fix for kernel function type_object when not using Annotations. Add more unit tests. (#7338)
### Motivation and Context

The current kernel function decorator class parses function params, but
had a miss related to how the underlying param's type is parsed if not
using Annotations.

<!-- 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 properly handles the type_object for params that don't using
typing.Annotations.
- Adds unit tests to exercise the code.
- Adds more kernel.py unit tests for near 100% test coverage.
- Adds some planner tests to improve the test coverage.
- Closes #7300 

<!-- 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 😄
dotnet-1.16.0-nightly-240718.1
2024-07-18 05:12:08 +00:00
Tao ChenandGil LaHaye f0e1e8c524 Python: MaaS sample with MMLU (#7299)
### 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.
-->
We would like to create a new sample to show case the power of the new
Model-as-a-service connector in Semantic Kernel.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
Add a new sample that shows how to use models available on Azure AI
Studio to benchmark models with open-source datasets.

### 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]>
2024-07-17 19:56:48 +00:00
Dmytro StrukandMark Wallace 5db83a95fd .Net: Added example of Plan generation and execution using Auto Function Calling (#7046)
### 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: https://github.com/microsoft/semantic-kernel/issues/6745

This PR contains example which shows how to implement plan generation
and execution with Auto Function Calling and enable telemetry, filters
and caching.
`ChatHistory` object is used for plan manipulation and execution.

### 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: Mark Wallace <[email protected]>
2024-07-17 16:38:24 +00:00
Chris 4d612c3369 .Net Agents - Agent History Propagation (#7216)
### 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.
-->

Desired behavior:

- Yield function-result when IAutoFunctionInvocationFilter terminates
processing.
- Include all function related content in primary chat history
- Broadcast all function related content to agent channels

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

Adds ability for agent channel to signal which messages are:
- Visible to the primary message loop
- Or, silently added to chat history

Normally function related content exists only in the history, but when
IAutoFunctionInvocationFilter terminates processing, the message with
the `FunctionResultContent` is expected to visible in the primary
message loop.

Also fixed where mutated chat-history is captured for streaming case.

### 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 😄
2024-07-17 16:22:32 +00:00
Tao Chen 79207ffbbc Python: Migrate to Ollama Python SDK (#7165)
### 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! -->
Currently, the Ollama AI connector uses `aiohttp` sessions to interface
with the local Ollama LLM service. However, we have made the decision to
transition to the official Ollama Python SDK.

Related to: https://github.com/microsoft/semantic-kernel/issues/6841,
https://github.com/microsoft/semantic-kernel/issues/7134

Test coverage report:

![image](https://github.com/microsoft/semantic-kernel/assets/12570346/8d414f71-fc1b-4870-b038-0f7d2985b985)

MyPy warnings: all cleared
### 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 😄
dotnet-1.16.0-nightly-240717.1
2024-07-16 22:38:21 +00:00
Mark Wallace 4bbb694818 Version 1.16.0 (#7301)
### 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 😄
dotnet-1.16.0
2024-07-16 18:55:48 +01:00
Mark Wallace a335d5564b .Net: Sample showing function calling using NexusRaven (#7256)
### Motivation and Context

Closes #7190 

### 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 😄
2024-07-16 16:51:35 +00:00
dependabot[bot] f2bd4207a5 .Net: Bump Roslynator.CodeAnalysis.Analyzers from 4.12.0 to 4.12.4 in /dotnet (#7277)
Bumps Roslynator.CodeAnalysis.Analyzers from 4.12.0 to 4.12.4.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Roslynator.CodeAnalysis.Analyzers&package-manager=nuget&previous-version=4.12.0&new-version=4.12.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>
2024-07-16 12:15:32 +00:00
Mark Wallace 41d106ddd7 .Net: Using OpenAPI description as default plugin description (#7264)
### Motivation and Context

Closes #7209 

### 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 😄
2024-07-16 10:21:49 +00:00
dependabot[bot] 88ec98b0bd .Net: Bump Microsoft.Data.SqlClient from 5.2.0 to 5.2.1 in /dotnet (#7269)
Bumps Microsoft.Data.SqlClient from 5.2.0 to 5.2.1.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.Data.SqlClient&package-manager=nuget&previous-version=5.2.0&new-version=5.2.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>
2024-07-16 08:48:53 +00:00
dependabot[bot] 921492edec .Net: Bump MongoDB.Driver from 2.25.0 to 2.27.0 in /dotnet (#7270)
Bumps MongoDB.Driver from 2.25.0 to 2.27.0.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=MongoDB.Driver&package-manager=nuget&previous-version=2.25.0&new-version=2.27.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>
2024-07-16 08:48:47 +00:00
Atiqur Rahman Foyshal 6cfd2ec0ee .Net: DuckDBMemoryStore RemoveBatchAsync method performance improvement (#7252)
### Motivation and Context

To optimize performance by reducing the number of database calls during
batch deletions in DuckDBMemoryStore.

### Description

The updated **RemoveBatchAsync** method now executes a single SQL DELETE
query to remove multiple keys at once, replacing the previous approach
of executing individual delete queries for each key.

### 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 existing test is okay for this change
- [ ] I didn't break anyone 😄
dotnet-1.15.1-nightly-240716.1
2024-07-15 16:34:14 +00:00
Atiqur Rahman FoyshalandRoger Barreto b05478d889 .Net: Pinecone RemoveBatchFromNamespaceAsync method performance optimization (#7230)
### Motivation and Context

To optimize the code by reducing the number of HTTP requests needed to
remove a list of keys from a namespace. Instead of multiple HTTP calls,
a single HTTP call will now handle the removal.

### Description

Previously, RemoveBatchFromNamespaceAsync executed multiple HTTP calls
to remove keys. This optimized code reduces the overhead by executing a
single HTTP request to remove the list of keys.

### 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: Roger Barreto <[email protected]>
2024-07-15 16:10:16 +00:00
Mark Wallace 21a0049a44 .Net: Create KernelPlugin from Open API without Kernel instance (#7258)
### Motivation and Context

Closes #6426 

### 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 😄
2024-07-15 15:18:46 +00:00