mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
### Motivation and Context Consolidates the currently open Dependabot updates into one reviewable dependency PR while preserving each source update's intent across GitHub Actions, .NET, Python, and JavaScript sample dependencies. ### Description Updates pinned GitHub Actions, central NuGet package versions, Python dependency constraints and uv lockfiles, and npm/Yarn lockfiles for the affected samples. Overlapping lockfile updates were regenerated or reconciled so that all compatible requested versions are retained together on the latest `main`. The incompatible MCP 2.x and Python 3.10 `onnxruntime-genai` updates are excluded, the private-feed-only `@humanfs/node` update is omitted, and the logging abstractions floor is aligned with the updated Azure AI Projects dependency. ### Related Issue Supersedes: - https://github.com/microsoft/semantic-kernel/pull/14177 - https://github.com/microsoft/semantic-kernel/pull/14179 - https://github.com/microsoft/semantic-kernel/pull/14180 - https://github.com/microsoft/semantic-kernel/pull/14190 - https://github.com/microsoft/semantic-kernel/pull/14209 - https://github.com/microsoft/semantic-kernel/pull/14230 - https://github.com/microsoft/semantic-kernel/pull/14233 - https://github.com/microsoft/semantic-kernel/pull/14254 - https://github.com/microsoft/semantic-kernel/pull/14257 - https://github.com/microsoft/semantic-kernel/pull/14259 - https://github.com/microsoft/semantic-kernel/pull/14260 - https://github.com/microsoft/semantic-kernel/pull/14261 - https://github.com/microsoft/semantic-kernel/pull/14271 - https://github.com/microsoft/semantic-kernel/pull/14272 - https://github.com/microsoft/semantic-kernel/pull/14273 - https://github.com/microsoft/semantic-kernel/pull/14274 - https://github.com/microsoft/semantic-kernel/pull/14276 - https://github.com/microsoft/semantic-kernel/pull/14280 - https://github.com/microsoft/semantic-kernel/pull/14282 - https://github.com/microsoft/semantic-kernel/pull/14299 - https://github.com/microsoft/semantic-kernel/pull/14300 - https://github.com/microsoft/semantic-kernel/pull/14335 - https://github.com/microsoft/semantic-kernel/pull/14337 - https://github.com/microsoft/semantic-kernel/pull/14338 - https://github.com/microsoft/semantic-kernel/pull/14339 - https://github.com/microsoft/semantic-kernel/pull/14357 - https://github.com/microsoft/semantic-kernel/pull/14358 - https://github.com/microsoft/semantic-kernel/pull/14361 - https://github.com/microsoft/semantic-kernel/pull/14365 - https://github.com/microsoft/semantic-kernel/pull/14366 - https://github.com/microsoft/semantic-kernel/pull/14367 - https://github.com/microsoft/semantic-kernel/pull/14368 - https://github.com/microsoft/semantic-kernel/pull/14369 ### Contribution Checklist - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: rogerbarreto <[email protected]> Co-authored-by: Copilot <[email protected]> Copilot-Session: d3c2550f-f129-4660-9461-af1288241064
Process With Cloud Events
The following demos describe how to use the SK Process Framework to emit and receive cloud events.
| Project | Description |
|---|---|
| ProcessWithCloudEvents.Processes | Project that contains Process Builders definitions, related steps, models and structures independent of runtime |
| ProcessWithCloudEvents.Grpc | Project that contains a gRPC server using DAPR, that interacts with processes defined in the Processes project using gRPC |
| ProcessWithCloudEvents.Client | Project that contains a ReactJS App to showcase sending and receiving cloud events to and from a running SK Process in a server |
Processes
Document Generation Process
This SK process emulates the interaction of a user requesting for some document generation for a specific product. This includes:
- Gather Product Info Step: Product Information Fetching
- Generate Documentation Step -
GenerateDocs: Document Generation - Proof Read Documentation Step: Document Proof Reading to validate the generate document
- Proxy Step: Request for user approval of the generated document
- Publish Documentation Step: Publish the generated document once the user approves it
- Generate Documentation Step -
ApplySuggestions: Document suggestions addition if the user rejects the generated document - Proxy Step: Publish generated document externally
graph LR
StartDocumentGeneration([StartDocumentGeneration<br/>Event])
UserRejectedDocument([UserRejectedDocument<br/>Event])
UserApprovedDocument([UserApprovedDocument<br/>Event])
GatherProductInfo["Gather Product Info <br/> Step"]
GenerateDocs["Generate Documentation <br/> Step"]
ProofReadDocs["Proof Read Documentation <br/> Step"]
Proxy["Proxy <br/> Step"]
PublishDocs["Publish Documentation <br/> Step"]
GatherProductInfo --> GenerateDocs --> |DocumentGenerated| ProofReadDocs --> PublishDocs
ProofReadDocs --> |DocumentApproved| Proxy
ProofReadDocs -->|DocumentRejected| GenerateDocs
PublishDocs --> Proxy
StartDocumentGeneration --> GatherProductInfo
UserRejectedDocument --> GenerateDocs
UserApprovedDocument --> PublishDocs
- To emit events from the SK Process externally, SK events are sent to the Proxy Step.
- To receive external events and send them to the SK Process, SK Input Events are linked externally and sent to the process.
Setup
- A custom server is created that launches the creation of a SK Process with a specific process id and a specific input event.
- A custom implementation of the
IExternalKernelProcessMessageChannelis injected containing the custom implementation of the Cloud Event channel to be used. The custom implementation must include:Initialize: Initial setup to start the connection with the server.Uninitialize: Logic needed to close the connection with the server.EmitExternalEventAsync: Logic to send an external event to the server. This may include internal mapping of SK topics to specific server exposed methods.
- Use of the
ProxyStepin theProcessBuilderto emit external events on specific SK Events.
Example:var proxyStep = processBuilder.AddProxyStep([DocGenerationTopics.RequestUserReview, DocGenerationTopics.PublishDocumentation]); ... docsPublishStep .OnFunctionResult() .EmitExternalEvent(proxyStep, DocGenerationTopics.PublishDocumentation);
Usage
- Run the server running the SK Process using a specific Cloud Event technology
- Launch the Client App to interact with the SK Process from a UI