-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python: .Net: MEVD: MongoDB provider should use BulkWrite in UpsertBatch #11310
Open
damieng
wants to merge
28
commits into
microsoft:feature-vector-data-preb2
Choose a base branch
from
damieng:mongodb-upsert-batch
base: feature-vector-data-preb2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Python: .Net: MEVD: MongoDB provider should use BulkWrite in UpsertBatch #11310
damieng
wants to merge
28
commits into
microsoft:feature-vector-data-preb2
from
damieng:mongodb-upsert-batch
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Description Closes microsoft#10896 Add hybrid search sample ### 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 😄
…microsoft#11295) Bumps [google-cloud-aiplatform](https://github.com/googleapis/python-aiplatform) from 1.85.0 to 1.86.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/googleapis/python-aiplatform/releases">google-cloud-aiplatform's releases</a>.</em></p> <blockquote> <h2>v1.86.0</h2> <h2><a href="https://github.com/googleapis/python-aiplatform/compare/v1.85.0...v1.86.0">1.86.0</a> (2025-03-26)</h2> <h3>Features</h3> <ul> <li>Add a ExportPublisherModel API (<a href="https://redirect.github.com/googleapis/python-aiplatform/issues/5055">#5055</a>) (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add AssessData and AssembleData RPCs to DatasetService (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add batch prediction assessments to multimodal dataset RPCs (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Add env variables and agent framework to ReasoningEngineSpec (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add env variables and agent framework to ReasoningEngineSpec in v1beta1 (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add example, example_store, and example_store_service protos (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Add import result bq sink to the import files API (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add import result bq sink to the import files API (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add import result gcs sink to the import files API (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add import result gcs sink to the import files API (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add model_config field for model selection preference (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Add multihost_gpu_node_count to Vertex SDK. (<a href="https://github.com/googleapis/python-aiplatform/commit/03d9bf724d39f4e81356265679e3e4cc810afea7">03d9bf7</a>)</li> <li>Add ray 2.33 and 2.42 unit tests as required checks (<a href="https://github.com/googleapis/python-aiplatform/commit/51dbe943e9ace017f90a4bf32bc061b87b185054">51dbe94</a>)</li> <li>Add session.proto and session_service.proto (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Add support for version 2.42 for RoV Bigquery read/write (<a href="https://github.com/googleapis/python-aiplatform/commit/60902052fef2772dbc86b7e186cd8199250bb338">6090205</a>)</li> <li>Add the initial version of the LlamaIndex agent prebuilt template. (<a href="https://github.com/googleapis/python-aiplatform/commit/f1f2ea53e4af48205c63d110825c12365e82d996">f1f2ea5</a>)</li> <li>Add the initial version of the LlamaIndex agent prebuilt template. (<a href="https://github.com/googleapis/python-aiplatform/commit/8cbea819557703c9051370cdea5b22aebb87fb37">8cbea81</a>)</li> <li>Add VertexAISearch.engine option (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Change format string assembly logic for prompt templates. (<a href="https://github.com/googleapis/python-aiplatform/commit/43ebe9793d8dd5a96c59111f93c122413b3e9030">43ebe97</a>)</li> <li>Copy output uploading features from GA Eval SDK to preview. (<a href="https://github.com/googleapis/python-aiplatform/commit/d6f99cb51825f53e96662c84dad3ab061759da55">d6f99cb</a>)</li> <li>Enable force deletion in ReasoningEngine (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Enable force deletion in ReasoningEngine v1beta1 (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Modify v1 sdk to support rerankers (<a href="https://github.com/googleapis/python-aiplatform/commit/ececfb384c14717567e90b83195af6c1e8e416c1">ececfb3</a>)</li> <li>Update GenAI Evaluation QPS to 10. (<a href="https://github.com/googleapis/python-aiplatform/commit/0995ce22d4a600d25d3f0aea290b28806bcf4b7b">0995ce2</a>)</li> <li>Update GenAI Evaluation QPS to 10. (<a href="https://github.com/googleapis/python-aiplatform/commit/a59b0a6952a2c2fd70aa1c59000d0e2ead1844c2">a59b0a6</a>)</li> <li>Update multimodal evaluation (content_map_instance), rubric generation (rubric_based_instance, etc) and raw_output(raw_output, custom_output, etc) proto change in online eval API (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Update Ray system tests to be compatible with new RoV 2.42 changes (<a href="https://github.com/googleapis/python-aiplatform/commit/fbb9560c94dcc12525e3f319d5671317d8e0badb">fbb9560</a>)</li> <li>Update setup.py for including Ray v2.42 (<a href="https://github.com/googleapis/python-aiplatform/commit/827b4840b3ae01637fb48429a8470ff8c6e29b4b">827b484</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>Format of the input to GetPublisherModelRequest for Hugging Face models. (<a href="https://github.com/googleapis/python-aiplatform/commit/8f7e8b91091148789c8ed4373b7dbb58fd1f04e5">8f7e8b9</a>)</li> <li>Format of the input to GetPublisherModelRequest for Hugging Face models. (<a href="https://github.com/googleapis/python-aiplatform/commit/96d2ecbb527cc52c71bbeddc2394eaf9c4f91e06">96d2ecb</a>)</li> <li>GenAI Eval: fix a prompt template variable parsing issue when multiline json structures are present (<a href="https://github.com/googleapis/python-aiplatform/commit/5da362fd380356a239d4e5b84a01fccae4738b32">5da362f</a>)</li> <li>GenAI Eval: fix a prompt template variable parsing issue when multiline json structures are present (<a href="https://github.com/googleapis/python-aiplatform/commit/fd12cb8148cbc0dc7d55dde49b07573f22a4ddaa">fd12cb8</a>)</li> <li>GenAI Evaluation: Fix system instruction not being added to PairwiseMetric. (<a href="https://github.com/googleapis/python-aiplatform/commit/5c60d955342004876bace8c015fbf1816cf2fe53">5c60d95</a>)</li> <li>GenAI Evaluation: Fix system instruction not being added to PairwiseMetric. (<a href="https://github.com/googleapis/python-aiplatform/commit/c65879d7874fda62718f6b542d7828ef5fa37367">c65879d</a>)</li> <li>Update ipython import according to the latest ipython docs (<a href="https://github.com/googleapis/python-aiplatform/commit/533012a8aac0808fe0b46cff43fc7587479d2310">533012a</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add <code>deployment_spec</code> and <code>agent_framework</code> field to <code>ReasoningEngineSpec</code>. (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/googleapis/python-aiplatform/blob/main/CHANGELOG.md">google-cloud-aiplatform's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/googleapis/python-aiplatform/compare/v1.85.0...v1.86.0">1.86.0</a> (2025-03-26)</h2> <h3>Features</h3> <ul> <li>Add a ExportPublisherModel API (<a href="https://redirect.github.com/googleapis/python-aiplatform/issues/5055">#5055</a>) (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add AssessData and AssembleData RPCs to DatasetService (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add batch prediction assessments to multimodal dataset RPCs (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Add env variables and agent framework to ReasoningEngineSpec (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add env variables and agent framework to ReasoningEngineSpec in v1beta1 (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add example, example_store, and example_store_service protos (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Add import result bq sink to the import files API (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add import result bq sink to the import files API (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add import result gcs sink to the import files API (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add import result gcs sink to the import files API (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add model_config field for model selection preference (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Add multihost_gpu_node_count to Vertex SDK. (<a href="https://github.com/googleapis/python-aiplatform/commit/03d9bf724d39f4e81356265679e3e4cc810afea7">03d9bf7</a>)</li> <li>Add ray 2.33 and 2.42 unit tests as required checks (<a href="https://github.com/googleapis/python-aiplatform/commit/51dbe943e9ace017f90a4bf32bc061b87b185054">51dbe94</a>)</li> <li>Add session.proto and session_service.proto (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Add support for version 2.42 for RoV Bigquery read/write (<a href="https://github.com/googleapis/python-aiplatform/commit/60902052fef2772dbc86b7e186cd8199250bb338">6090205</a>)</li> <li>Add the initial version of the LlamaIndex agent prebuilt template. (<a href="https://github.com/googleapis/python-aiplatform/commit/f1f2ea53e4af48205c63d110825c12365e82d996">f1f2ea5</a>)</li> <li>Add the initial version of the LlamaIndex agent prebuilt template. (<a href="https://github.com/googleapis/python-aiplatform/commit/8cbea819557703c9051370cdea5b22aebb87fb37">8cbea81</a>)</li> <li>Add VertexAISearch.engine option (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Change format string assembly logic for prompt templates. (<a href="https://github.com/googleapis/python-aiplatform/commit/43ebe9793d8dd5a96c59111f93c122413b3e9030">43ebe97</a>)</li> <li>Copy output uploading features from GA Eval SDK to preview. (<a href="https://github.com/googleapis/python-aiplatform/commit/d6f99cb51825f53e96662c84dad3ab061759da55">d6f99cb</a>)</li> <li>Enable force deletion in ReasoningEngine (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Enable force deletion in ReasoningEngine v1beta1 (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Modify v1 sdk to support rerankers (<a href="https://github.com/googleapis/python-aiplatform/commit/ececfb384c14717567e90b83195af6c1e8e416c1">ececfb3</a>)</li> <li>Update GenAI Evaluation QPS to 10. (<a href="https://github.com/googleapis/python-aiplatform/commit/0995ce22d4a600d25d3f0aea290b28806bcf4b7b">0995ce2</a>)</li> <li>Update GenAI Evaluation QPS to 10. (<a href="https://github.com/googleapis/python-aiplatform/commit/a59b0a6952a2c2fd70aa1c59000d0e2ead1844c2">a59b0a6</a>)</li> <li>Update multimodal evaluation (content_map_instance), rubric generation (rubric_based_instance, etc) and raw_output(raw_output, custom_output, etc) proto change in online eval API (<a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24">a6d975e</a>)</li> <li>Update Ray system tests to be compatible with new RoV 2.42 changes (<a href="https://github.com/googleapis/python-aiplatform/commit/fbb9560c94dcc12525e3f319d5671317d8e0badb">fbb9560</a>)</li> <li>Update setup.py for including Ray v2.42 (<a href="https://github.com/googleapis/python-aiplatform/commit/827b4840b3ae01637fb48429a8470ff8c6e29b4b">827b484</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>Format of the input to GetPublisherModelRequest for Hugging Face models. (<a href="https://github.com/googleapis/python-aiplatform/commit/8f7e8b91091148789c8ed4373b7dbb58fd1f04e5">8f7e8b9</a>)</li> <li>Format of the input to GetPublisherModelRequest for Hugging Face models. (<a href="https://github.com/googleapis/python-aiplatform/commit/96d2ecbb527cc52c71bbeddc2394eaf9c4f91e06">96d2ecb</a>)</li> <li>GenAI Eval: fix a prompt template variable parsing issue when multiline json structures are present (<a href="https://github.com/googleapis/python-aiplatform/commit/5da362fd380356a239d4e5b84a01fccae4738b32">5da362f</a>)</li> <li>GenAI Eval: fix a prompt template variable parsing issue when multiline json structures are present (<a href="https://github.com/googleapis/python-aiplatform/commit/fd12cb8148cbc0dc7d55dde49b07573f22a4ddaa">fd12cb8</a>)</li> <li>GenAI Evaluation: Fix system instruction not being added to PairwiseMetric. (<a href="https://github.com/googleapis/python-aiplatform/commit/5c60d955342004876bace8c015fbf1816cf2fe53">5c60d95</a>)</li> <li>GenAI Evaluation: Fix system instruction not being added to PairwiseMetric. (<a href="https://github.com/googleapis/python-aiplatform/commit/c65879d7874fda62718f6b542d7828ef5fa37367">c65879d</a>)</li> <li>Update ipython import according to the latest ipython docs (<a href="https://github.com/googleapis/python-aiplatform/commit/533012a8aac0808fe0b46cff43fc7587479d2310">533012a</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add <code>deployment_spec</code> and <code>agent_framework</code> field to <code>ReasoningEngineSpec</code>. (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> <li>Add <code>deployment_spec</code> and <code>agent_framework</code> field to <code>ReasoningEngineSpec</code>. (<a href="https://github.com/googleapis/python-aiplatform/commit/4c69301f17f4555c283ab9e097333c363cfe58d3">4c69301</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/googleapis/python-aiplatform/commit/ff8f1424122ccb73789d0fa0da6fc71012852588"><code>ff8f142</code></a> chore(main): release 1.86.0 (<a href="https://redirect.github.com/googleapis/python-aiplatform/issues/5066">#5066</a>)</li> <li><a href="https://github.com/googleapis/python-aiplatform/commit/a6d975e2ff3a97ff05757e2a5ac5576dd48feb24"><code>a6d975e</code></a> Copybara import of the project:</li> <li><a href="https://github.com/googleapis/python-aiplatform/commit/533012a8aac0808fe0b46cff43fc7587479d2310"><code>533012a</code></a> fix: update ipython import according to the latest ipython docs</li> <li><a href="https://github.com/googleapis/python-aiplatform/commit/35519add52a3e753849c1586ebc5e11adbe329e9"><code>35519ad</code></a> chore: skip offline_store tests in python <3.10</li> <li><a href="https://github.com/googleapis/python-aiplatform/commit/6383a528607da11dcd7d15a4d4fcf7681dc8881f"><code>6383a52</code></a> chore: Enable keepalive to avoid connection timeout for dedicated endpoints.</li> <li><a href="https://github.com/googleapis/python-aiplatform/commit/51dbe943e9ace017f90a4bf32bc061b87b185054"><code>51dbe94</code></a> feat: Add ray 2.33 and 2.42 unit tests as required checks</li> <li><a href="https://github.com/googleapis/python-aiplatform/commit/fbb9560c94dcc12525e3f319d5671317d8e0badb"><code>fbb9560</code></a> feat: Update Ray system tests to be compatible with new RoV 2.42 changes</li> <li><a href="https://github.com/googleapis/python-aiplatform/commit/19c69f42c58e3f79bdb7fabc5624946cc86069e0"><code>19c69f4</code></a> chore: skip offline_fetch unit tests in Python 3.8 since bigframes doesn't su...</li> <li><a href="https://github.com/googleapis/python-aiplatform/commit/0214b1b2a523913e51f3995b2316af33a80db674"><code>0214b1b</code></a> chore: Rename the LlamaIndex Summarizer to Response Synthesizer.</li> <li><a href="https://github.com/googleapis/python-aiplatform/commit/28105483792d1ad11edf489cf87206260ebc7336"><code>2810548</code></a> chore: make final updates to include Ray v2.42.0 support on SDK, make 2.42.0 ...</li> <li>Additional commits viewable in <a href="https://github.com/googleapis/python-aiplatform/compare/v1.85.0...v1.86.0">compare view</a></li> </ul> </details> <br /> [](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>
### 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 [sample](https://github.com/microsoft/semantic-kernel/blob/main/python/samples/concepts/agents/chat_completion_agent/chat_completion_agent_function_termination.py) was throwing an error due to duplicating tool messages in the chat history. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Fix a few agent samples. ### 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 😄
…=2.2,<5.0 in /python (microsoft#11294) Updates the requirements on [sentence-transformers](https://github.com/UKPLab/sentence-transformers) to permit the latest version. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/UKPLab/sentence-transformers/commit/f7dfd9019339be1d8451fe94591d6cb4b565dcb0"><code>f7dfd90</code></a> Release v4.0.1</li> <li><a href="https://github.com/UKPLab/sentence-transformers/commit/ba1260d58c8804e97989e5af06ac90a0f4be8594"><code>ba1260d</code></a> Add CrossEncoder model card template to MANIFEST.in</li> <li><a href="https://github.com/UKPLab/sentence-transformers/commit/0f4e6476cf47d6a476eb84422592248f1fc770f8"><code>0f4e647</code></a> Merge branch 'master' of <a href="https://github.com/UKPLab/sentence-transformers">https://github.com/UKPLab/sentence-transformers</a> into...</li> <li><a href="https://github.com/UKPLab/sentence-transformers/commit/e5bbb5cc5d802e36a9cdb7a7c52b03310006d895"><code>e5bbb5c</code></a> [<code>docs</code>] Fix CrossEncoderCorrelationEvaluator training overview snippet</li> <li><a href="https://github.com/UKPLab/sentence-transformers/commit/76056cf8194602d338f2b6a9513c26e98da6407d"><code>76056cf</code></a> Merge branch 'master' of <a href="https://github.com/UKPLab/sentence-transformers">https://github.com/UKPLab/sentence-transformers</a> into...</li> <li><a href="https://github.com/UKPLab/sentence-transformers/commit/095de27a7711fcf220f71a446a5a4610f6323722"><code>095de27</code></a> Simplify imports (<a href="https://redirect.github.com/UKPLab/sentence-transformers/issues/3288">#3288</a>)</li> <li><a href="https://github.com/UKPLab/sentence-transformers/commit/3fa7983572aed97ac4fdea98042cdc1b565d82f5"><code>3fa7983</code></a> Release v4.0.0</li> <li><a href="https://github.com/UKPLab/sentence-transformers/commit/1a32c89a1cad354d725fcd4a5448ff1b34d6c069"><code>1a32c89</code></a> Update main description (<a href="https://redirect.github.com/UKPLab/sentence-transformers/issues/3287">#3287</a>)</li> <li><a href="https://github.com/UKPLab/sentence-transformers/commit/1c242f40c6b76add9440f7f61c248b8d3570e028"><code>1c242f4</code></a> Add the .htaccess to git, automatically include it in builds (<a href="https://redirect.github.com/UKPLab/sentence-transformers/issues/3286">#3286</a>)</li> <li><a href="https://github.com/UKPLab/sentence-transformers/commit/d6ea029535adfe5a72b4e3da4db0fac0e0c10e0d"><code>d6ea029</code></a> Make minor updates to docs (<a href="https://redirect.github.com/UKPLab/sentence-transformers/issues/3285">#3285</a>)</li> <li>Additional commits viewable in <a href="https://github.com/UKPLab/sentence-transformers/compare/v2.2.0...v4.0.1">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…=2.10.3,<2.11,>=2.0 to >=2.0,!=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3,<2.12 in /python (microsoft#11293) Updates the requirements on [pydantic](https://github.com/pydantic/pydantic) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/releases">pydantic's releases</a>.</em></p> <blockquote> <h2>v2.11.1 2025-03-28</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>Do not override <code>'definitions-ref'</code> schemas containing serialization schemas or metadata by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11644">pydantic/pydantic#11644</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.11.0...v2.11.1">https://github.com/pydantic/pydantic/compare/v2.11.0...v2.11.1</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/blob/main/HISTORY.md">pydantic's changelog</a>.</em></p> <blockquote> <h2>v2.11.1 (2025-03-28)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.11.1">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Do not override <code>'definitions-ref'</code> schemas containing serialization schemas or metadata by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11644">#11644</a></li> </ul> <h2>v2.11.0 (2025-03-27)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.11.0">GitHub release</a></p> <h3>What's Changed</h3> <p>Pydantic v2.11 is a version strongly focused on build time performance of Pydantic models (and core schema generation in general). See the <a href="https://pydantic.dev/articles/pydantic-v2-11-release">blog post</a> for more details.</p> <h4>Packaging</h4> <ul> <li>Bump <code>pydantic-core</code> to v2.33.0 by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11631">#11631</a></li> </ul> <h4>New Features</h4> <ul> <li>Add <code>encoded_string()</code> method to the URL types by <a href="https://github.com/YassinNouh21"><code>@YassinNouh21</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11580">#11580</a></li> <li>Add support for <code>defer_build</code> with <code>@validate_call</code> decorator by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11584">#11584</a></li> <li>Allow <code>@with_config</code> decorator to be used with keyword arguments by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11608">#11608</a></li> <li>Simplify customization of default value inclusion in JSON Schema generation by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11634">#11634</a></li> <li>Add <code>generate_arguments_schema()</code> function by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11572">#11572</a></li> </ul> <h4>Fixes</h4> <ul> <li>Allow generic typed dictionaries to be used for unpacked variadic keyword parameters by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11571">#11571</a></li> <li>Fix runtime error when computing model string representation involving cached properties and self-referenced models by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11579">#11579</a></li> <li>Preserve other steps when using the ellipsis in the pipeline API by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11626">#11626</a></li> <li>Fix deferred discriminator application logic by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/11591">#11591</a></li> </ul> <h3>New Contributors</h3> <ul> <li><a href="https://github.com/cmenon12"><code>@cmenon12</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/11562">#11562</a></li> <li><a href="https://github.com/Jeukoh"><code>@Jeukoh</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/11611">#11611</a></li> </ul> <h2>v2.11.0b2 (2025-03-17)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.11.0b2">GitHub release</a></p> <h3>What's Changed</h3> <h4>Packaging</h4> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic/commit/6c38dc93f40a47f4d1350adca9ec0d72502e223f"><code>6c38dc9</code></a> Prepare release v2.11.1 (<a href="https://redirect.github.com/pydantic/pydantic/issues/11648">#11648</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/1dcddac2c5e1ac2361fc897f804f44338a1d8067"><code>1dcddac</code></a> Do not override <code>'definitions-ref'</code> schemas containing serialization schemas ...</li> <li><a href="https://github.com/pydantic/pydantic/commit/024fdae2b55bd41866418586d48009956cfa9e1b"><code>024fdae</code></a> Fix small typos (<a href="https://redirect.github.com/pydantic/pydantic/issues/11643">#11643</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/58e61fa3c60ffb8140d01ca9f74ff7528326a0c6"><code>58e61fa</code></a> Prepare release v2.11.0 (<a href="https://redirect.github.com/pydantic/pydantic/issues/11635">#11635</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/e2c2e811e3cafb35d376c22e8830f2773d65ee58"><code>e2c2e81</code></a> Add <code>generate_arguments_schema()</code> experimental function (<a href="https://redirect.github.com/pydantic/pydantic/issues/11572">#11572</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/72bea3f22f8d5380cb10af017deae4a0e16709c0"><code>72bea3f</code></a> Add <code>mkdocs-llmstxt</code> documentation plugin (<a href="https://redirect.github.com/pydantic/pydantic/issues/11632">#11632</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/fcba83291a8fe7e1dcfde9bbcc8ea57f8ef322c0"><code>fcba832</code></a> Simplify customization of default value inclusion in JSON Schema generation (...</li> <li><a href="https://github.com/pydantic/pydantic/commit/6f11161524e495f6ed7597abcd4006f19a7cd2c1"><code>6f11161</code></a> Add support for extra keys validation for models (<a href="https://redirect.github.com/pydantic/pydantic/issues/11578">#11578</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/7917b11bd28706d77a5d0180381bc96b6b61b044"><code>7917b11</code></a> Disable third-party workflow issue report (<a href="https://redirect.github.com/pydantic/pydantic/issues/11629">#11629</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/f5226d294664788d1fbea13bec2dbc1ce6305c8e"><code>f5226d2</code></a> Bump <code>pydantic-core</code> to v2.33.0 (<a href="https://redirect.github.com/pydantic/pydantic/issues/11631">#11631</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.0...v2.11.1">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…icrosoft#11309) ### Motivation, Context and Description This PR fixes the issue caused by accessing the `required` property value as if it were a boolean property, instead of accessing it as an array of strings. Additionally, it reads the `required` property from the object root instead of reading it from each individual property of the object because the `required` property is defined at the root level to specify which properties are mandatory for the entire object. So, when iterating over the object root level properties, the code now uses the `"required": ["options"]` property declared at the root level instead of the `"required": ["outputPath"]` declared at the `options` property level. ```json { "type": "object", "properties": { "options": { "type": "object", "description": "Code generation options", "properties": { "outputPath": { "type": "string", "description": "Directory path where generated tests will be saved (use absolute path)" }, "testNamePrefix": { "type": "string", "description": "Prefix to use for generated test names (default: \u0027GeneratedTest\u0027)" }, "includeComments": { "type": "boolean", "description": "Whether to include descriptive comments in generated tests" } }, "required": [ "outputPath" ] } }, "required": [ "options" ] } ``` JsonSpec: https://json-schema.org/understanding-json-schema/reference/object#required Fixes: microsoft#11292 Contributes to: microsoft#11212
…ores (microsoft#11302) ### 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 PR: - restructures the data folder, flattening the hierarchy - it adds overloads to the Get, Upsert, Delete methods, to allow batch as well, marks the batch versions as deprecated, closes microsoft#11301 - restructured the inheritance of VectorStoreRecordCollection, which now has a base that does record handling, which is shared with the VectorSearchBase for the serialization, and the search method mixins now subclass the VectorSearchBase so that there is one less parent direct parent, a full Collection will now inherit from VectorStoreRecordCollection and zero or more VectorSearch mixins, this is done to clean things up and in preparation of adding HybridSearch. - Also adds a convenience method to each search mixin to create a VectorStoreTextSearch directly, allowing folks to import one less concept, closes microsoft#11111 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Most of the code has been moved out of many files and folders, into a few files which make purpose and collaboration between the classes easier to understand. This is a breaking change: If you have implemented your own VectorStoreRecordCollection, make sure to: - Add `VectorStoreRecordCollection[TKey, TModel]` as superclass to the implementation - Remove `VectorSearchBase` as superclass from implementation - Set the SearchMixins to `[TKey, TModel]` instead of just `[TModel]` ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 --------- Co-authored-by: Evan Mattson <[email protected]>
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Fixes the needs port to label workflow to use env variables ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
### Motivation and Context The AzureAIAgent step1 sample is using a `thread_id` kwarg for `agent.invoke(...)`. Fix this to be `thread` instead, so we can use the created thread for later invokes. For the OpenAIAssistantAgent README, update the `thread` related items to use the new common agent invoke api constructs. <!-- 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 a sample and a README. <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄
### Motivation and Context Add a TextSearch implementation using the Tavily Search API - [x] Initial implementation with search - [x] Support for image search - [x] Integration tests Closes microsoft#11060 ### 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]> Co-authored-by: Roger Barreto <[email protected]>
…icrosoft#11279) ### Motivation and Context - Resolve microsoft#10493 --------- Co-authored-by: SergeyMenshykh <[email protected]>
….cs (microsoft#11244) ### Description Removing `KernelAgent` to decrease the number of layers in the Agent Framework. - Moved functionality of `KernelAgent` to `Agent` - Moved tests from `KernelAgentTests` to `AgentTests` - Removed `KernelAgent` and `KernelAgentTests` - Renamed `ChatHistoryKernelAgent` to `ChatHistoryAgent` ### 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: Ben Thomas <[email protected]>
…ware design. (microsoft#11339) ### Motivation and Context Some of the mongodb tests are failing intermittently. Moving to new design which has built in checks for making sure data is indexed before running test. microsoft#11311 ### Description Move hybrid search tests to new projects and adopt updated software design. ### 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 😄
…icrosoft#11331) ### Motivation and Context Now that we have a common agent invocation API, that uses threads, we will be deprecating the `add_chat_message` for the `AzureAIAgent` and `OpenAIAssistantAgent`. Add the deprecation decorator and message. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description Add the deprecation decorator and message. <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄
…t#11328) ### Motivation and Context A concern was raised bout confusion between OnNewMessage on the thread and on the invoke options, so renaming the invoke option callback to try and avoid confusion. ### Description Rename OnNewMessage callback to OnIntermediateMessage ### 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 😄
…to be deleted. (microsoft#11329) ### Motivation and Context We should warm users of the timeframe at which obsoleted methods will be deleted. microsoft#11315 ### Description Add a date to the obsolete messages for obsolete methods on the agent implementations. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄
### Motivation and Context OpenAI recently released their Responses API, which is their newest core API and an agentic API primitive, combining the simplicity of Chat Completions with the ability to do more agentic tasks. Azure OpenAI also recently released the Responses API, with close-to feature parity with OpenAI's SDK. It gives us enough to introduce an `AzureResponsesAgent` and an `OpenAIResponsesAgent` to Semantic Kernel. <!-- 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 introduces: - The `AzureResponsesAgent` and `OpenAIResponsesAgent` - Allows use of the web search tool with `OpenAI` (`Azure OpenAI` currently doesn't support this). - Allows use of the file search tool with both `OpenAI` and `Azure OpenAI`. - Provides getting started samples for both agent types. **TODO:** - Add unit test coverage for the `ResponsesAgentThreadActions` class. - Add support for the computer user agent tool. - Improve typing in the `ResponsesAgentThreadActions` class. - Closes microsoft#11026 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄
### Motivation and Context Right now, we need to manually go through each new discussion item to figure out if it needs certain labels. We also can miss discussion items as we don't have the "triage" label applied automatically like we do for issues. We have some discussion categories where users can post for help -- specifically "General," "Q&A," and "Ideas." Other discussion categories don't warrant "triage," "python," or ".NET" labels. <!-- 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 adds a "Label Discussions" workflow that runs when new discussions are created as part of General, Ideas, or Q&A, that leverages GitHub's GraphQL API. This was tested in my SK fork for new issues, and it properly adds the appropriate label based on the content of the discussion item. This should help make sure we don't miss any discussion item as we look through them during triage. <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄
### Motivation and Context Fix some sample output strings for OpenAIResponsesAgent samples. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description Fix some sample output strings for OpenAIResponsesAgent samples. <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> This PR adds the Azure SQL Store and Collection Closes microsoft#9882 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
### Motivation, Context and Description This PR adds sample showing how to power MCP prompt by SK prompt server side and consume this prompt client side. Contributes to: microsoft#11199 --------- Co-authored-by: westey <[email protected]>
…ython (microsoft#11016) Updates the requirements on [websockets](https://github.com/python-websockets/websockets) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python-websockets/websockets/releases">websockets's releases</a>.</em></p> <blockquote> <h2>15.0.1</h2> <p>See <a href="https://websockets.readthedocs.io/en/stable/project/changelog.html">https://websockets.readthedocs.io/en/stable/project/changelog.html</a> for details.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python-websockets/websockets/commit/37c9bc0781f0cc5af7c729947ef1833c1e12b70d"><code>37c9bc0</code></a> Release version 15.0.1.</li> <li><a href="https://github.com/python-websockets/websockets/commit/fce02abb7843bbbad78a53ec0740620dc183ff45"><code>fce02ab</code></a> Docs. Correct Producer pattern example.</li> <li><a href="https://github.com/python-websockets/websockets/commit/5fa24bbb4aa5e0ee4dcc2cf1ce186f3ab68349a6"><code>5fa24bb</code></a> Exit cleanly the interactive client on ^C.</li> <li><a href="https://github.com/python-websockets/websockets/commit/d0e60d319f95cfab19ac027410dbf07799c76c1d"><code>d0e60d3</code></a> Remove spurious PYTHONPATH declarations.</li> <li><a href="https://github.com/python-websockets/websockets/commit/d7dafcc95a7b0277cb06d67024fab024045e9de9"><code>d7dafcc</code></a> Add test coverage for interactive client.</li> <li><a href="https://github.com/python-websockets/websockets/commit/3c62503261f899ebd6f0cdbb6222d8052f842ef2"><code>3c62503</code></a> Use entrypoint instead of runpy in docs.</li> <li><a href="https://github.com/python-websockets/websockets/commit/f4e4345b7a39a5275dbdf92d1ccc64383a19ca35"><code>f4e4345</code></a> added entry point script for the cli client in the pyproject.toml</li> <li><a href="https://github.com/python-websockets/websockets/commit/6f89bacb0754d4f541d70d1444f7bd9eac69ba60"><code>6f89bac</code></a> Start version 15.1.</li> <li><a href="https://github.com/python-websockets/websockets/commit/7ac73c645329055a3c352077b8055e6ed65fa46c"><code>7ac73c6</code></a> Release version 15.0.</li> <li><a href="https://github.com/python-websockets/websockets/commit/a1ba01db142459db0ea6f7659b3a5f4962749fa6"><code>a1ba01d</code></a> Rewrite interactive client (again) without threads.</li> <li>Additional commits viewable in <a href="https://github.com/python-websockets/websockets/compare/13.0...15.0.1">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Evan Mattson <[email protected]>
…soft#11359) ### Motivation and Context 1. Include names of classes being used 2. Remove unneeded serviceId ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 Co-authored-by: SergeyMenshykh <[email protected]>
### Motivation and Context microsoft#11132 ### Description Fix bug in sqlite filter logic ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄
### Motivation and Context Version bump for release 1.45.0 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 Co-authored-by: SergeyMenshykh <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
kernel.core
kernel
Issues or pull requests impacting the core kernel
memory
.NET
Issue or Pull requests regarding .NET code
python
Pull requests for the Python Semantic Kernel
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Updates the MongoDB provider to perform UpsertBatch using the BulkWrite API for performance.
Description
Additionally fixed some broken MongoDB tests by:
Contribution Checklist