mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 11:19:56 +00:00
experimental-node-api-dotnet
1246
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ba25909871 |
First node-api-dotnet example showing how to invoke a semantic function (#2600)
### Motivation and Context Please help reviewers and future users, providing the following information: 1. Why is this change required? Demonstrates how to call Semantic Kernel from Node ### Description First node-api-dotnet example showing how to invoke a semantic function ### 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 😄 |
||
|
|
4b2b93d8b0 |
Python: Update .env with weaviate (#2148)
Included weaviate env variables --------- Co-authored-by: Dmytro Struk <[email protected]> Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Lee Miller <[email protected]>python-0.3.10.dev dotnet-0.20.230828.1-nightly dotnet-0.20.230827.1-nightly dotnet-0.20.230826.1-nightly |
||
|
|
2de1cbed50 |
.Net: [RestApi] Dynamic payload generation with namespaced payload parameters (#2467)
### Motivation and Context
The dynamic payload creation was requested by a few internal teams. It
allows SK RestAPI functionality consumer code to only supply arguments
for parameters specified in the OpenAPI payload metadata for PUT and
POST operations, while the rest – payload constriction, data type
conversion, parameter namespacing, etc. – is handled by SK RestAPI
functionality.
### Description
#### Context
Today, the only way to pass a payload for a PUT or POST RestAPI
operation is by adding the `payload` argument to the context variables
collection before executing the operation. The `payload` argument, for
operations requiring an 'application/json' payload, is expected to be a
valid JSON with all the necessary properties initialized. This approach
is not convenient for SK consumers who only want to provide the required
payload parameters, similar to how they handle query string and header
parameters, without having to construct the payload themselves.
#### Dynamic creation of payload
By default, dynamic payload creation is disabled to ensure backward
compatibility. To enable it, the `BuildOperationPayloadDynamically`
property of the `OpenApiSkillExecutionParameters` execution parameters
should be set to `true` when importing the AI plugin:
```csharp
var plugin = await kernel.ImportAIPluginAsync("<skill name>", new Uri("<chatGPT-plugin>"), new OpenApiSkillExecutionParameters(httpClient) { BuildOperationPayloadDynamically = true });
```
So, if a RestAPI operation payload schema requires payload like the
following:
```json
{
"value": "secret-value",
"attributes": {
"enabled": true
}
}
```
To dynamically build it, the consumer code needs to register the
following arguments in the context variables collection:
```csharp
var contextVariables = new ContextVariables();
contextVariables.Set("value", "secret-value");
contextVariables.Set("enabled", true);
```
#### Payload parameter namespacing
When building payload dynamically, and a RestAPI operation requires the
'application/json' content type, it's possible that the content may have
properties with the identical names, see example below, at different
levels. In such cases, SK can't resolve their values unambiguously from
a flat list of arguments unless there's a namespacing mechanism that
allows the distinction of those properties from one another.
The namespacing mechanism relies on prefixing parameter names with their
parent parameter name, separated by dots. So, the 'namespaced' parameter
names should be used when adding arguments to the context variables
collection. For example, consider this JSON:
```json
{
"upn": "<sender upn>",
"receiver": {
"upn": "<receiver upn>"
},
"cc": {
"upn": "<cc upn>"
}
}
```
It contains `upn` properties at different levels. The argument
registration for the parameters (property values) will look like:
```csharp
var contextVariables = new ContextVariables();
contextVariables.Set("upn", "<sender-upn-value>");
contextVariables.Set("receiver.upn", "<receiver-upn-value>");
contextVariables.Set("cc.upn", "<cc-upn-value>");
```
The namespacing mechanism is disabled by default for backward
compatibility and can be easily enabled by setting the value `true` to
the `NamespacePayloadParameters` property of the
`OpenApiSkillExecutionParameters` execution parameters when importing
the AI plugin:
```csharp
var plugin = await kernel.ImportAIPluginAsync("<skill name>", new Uri("<chatGPT-plugin>"), new OpenApiSkillExecutionParameters(httpClient) { NamespacePayloadParameters = true });
```
#### Parameter arguments data type conversion
Currently, the SK context variables collection only supports string
variables.This means that in order to set or add a primitive or complex
type variable, it must first be converted or serialized into a string.
However, this behavior causes issues when the RestAPI functionality
sends HTTP requests with an 'application/json' payload. For instance, a
property like enabled might have the string value `"true"` instead of
the intended Boolean value `true`.
To mitigate this problem, the RestAPIOperationRunner class iterates over
the operation payload metadata. During this process, it converts all
string arguments to their corresponding types as specified in the
metadata. This ensures accurate type representation within the operation
payload.
### 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: Dmytro Struk <[email protected]>
|
||
|
|
f87290f772 |
.Net: Fix GitHub Repo Q&A Bot Sample (#2569)
### Motivation and Context Not returning relevant results: [GitHub Repo Q&A Bot Sample](https://github.com/microsoft/semantic-kernel/tree/main/samples/apps/github-qna-webapp-react) Customer reported: https://github.com/microsoft/semantic-kernel/issues/2506 ### Description RCA: Mistmatch between container name being written to and being queried. `https://api.github.com/repos/microsoft/semantic-kernel-main` vs `https://github.com/microsoft/semantic-kernel-main`   ### 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 😄 |
||
|
|
a13690ad4b | Update CODEOWNERS dotnet-0.20.230825.1-nightly | ||
|
|
a311422a52 |
Python: Include token_selection_biases in PromptTemplateConfig (#2565)
### 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. --> `token_selection_biases` was missing from constructors in `PromptTemplateConfig` and `CompleteRequestSettings` Closes #2564 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Added `token_selection_biases` into the config template and defaults to an empty dictionary ### 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 😄 |
||
|
|
601c9de124 |
Python: Add HF model and pipeline kwargs to allow model loading customization (#2547)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> I was trying to use this library to load and use [HF Falcon model](https://huggingface.co/tiiuae/falcon-7b-instruct). Unfortunately in order to make it work I needed to pass in some additional arguments such as `torch_dtype`, `cache_dir` or `tokenizer`. It was not possible with current implementation so I decided to add `model_kwargs` and `pipeline_kwargs` to the `HuggingFaceTextCompletion` class init function so now, with the changes I introduced I can successfully load any `falcon` models by using this code: ```python import semantic_kernel as sk import semantic_kernel.connectors.ai.hugging_face as sk_hf import torch from transformers import AutoTokenizer cache_dir = "/mnt/tmp" model_name = "tiiuae/falcon-7b-instruct" tokenizer = AutoTokenizer.from_pretrained( pretrained_model_name_or_path=model_name, cache_dir=cache_dir, trust_remote_code=True) hf_model = sk_hf.HuggingFaceTextCompletion( model_name, task="text-generation", model_kwargs={ "cache_dir": cache_dir, "torch_dtype": torch.bfloat16 }, pipeline_kwargs={ "tokenizer": tokenizer, "trust_remote_code": True, "device": 0, } ) ``` ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> The changes I introduced add `model_kwargs` and `pipeline_kwargs` to `HuggingFaceTextCompletion` class so that these arguments are then passed to the underlying `transformers.pipeline()` function and thus allow more customization options. ### 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: Abby Harrison <[email protected]> |
||
|
|
97ccb8a581 |
.Net: Tokens information in telemetry (#2526)
### 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 contains changes in telemetry to add logging and metering for prompt, completion and total tokens used for each request to Azure OpenAI/OpenAI APIs. Example of logging in Application Insights:  Example of metering in Application Insights:  ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> 1. Added logging and metering for tokens information in `ClientBase` class of OpenAI connector. 2. Fixed examples. 3. Updated telemetry documentation. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 |
||
|
|
8203ff1aad |
.Net: Update Plan Result in State with matching outputs (#2539)
Update Plan Result in State with matching outputs to include the new result value. If there is already a current plan result, append the new result value to it. If there is no current plan result, set the result value as the new plan result. Resolves #2525 ### 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 😄 |
||
|
|
052fb2ea96 |
Python: Integration tests 'needs' path filter job (#2557)
### Motivation and Context PRs #2533 and #2555 updated the integration tests to trigger off of python changes only, but did not actually have the resulting jobs require the path filtering. This means that the tests never run. ### Description Add path-filter job as a requirement for subsequent jobs. ### 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: Lee Miller <[email protected]> |
||
|
|
f251e654ec |
Python: Enable serialization for sk/orchestration (#2369)
SKFunction has been excluded for now. Handles issues arising due to many circular imports Update DelegateInference to handle some cases where annotation is given as a string to avoid circular imports like in FileIOSkill. ### 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: --> - [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: Abby Harrison <[email protected]> Co-authored-by: Mark Karle <[email protected]> Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Lee Miller <[email protected]> Co-authored-by: Devis Lucato <[email protected]> |
||
|
|
25ee1d5b6b |
.Net: Update Sequential and StepwisePlannerTests (#2550)
Update test case to include writing both a poem and a joke in the email to Kai. This will improve reliability of these tests. Fixes #2551 ### 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 😄 |
||
|
|
954f5e18ff |
.Net: [OpenAPI] Fallback to operation summary if no description provided (#2542)
### Motivation and Context The code provides a fallback mechanism to allow the use of operation summary if no operation description is provided. ### 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 😄 |
||
|
|
8aa97bebdb |
.Net: [Error handling] [Part8] Replacing AIException by SKException for non-HTTP related cases (#2546)
### Motivation and Context This PR is one of the follow-up PRs aimed at gradually replacing SK custom exceptions with SKException to provide a simple, consistent, and extensible exception model. You can find more details in the [ADR](https://github.com/microsoft/semantic-kernel/blob/main/docs/decisions/0004-error-handling.md) discussing error handling. ### Description This PR replaces AIException with SKException for cases that are not related to HTTP request status, such as invalid configuration, wrong response content, not supported function type, etc. ### 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 😄 |
||
|
|
13930691e7 | Update pyproject.toml dotnet-0.20.230824.1-nightly | ||
|
|
e78242c887 |
Python : Adding Sample for Azure Cognitive Search Memory (#2510)
### Motivation and Context This PR resolves https://github.com/microsoft/semantic-kernel/issues/2493 ### Description The ACS implementation is different from VoltalileMemoryStore and we don't have any samples for Azure Cognitive Search Memory Store. I want to add Python Sample for using AzureCognitiveSearchMemoryStore with OpenAI embeddings. ### 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: Abby Harrison <[email protected]> Co-authored-by: Lee Miller <[email protected]> Co-authored-by: Devis Lucato <[email protected]> |
||
|
|
4e72b9d6ca |
Python: add restore method to chat_prompt_template (#2495)
### 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. --> In order to add ways to save and restore a running conversation this adds a restore method and a property to the ChatPromptTemplate class. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> 1. Add messages property which provides a view to the role, message.template tuple 2. Add restore classmethod that takes the same input as a regular init, but adds a list of tuples, it then loops through that list and adds each message. ### 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: Abby Harrison <[email protected]> Co-authored-by: Devis Lucato <[email protected]> |
||
|
|
b228346936 |
Python: Add missing parameter logger on inheriting classes and makes it optional (#2537)
### Motivation and Context Makes the `logger` parameter optional in `TextCompletionClientBase.complete_async`, `TextCompletionClientBase.complete_stream_async`, `ChatCompletionClientBase.complete_chat_async`, and `ChatCompletionClientBase.complete_chat_stream_async` to match the current usage across the project where it's not passed. It also adds that `logger` optional parameter to the inheriting classes where needed to match the base class method signatures. Resolves #2509 ### 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 😄 |
||
|
|
3881a3137f |
Python: Adding USearch memory connector (#2358)
### Motivation and Context The integration of [USearch](https://github.com/unum-cloud/usearch) as a memory connector to Semantic Kernel (SK). ### Description The USearch `Index` does not natively have the ability to store different collections, and it only stores embeddings without other attributes like `MemoryRecord`. The `USearchMemoryStore` class encapsulates these capabilities. It uses the USearch `Index` to store a collection of embeddings under unique IDs, with original collection names mapped to those IDs. Other `MemoryRecord ` attributes are stored in a `pyarrow.Table`, which is mapped to each collection. It's important to note the current behavior when a user removes a record or upserts a new one with an existing ID: the old row is not removed from the `pyarrow.Table`. This is done for performance reasons but could lead to the table growing in size. By default, `USearchMemoryStore` operates as an in-memory store. To enable persistence, you must set the persist mode with calling appropriate `__init__ `, supplying a path to the directory for the persist files. For each collection, two files will be created: `{collection_name}.usearch` and `{collection_name}.parquet`. Changes will only be dumped to the disk when `close_async` is called. Due to the interface provided by the base class `MemoryStoreBase`, this happens implicitly when using a context manager, or it may be called explicitly. Since collection names are used to store files on disk, all names are converted to lowercase. To ensure efficient use of memory, you should call `close_async`. --------- Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Devis Lucato <[email protected]>python-0.3.9.dev |
||
|
|
4bc5ff716d |
Python: provide methods to register single native function to the kernel (#2390)
### 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. --> solve #2321 ### 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: Abby Harrison <[email protected]> Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Lee Miller <[email protected]> |
||
|
|
0c15862830 |
.Net: Removing FromSemanticConfig from NativeFunction.cs (#2552)
### Description Removing `FromSemanticConfig` from NativeFunction.cs has no business being there. That code now exists in SemanticFunction.cs. This is dead code. <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### 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 😄 |
||
|
|
04bbdbc0eb |
Update python-integration-tests.yml (#2555)
Fix variable expansion in conditional -- hypothesis is that the value is expanded before the step runs, ruining things. ### 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 😄 |
||
|
|
9a1609cbac |
Python: Added Snoop as a development dependency (#2457)
### Motivation and Context Add snoop as a dev dependency for easier debugging of tests. <!-- 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: --> - [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: Abby Harrison <[email protected]> |
||
|
|
05afd29ef6 |
Python: add stepwise planner (#2223)
### 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. --> implement stepwise planner #2221 ### 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: Abby Harrison <[email protected]> Co-authored-by: Lee Miller <[email protected]> Co-authored-by: Abby Harrison <[email protected]> |
||
|
|
0a477b198c |
Python: Update examples and notebooks to stop using text-davinci-003 (#2359)
### Motivation and Context text-davinci-003 is being retired by Azure OpenAI and is no longer supported for new deployments Resolves - https://github.com/microsoft/semantic-kernel/issues/2309 <!-- 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 examples and notebooks to use gpt-35-turbo / gpt-3.5-turbo instead <!-- 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 😄 Signed-off-by: karthikmurali60 <[email protected]> Co-authored-by: Lee Miller <[email protected]> Co-authored-by: Gil LaHaye <[email protected]> |
||
|
|
ae521f3d3c |
Update python-integration-tests.yml (#2533)
Adding back the paths filter on the Python integration tests GitHub actions. This ensures that the tests only run when changes under the python/ folder are included. Otherwise, it skips to the final validation step. --------- Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Lee Miller <[email protected]> |
||
|
|
9a5f2d6a5a |
Python: Update fake skill and planner test (#2535)
Fix failing integration tests introduced in #2474 (May be filing follow up issue on that) - Update WriterSkillFake to include a context parameter for the end marker - Update test_sequential_planner to use the new end marker parameter in WriterSkillFake ### 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 😄 |
||
|
|
d034b592ed |
.Net: Expose the token counter in the TextChunker (#2147)
### Motivation and Context The TextChunker currently uses a rough estimate of the total number of tokens in a string (input divided by 4). This PR aims to expose the counter logic to be caller configurable, enabling accurate token counts based on which model will be consuming the chunks. Fixes #2146 ### Description Adds an optional token counter function parameter to the TextChunker methods. If not supplied, it falls back to the base token counter logic. ### 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: Lee Miller <[email protected]> |
||
|
|
98d2d9fa2e |
Python: ACS should use Hnsw for vector indexing (#2534)
### Motivation and Context This PR builds on https://github.com/microsoft/semantic-kernel/pull/2435 - the previous PR updates azure-search to the latest package , where it is recommended to use HnswVectorSearchAlgorithmConfiguration. The previous implementation appears to be in a semi-deprecated state. This new flow is the publicly recommended use for ACS according to https://github.com/Azure/cognitive-search-vector-pr/tree/main/demo-python/code. ### Description - update `azure-search-documents` dependency from `11.4.0b6 -> 11.4.0b8` - index configuration changed from `VectorSearchAlgorithmConfiguration -> HnswVectorSearchAlgorithmConfiguration` - update `search_client.search()` call in `get_nearest_matches()` to be consistent with the new index api ### 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: Kinfey <[email protected]> Co-authored-by: Lee Miller <[email protected]> Co-authored-by: Kinfey <[email protected]>dotnet-0.20.230823.1-nightly |
||
|
|
2b31629976 |
Update InteractWithGraph.tsx - Fix failures caused by break change of stripping off the async suffix from SK functions (#2483)
Fix failures caused by break change of stripping off the async suffix from SK functions ### Motivation and Context The auth-api sample doesn't work anymore because of the break change listed in https://github.com/freistli/semantic-kernel/blob/main/docs/decisions/0003-support-multiple-native-function-args.md Updated name selection heuristic to strip off an "Async" suffix for async methods. ### Description KernelServer service reports similar errors the sample is calling: Result: Function 'InvokeFunction', Invocation id '6dcbc5af-9484-4357-a5ac-c91b585dfac5': An exception was thrown by the invocation. Exception: System.AggregateException: One or more errors occurred. (Function not available: Function not available emailskill.getmyemailaddressasync) ### 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 😄 |
||
|
|
f0ab0fbd40 |
Python: Revert "Python: Update Azure Cognitive Search Class Change VectorSearchAlgorithmConfi…" (#2531)
Reverts microsoft/semantic-kernel#2435 This PR caused a breaking change to the ACS memory store's get_nearest_matches method |
||
|
|
49acad9314 |
Use 'failure' for error check (#2530)
### 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. --> Make failure handling happen for python integration tests. ### 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 😄 |
||
|
|
34f8cf4ee9 |
.Net: Azure OpenAI Chat Completion with data (#2498)
### 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/2326 Implementation of Azure OpenAI Chat Completion with data feature: https://learn.microsoft.com/en-us/azure/ai-services/openai/use-your-data-quickstart ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> 1. Implemented `AzureChatCompletionWithData` class, that uses `HttpClient` for API requests. 2. Added necessary internal classes for request/response serialization/deserialization. 3. Added unit tests. 4. Added usage example. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 --------- Co-authored-by: Roger Barreto <[email protected]> |
||
|
|
6712607a5a | Update python-integration-tests.yml | ||
|
|
59cbbdb2af |
Python: Add Google PaLM connector with chat completion and text embedding (#2258)
### Motivation and Context Implementation of Google PaLM connector with chat completion, text embedding and three example files to demonstrate their functionality. Closes #2098 I also opened a PR for text completion #2076 <!-- 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 **What's new:** 1. Implemented Google Palm connector with chat completion and text embedding 2. Added 3 example files to `python/samples/kernel-syntax-examples` 3. The example files show PaLM chat in action with skills, memory, and just with user messages. The memory example uses PaLM embedding as well 5. Added integration tests to test chat with skills and embedding with kernel.memory functions 6. Added unit tests to verify successful class initialization and correct behavior from class functions **There are some important differences between google palm chat and open ai chat:** 1. PaLM has two functions for chatting, `chat` and `reply`. The chat function in google's genai library starts a new conversation, and reply continues the conversation. Reply is an attribute of the response object returned by chat. So an instance of the `GooglePalmChatCompletion` class needs a way to determine which function to use, which is why I introduced a private attribute to store the response object. See https://developers.generativeai.google/api/python/google/generativeai/types/ChatResponse 2. PaLM does not use system messages. Instead, the chat function takes a parameter called context. It serves the same purpose, to prime the assistant with certain behaviors and information. So when the user passes a system message to `complete_chat_async`, it is passed to `chat` as the context parameter. 3. Semantic memory works with the chat service as long as the user creates a chat prompt template. The prompt containing the memory needs to be added to the chat prompt template as a system message. See `python\samples\kernel-syntax-examples\google_palm_chat_with_memory.py` for more details. If the only purpose of `complete_async` in `GooglePalmChatCompletion` is to send memories + user messages to the chat service as a text prompt, then `complete_async` is not fulfilling its intended purpose. A possible solution would be to send the text prompt as a request to the text service within `complete_async`. <!-- 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 😄 Currently no warnings, there was 1 warning when first installing genai with `poetry add google.generativeai==v0.1.0rc2` from within poetry shell: "The locked version 0.1.0rc2 for google-generativeai is a yanked version. Reason for being yanked: Release is marked as supporting Py3.8, but in practice it requires 3.9". We would need to require later versions of python to fix it. --------- Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Abby Harrison <[email protected]> Co-authored-by: Abby Harrison <[email protected]> |
||
|
|
2e84b30e21 |
.Net: Change public APIs to accept ILoggerFactory (#2472)
### Motivation and Context Following best practices for libraries outlined at https://learn.microsoft.com/en-us/dotnet/core/extensions/logging-library-authors, SK should generally be taking an ILoggerFactory rather than an ILogger. This allows individual components to each get a logger with its own category applied. ### 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: Shawn Callegari <[email protected]> Co-authored-by: Lee Miller <[email protected]> |
||
|
|
f868158442 | Update label-title-prefix.yml | ||
|
|
781b75dbca |
.Net: docs(dotnet): supply maxTokens to avoid response truncation (#2249)
### Motivation and Context 1. Why is this change required? When working through the examples in the dotnet/README.md file, I noticed that [OpenAI sets the max_tokens to 16](https://platform.openai.com/docs/api-reference/completions/create), which is far too low for these examples and led to truncated output and failing prompt chaining examples. 3. What problem does it solve? This makes the README.md examples work again. 5. What scenario does it contribute to? Onboarding/experimentation. 8. If it fixes an open issue, please link to the issue here. - [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: Shawn Callegari <[email protected]> |
||
|
|
c44b3176f2 |
.Net: Bump Microsoft.VisualStudio.Threading.Analyzers from 17.6.40 to 17.7.30 in /samples/dotnet (#2455)
Bumps [Microsoft.VisualStudio.Threading.Analyzers](https://github.com/microsoft/vs-threading) from 17.6.40 to 17.7.30. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/microsoft/vs-threading/commits">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> Co-authored-by: Teresa Hoang <[email protected]> Co-authored-by: Shawn Callegari <[email protected]> |
||
|
|
d0760871d7 |
.Net: Bump Microsoft.Azure.Functions.Worker.Extensions.Http from 3.0.13 to 3.1.0 in /dotnet (#2446)
Bumps [Microsoft.Azure.Functions.Worker.Extensions.Http](https://github.com/Azure/azure-functions-dotnet-worker) from 3.0.13 to 3.1.0. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/Azure/azure-functions-dotnet-worker/commits">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> Co-authored-by: Chris <[email protected]> |
||
|
|
930f248269 |
.Net: Bump Microsoft.Azure.Functions.Worker from 1.18.0 to 1.19.0 in /dotnet (#2449)
Bumps [Microsoft.Azure.Functions.Worker](https://github.com/Azure/azure-functions-dotnet-worker) from 1.18.0 to 1.19.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Azure/azure-functions-dotnet-worker/releases">Microsoft.Azure.Functions.Worker's releases</a>.</em></p> <blockquote> <h2>Microsoft.Azure.Functions.Worker 1.19.0</h2> <h2>What's Changed</h2> <h3>Microsoft.Azure.Functions.Worker (metapackage) 1.19.0</h3> <ul> <li>Update Microsoft.Azure.Functions.Worker.Core dependency to 1.15.0</li> <li>Update Microsoft.Azure.Functions.Worker.Grpc dependency to 1.14.0</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Core 1.15.0</h3> <ul> <li>Auto register auto generated IHostBuilder extension methods. (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1794">#1794</a>)</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Grpc 1.14.0</h3> <ul> <li>Updated protobuf file to v1.10.0-protofile (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1774">#1774</a>)</li> <li>Add placeholder support for linux platform. (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1704">#1704</a>)</li> <li>Remove incorrect failure log during successful cancellation flow (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1797">#1797</a>)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/Azure/azure-functions-dotnet-worker/compare/1.18.0...1.19.0">https://github.com/Azure/azure-functions-dotnet-worker/compare/1.18.0...1.19.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Azure/azure-functions-dotnet-worker/blob/1.19.0/release_notes.md">Microsoft.Azure.Functions.Worker's changelog</a>.</em></p> <blockquote> <h3>Microsoft.Azure.Functions.Worker (metapackage) 1.19.0</h3> <ul> <li>Update Microsoft.Azure.Functions.Worker.Core dependency to 1.15.0</li> <li>Update Microsoft.Azure.Functions.Worker.Grpc dependency to 1.14.0</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Core 1.15.0</h3> <ul> <li>Auto register auto generated IHostBuilder extension methods. (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1794">#1794</a>)</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Grpc 1.14.0</h3> <ul> <li>Updated protobuf file to v1.10.0-protofile (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1774">#1774</a>)</li> <li>Add placeholder support for linux platform. (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1704">#1704</a>)</li> <li>Remove incorrect failure log during successful cancellation flow (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1797">#1797</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/e358ca5b804dc282e1c98b48ab6097caca0fc0fb"><code>e358ca5</code></a> Bumping up package versions for release (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1812">#1812</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/3829bbd22d3252306a9c2b9a6cd181e642af6142"><code>3829bbd</code></a> Implementation of the FromBody binding converter for the ASP.NET Core Integra...</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/11e96ab0b67a8c9f285ad13016da35b4a9042732"><code>11e96ab</code></a> Auto register auto generated IHostBuilder extension methods (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1794">#1794</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/d9909581d2402ba3f4781552873d562525fd78a1"><code>d990958</code></a> Introducing LagThreshold as a Kafka Trigger Attribute for scaling purposes. (...</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/b060c1dba4110345cf356436acb330c322189181"><code>b060c1d</code></a> Disable blob container path analyzer when an expression is used for the blob ...</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/b862aae4299b6d14a1941ec23c5a95151d9d4d64"><code>b862aae</code></a> Update blob and cosmos to use IOptionsMonitor (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1809">#1809</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/887f5a9a62e2255462c968412c2a9d84da03b448"><code>887f5a9</code></a> Update typo in README.md (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1793">#1793</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/5ed3480045bb652a9c2d76cabdc145de19f441b2"><code>5ed3480</code></a> Update release notes (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1800">#1800</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/effc01e2063d032b7a77d1e96afdc3e5dde0cc4c"><code>effc01e</code></a> Prepare ServiceBus extension for release (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1789">#1789</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/f89ff7d317ead994171a4799ba0b23ddeab93c62"><code>f89ff7d</code></a> Refactor ServiceBus converter & tests (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1716">#1716</a>, <a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1723">#1723</a>, <a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1727">#1727</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Azure/azure-functions-dotnet-worker/compare/1.18.0...1.19.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> Co-authored-by: Chris <[email protected]> |
||
|
|
3b4c2df4be |
.Net: Bump Azure.Identity from 1.9.0 to 1.10.0 in /dotnet (#2523)
Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.9.0 to 1.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Azure/azure-sdk-for-net/releases">Azure.Identity's releases</a>.</em></p> <blockquote> <h2>Azure.Identity_1.10.0</h2> <h2>1.10.0 (2023-08-14)</h2> <h3>Features Added</h3> <ul> <li>Added <code>BrowserCustomization</code> property to <code>InteractiveBrowserCredential</code> to enable web view customization for interactive authentication.</li> </ul> <h3>Bugs Fixed</h3> <ul> <li>ManagedIdentityCredential will no longer attempt to parse invalid json payloads on responses from the managed identity endpoint.</li> <li>Fixed an issue where AzurePowerShellCredential fails to parse the token response from Azure PowerShell. <a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/22638">#22638</a></li> </ul> <h2>Azure.Identity_1.10.0-beta.1</h2> <h2>1.10.0-beta.1 (2023-07-17)</h2> <h3>Features Added</h3> <ul> <li>Continuous Access Evaluation (CAE) is now configurable per-request by setting the <code>IsCaeEnabled</code> property of <code>TokenRequestContext</code> via its constructor.</li> <li>Added <code>IsSupportLoggingEnabled</code> property to <code>TokenCredentialOptions</code> which equates to passing 'true' for the <code>enablePiiLogging</code> parameter to the 'WithLogging' method on the MSAL client builder.</li> </ul> <h3>Bugs Fixed</h3> <ul> <li>Fixed an issue with <code>TokenCachePersistenceOptions</code> where credentials in the same process would share the same cache, even if they had different configured names.</li> <li>ManagedIdentityCredential now ignores empty ClientId values. <a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/37100">#37100</a></li> <li>ManagedIdentityCredential will no longer attempt to parse invalid json payloads on responses from the managed identity endpoint.</li> <li>When utilizing <code>EnvironmentCredential</code> from <code>DefaultAzureCredential</code> the credential will now override the <code>TENANT_ID</code> environment value if the TenantId value is set in <code>DefaultAzureCredentialOptions</code>.</li> </ul> <h3>Other Changes</h3> <ul> <li>All developer credentials in the <code>DefaultAzureCredential</code> credential chain will fall through to the next credential in the chain on any failure. Previously, some exceptions would throw <code>AuthenticationFailedException</code>, which stops further progress in the chain.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/884386fd5a27a10baf93fc1b42baaa85034995b7"><code>884386f</code></a> Add Parse for MutableJsonDocument from Utf8JsonReader (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/38188">#38188</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/c77f07057f61688aa7288a1e5d7249a32cf728e7"><code>c77f070</code></a> Revert "Make scale trigger APIs internal (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/38167">#38167</a>)" (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/38192">#38192</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/21c6d8cfd1d240d3404ee3efda2d51f00cd41a5b"><code>21c6d8c</code></a> Azure.Identity Prepare release (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/38195">#38195</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/b81b2676ff17622a6cf829e11c579301c01d70f3"><code>b81b267</code></a> Make PowershellCredential token parsing locale agnostic (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/38191">#38191</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/0ebfd44ab6fd9204f635a182cd425d1993935847"><code>0ebfd44</code></a> Storage csproj cleanup (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/38190">#38190</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/5c697b1a7e37409019d9867526e7e2eda1c3fafb"><code>5c697b1</code></a> Make scale trigger APIs internal (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/38167">#38167</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/4fc53c8c8cd747719fc2066ee252e64ea8136e44"><code>4fc53c8</code></a> Identity release archboard feedback (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/38166">#38166</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/94de10c1905954ae55b1a182ce14daa4495dbff5"><code>94de10c</code></a> Fix typo in key nameused in Extensions CHANGELOG (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/38187">#38187</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/ea7dc0d229a404ba85285ec63fe533a94650f051"><code>ea7dc0d</code></a> [NetAppFiles]Update to 2022-11-01 (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/37433">#37433</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/7afdcb19b264a9f83ac23eb3e6f4cd8c19d153c5"><code>7afdcb1</code></a> Increment package version after release of Microsoft.Azure.WebJobs.Extensions...</li> <li>Additional commits viewable in <a href="https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.9.0...Azure.Identity_1.10.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> |
||
|
|
6276d34fa8 |
.Net: Bump NRedisStack from 0.8.0 to 0.8.1 in /dotnet (#2522)
Bumps NRedisStack from 0.8.0 to 0.8.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> |
||
|
|
81f86da1d5 |
Python: Bump pymilvus from 2.2.14 to 2.2.15 in /python (#2452)
Bumps [pymilvus](https://github.com/milvus-io/pymilvus) from 2.2.14 to 2.2.15. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/milvus-io/pymilvus/releases">pymilvus's releases</a>.</em></p> <blockquote> <h2>PyMilvus 2.2.15 Release Notes</h2> <ol> <li>Fixed some bugs.</li> <li>Enable to set offet&limit in search params.</li> </ol> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/milvus-io/pymilvus/commit/6e21893797c96b4818572cd81e26363972a59e63"><code>6e21893</code></a> Remove unused index and metric_type check (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1637">#1637</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/be4b80d8dd8efa9e04a51718229ff5f3753dfb04"><code>be4b80d</code></a> Fixbug: should fill empty dict when using dynamic field (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1642">#1642</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/5870e5ef548dc462d626ca15a0a4aaae3a3b6ca7"><code>5870e5e</code></a> Fix exception message (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1632">#1632</a>) (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1633">#1633</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/45500d6fb84b29ad18cf7554ac7d3a0baba69ba9"><code>45500d6</code></a> Fix no timeout for wait for flushed (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1628">#1628</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/4b35c8200c3d9f44d62f0ff28bbd567d4d8b4856"><code>4b35c82</code></a> AlterCollection use KeyValuePair. (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1618">#1618</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/a834307daa339488e990940dd03b902ecb253294"><code>a834307</code></a> Fix a bug of bulkinsert (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1620">#1620</a>)</li> <li><a href="https://github.com/milvus-io/pymilvus/commit/18a4a6604dd81ef2269c8c477ad2c7c74ad5b720"><code>18a4a66</code></a> Support offset in search param (<a href="https://redirect.github.com/milvus-io/pymilvus/issues/1614">#1614</a>)</li> <li>See full diff in <a href="https://github.com/milvus-io/pymilvus/compare/v2.2.14...v2.2.15">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> |
||
|
|
b24045e324 |
Python: Bump ruff from 0.0.283 to 0.0.285 in /python (#2521)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.283 to 0.0.285. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.0.285</h2> <h2>What's Changed</h2> <h3>New rules</h3> <ul> <li>[<code>flake8-pytest-style</code>] Implement <code>pytest-unittest-raises-assertion</code> (<code>PT027</code>) by <a href="https://github.com/harupy"><code>@harupy</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6554">astral-sh/ruff#6554</a></li> <li>[<code>flake8-pytest-style</code>] Implement <code>pytest-duplicate-parametrize-test-cases</code> (<code>PT014</code>) by <a href="https://github.com/harupy"><code>@harupy</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6598">astral-sh/ruff#6598</a></li> <li>[<code>flake8-tidy-imports</code>] Implement <code>banned-module-level-imports</code> (<code>TID253</code>) by <a href="https://github.com/durumu"><code>@durumu</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6378">astral-sh/ruff#6378</a></li> <li>[<code>pylint</code>] Implement <code>bad-dunder-name</code> (<code>W3201</code>) (in the Ruff nursery) by <a href="https://github.com/LaBatata101"><code>@LaBatata101</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6486">astral-sh/ruff#6486</a></li> <li>[<code>pylint</code>] Implement <code>subprocess-run-check</code> (<code>W1510</code>) by <a href="https://github.com/tjkuson"><code>@tjkuson</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6487">astral-sh/ruff#6487</a></li> <li>[<code>ruff</code>] Implement <code>quadratic-list-summation</code> (<code>RUF017</code>) by <a href="https://github.com/evanrittenhouse"><code>@evanrittenhouse</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6489">astral-sh/ruff#6489</a></li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Add autofix for <code>B006</code> by <a href="https://github.com/qdegraaf"><code>@qdegraaf</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6131">astral-sh/ruff#6131</a></li> <li>[<code>flake8-pyi</code>] Avoid applying <code>PYI055</code> to runtime-evaluated annotations by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6457">astral-sh/ruff#6457</a></li> <li>[<code>flake8-self</code>] Allow <code>os._exit</code> accesses in <code>SLF001</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6490">astral-sh/ruff#6490</a></li> <li>[<code>perflint</code>] Ignore <code>PERF203</code> if <code>try</code> contains loop control flow statements by <a href="https://github.com/evanrittenhouse"><code>@evanrittenhouse</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6536">astral-sh/ruff#6536</a></li> <li>[<code>pylint</code>] Check for invalid format type specifiers in nested replacements for <code>PLE1300</code> by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6616">astral-sh/ruff#6616</a></li> <li>[<code>tryceratops</code>] Omit <code>NotImplementedError</code> from <code>TRY003</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6568">astral-sh/ruff#6568</a></li> </ul> <h3>Settings</h3> <ul> <li>Respect <code>.ipynb</code> and <code>.pyi</code> sources when linting from stdin by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6628">astral-sh/ruff#6628</a></li> <li>Support glob patterns for <code>raises_require_match_for</code> and <code>raises_require_match_for</code> by <a href="https://github.com/harupy"><code>@harupy</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6635">astral-sh/ruff#6635</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Make <code>lambda-assignment</code> fix always-manual in class bodies by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6626">astral-sh/ruff#6626</a></li> <li>Fix counting of message arguments when msg is provided as a keyword by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6456">astral-sh/ruff#6456</a></li> <li>Add container types to <code>E721</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6469">astral-sh/ruff#6469</a></li> <li>Respect scoping rules when identifying builtins by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6468">astral-sh/ruff#6468</a></li> <li>Respect tab width in line-length heuristic by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6491">astral-sh/ruff#6491</a></li> <li>Respect dummy-variable-rgx for unused bound exceptions by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6492">astral-sh/ruff#6492</a></li> <li>Fix detection of top-level imports with newlines in <code>E402</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6526">astral-sh/ruff#6526</a></li> <li>Allow if-expression with dual string arms in <code>invalid-envvar-value</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6538">astral-sh/ruff#6538</a></li> <li>Add deprecated unittest assertions to PT009 by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6572">astral-sh/ruff#6572</a></li> <li>Avoid unused argument rules when functions call <code>locals()</code> by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6578">astral-sh/ruff#6578</a></li> <li>Allow top-level <code>await</code> in Jupyter notebooks by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6607">astral-sh/ruff#6607</a></li> <li>Don't detect <code>pandas#values</code> for stores, deletes, or class accesses by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6631">astral-sh/ruff#6631</a></li> <li>Avoid removing parentheses in <code>E712</code> fix by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6575">astral-sh/ruff#6575</a></li> <li>Skip whitespace between comments at start of file e.g. for <code>I002</code> by <a href="https://github.com/durumu"><code>@durumu</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6523">astral-sh/ruff#6523</a></li> <li>Add support for nested replacements inside format specifications e.g. for <code>PLE1300</code> by <a href="https://github.com/zanieb"><code>@zanieb</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6616">astral-sh/ruff#6616</a></li> </ul> <h3>Playground</h3> <ul> <li>Shared playground links now use short URLs by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6383">astral-sh/ruff#6383</a></li> <li>Fix possible JSON parse error on playground load by <a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6519">astral-sh/ruff#6519</a></li> <li>Fix unreachable panic in playground by <a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6623">astral-sh/ruff#6623</a></li> </ul> <h3>Performance</h3> <ul> <li>Improve tokenizer performance for ASCII only identifiers by <a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a> in <a href="https://redirect.github.com/astral-sh/ruff/pull/6609">astral-sh/ruff#6609</a></li> </ul> <h2>New Contributors</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md">ruff's changelog</a>.</em></p> <blockquote> <h1>Breaking Changes</h1> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/5892c691ea6389dcf53b2212bae7a3acd61ca15f"><code>5892c69</code></a> Bump version to 0.0.285 (<a href="https://redirect.github.com/astral-sh/ruff/issues/6660">#6660</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/82e0a97b34ad506d3762b531cded138b4119cbc5"><code>82e0a97</code></a> Clarify behavior of <code>PLW3201</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/6657">#6657</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a8d7bbae6f8a1e6d425179895528a7e2127ab092"><code>a8d7bba</code></a> Remove experimental label from Jupyter docs (<a href="https://redirect.github.com/astral-sh/ruff/issues/6655">#6655</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1050142a5822db09888042da641c5b2fe6ab3aae"><code>1050142</code></a> Expand expressions to include parentheses in E712 (<a href="https://redirect.github.com/astral-sh/ruff/issues/6575">#6575</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/db1c5565083fe16b3e2c8892a39412e464b320a1"><code>db1c556</code></a> Implement <code>Ranged</code> on more structs (<a href="https://redirect.github.com/astral-sh/ruff/issues/6639">#6639</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a70807e1e12e6ebac461d54e25247df81655a4e1"><code>a70807e</code></a> Expand <code>NamedExpr</code> range to include full range of parenthesized value (<a href="https://redirect.github.com/astral-sh/ruff/issues/6632">#6632</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d9bb51dee4d455bbc18c1ebe6e8c2913790e5b0e"><code>d9bb51d</code></a> ci(deps): bump cloudflare/wrangler-action from 3.0.0 to 3.0.2 (<a href="https://redirect.github.com/astral-sh/ruff/issues/6565">#6565</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d0f2a8e424a7914357d892b3d2ec327735d309d5"><code>d0f2a8e</code></a> Add support for nested replacements inside format specifications (<a href="https://redirect.github.com/astral-sh/ruff/issues/6616">#6616</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1334232168972f340e515463afe57ec9867eb678"><code>1334232</code></a> Introduce <code>ExpressionRef</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/6637">#6637</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/fa7442da2f2d43b65107e41994bbce7ac624faee"><code>fa7442d</code></a> Support <code>fmt: skip</code> on compound statements (<a href="https://redirect.github.com/astral-sh/ruff/issues/6593">#6593</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.0.283...v0.0.285">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> |
||
|
|
e42f7fabe8 |
Python fix native function default parameter (#2474)
### 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. --> solve #2473 and add unit test to prevent this from happening again. ### 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: Abby Harrison <[email protected]> |
||
|
|
2cf2fbf2c7 |
.Net: Bump Microsoft.Azure.Kusto.Data from 11.3.2 to 11.3.3 in /dotnet (#2448)
Bumps Microsoft.Azure.Kusto.Data from 11.3.2 to 11.3.3. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
28eb59af36 |
.Net: Bump Microsoft.Azure.Functions.Worker.Sdk from 1.13.0 to 1.14.0 in /dotnet (#2447)
Bumps [Microsoft.Azure.Functions.Worker.Sdk](https://github.com/Azure/azure-functions-dotnet-worker) from 1.13.0 to 1.14.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Azure/azure-functions-dotnet-worker/releases">Microsoft.Azure.Functions.Worker.Sdk's releases</a>.</em></p> <blockquote> <h2>Microsoft.Azure.Functions.Worker 1.14.0</h2> <h2>What's Changed</h2> <!-- raw HTML omitted --> <h3>Microsoft.Azure.Functions.Worker 1.14.0 (meta package)</h3> <ul> <li>Update Microsoft.Azure.Functions.Worker.Core dependency to 1.12.0</li> <li>Update Microsoft.Azure.Functions.Worker.Grpc dependency to 1.10.0</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Core 1.12.0</h3> <ul> <li>Fix <code>ArgumentOutOfRangeException</code> when using <code>HttpDataRequestDataExtensions.ReadAsStringAsync</code> in .NET Framework (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1466">#1466</a>)</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Grpc 1.10.0</h3> <ul> <li>Including worker metadata & capabilities in env reload response (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1425">#1425</a>)</li> <li>Fix race condition causing GrpcWorker initialization failure (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1508">#1508</a>)</li> <li>Fix <code>null</code> reference exception when retry context is not set (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1476">#1476</a>)</li> </ul> <h2>Microsoft.Azure.Functions.Worker.Sdk 1.14.0</h2> <h2>What's Changed</h2> <!-- raw HTML omitted --> <h3>Microsoft.Azure.Functions.Worker.Sdk 1.14.0</h3> <ul> <li>Updated Microsoft.Azure.Functions.Worker.Sdk.Generators dependency to 1.1.0</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Sdk.Analyzers <!-- raw HTML omitted --></h3> <ul> <li>No change</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Sdk.Generators 1.1.0</h3> <ul> <li>Updated source generated versions of FunctionMetadataProvider and FunctionExecutor to emit auto registration information.(<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1794">#1794</a>)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/Azure/azure-functions-dotnet-worker/compare/sdk-1.13.1...sdk-1.14.0">https://github.com/Azure/azure-functions-dotnet-worker/compare/sdk-1.13.1...sdk-1.14.0</a></p> <h2>Microsoft.Azure.Functions.Worker.Sdk 1.13.1</h2> <h2>What's Changed</h2> <h3>Microsoft.Azure.Functions.Worker.Sdk 1.13.1</h3> <ul> <li>Update Microsoft.Azure.Functions.Worker.Sdk.Analyzers dependency to 1.2.1</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Sdk.Analyzers 1.2.1</h3> <ul> <li>[Bug-Fix] Disable blob container path analyzer when an expression is used for the blob path</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Sdk.Generators</h3> <ul> <li>No change</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Azure/azure-functions-dotnet-worker/blob/1.14.0/release_notes.md">Microsoft.Azure.Functions.Worker.Sdk's changelog</a>.</em></p> <blockquote> <h3>Microsoft.Azure.Functions.Worker 1.14.0 (meta package)</h3> <ul> <li>Update Microsoft.Azure.Functions.Worker.Core dependency to 1.12.0</li> <li>Update Microsoft.Azure.Functions.Worker.Grpc dependency to 1.10.0</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Core 1.12.0</h3> <ul> <li>Fix <code>ArgumentOutOfRangeException</code> when using <code>HttpDataRequestDataExtensions.ReadAsStringAsync</code> in .NET Framework (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1466">#1466</a>)</li> </ul> <h3>Microsoft.Azure.Functions.Worker.Grpc 1.10.0</h3> <ul> <li>Including worker metadata & capabilities in env reload response (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1425">#1425</a>)</li> <li>Fix race condition causing GrpcWorker initialization failure (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1508">#1508</a>)</li> <li>Fix <code>null</code> reference exception when retry context is not set (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1476">#1476</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/de3e2a07473061dbac99f75a95dd19bbc52bc26f"><code>de3e2a0</code></a> Updating release notes</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/bead2455b976864b003b4729ac6906175231707b"><code>bead245</code></a> Updating Worker package versions</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/676d59ce6cb40458bae2be214bf528a7037c76dd"><code>676d59c</code></a> fixing race on grpc client start (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1508">#1508</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/f38f70ea6f425f8d8b357a42692029abb8a95421"><code>f38f70e</code></a> Function-level retry docsnippets (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1503">#1503</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/da59203a4c49776e94c5fa9ec0dd32d70f11024a"><code>da59203</code></a> Bumping SDK minor version to 10 (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1494">#1494</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/4c2b2daaa0e30fb8e9a542e846691d644bdce533"><code>4c2b2da</code></a> Add support for Azure AD auth (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1486">#1486</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/587714ed9717860e80a3e8b6a345f99cf4c00475"><code>587714e</code></a> Fix null reference error if there's no built in retry support (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1476">#1476</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/ffc79146b63bdf3d8544c9d7cb6db46b50508183"><code>ffc7914</code></a> Fix signing steps order (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1485">#1485</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/f031060dda260cc97d93029cfb41c0627f274ed7"><code>f031060</code></a> Update FunctionMetadataGeneratorTests.cs (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1483">#1483</a>)</li> <li><a href="https://github.com/Azure/azure-functions-dotnet-worker/commit/5dbbffd8d4f6cab1e5006622e62b7f68e4e30bf4"><code>5dbbffd</code></a> Reset EventHubs release_notes.md (<a href="https://redirect.github.com/Azure/azure-functions-dotnet-worker/issues/1481">#1481</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Azure/azure-functions-dotnet-worker/compare/1.13.0...1.14.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> |
||
|
|
4b47a783be |
Python: Update 03-semantic-function-inline.ipynb (#2425)
### Motivation and Context Example notebook has some params error when I learn from it, so I fix this simple params error. ### Description Fix AzureChatCompletion params error, Azure OpenAI Service should pass DEPLOY_NAME, but not MODEL_NAME ### 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: Shawn Callegari <[email protected]> Co-authored-by: Abby Harrison <[email protected]> |
||
|
|
b4c18f328f |
.Net: Update nuget version to 0.20 (#2515)
### Motivation and Context Updated SK version in NuGet to 0.20 as new breaking changes were introduced. <!-- 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: --> - [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-0.20.230821.4-preview |