Skip to content

Releases: microsoft/semantic-kernel

python-0.4.7.dev

26 Jan 18:22
5953beb
Compare
Choose a tag to compare

Notable Changes

  • In order to maintain consistency with the .Net SDK, we have eliminated the "SK" prefix from our class and file names. For example, "SKContext" has been renamed to "KernelContext," and "SKFunction" is now "KernelFunction."
  • To enhance the Pythonic nature of our SDK, we've decided to remove the _async suffix from methods that lack a synchronous counterpart. This change aligns better with Python naming conventions and follows the naming practices seen in the Azure Python SDK.

What's Changed

Full Changelog: python-0.4.6.dev...python-0.4.7.dev

dotnet-1.2.0

24 Jan 17:23
84e1a77
Compare
Choose a tag to compare

Changes:

  • 84e1a77 .Net: Upgraded package version to 1.2.0 (#4723)
  • afa187d .Net: Update FlowOrchestrator to use yaml plugins and reliability improvement (#4665)
  • 80f598c .Net: Marked Kernel events as deprecated in favor of filters (#4714)
  • 79119f1 .Net: Implementation of FunctionResultExtended with kernel example (#3380)
  • de9b8d8 .Net: OpenApi operation name sanitization (#4708)
  • 6a6e170 .Net: Bump DocumentFormat.OpenXml from 3.0.0 to 3.0.1 in /dotnet (#4700)
  • 3537ff4 .Net: Bump Microsoft.OpenApi from 1.6.11 to 1.6.12 in /dotnet (#4699)
See More
  • 1fa3f53 .Net: Function and Prompt Filters (#4437)
  • e4874bb .Net: Extend chat message parsing and add relevant unit tests (#4602) [ #4536 ]
  • 3fadf9a .Net: Add an example showing how to use the OpenAI response format property (#4678)
  • 59b384f .Net: Add planner integration test configuration to README (#4512)
  • f2fb71d .Net: Converted examples 52 and others to tests (#4649) [ #4526 ]
  • 7fb6af2 .Net: Remove use of the samples/skills folder (#4684)
  • a919536 .Net: CancelKernelEventArgs is marked with SKEXP0003 Experimental Attribute instead of SKEXP0004 (#4657) [ #4650 ]
  • a5bc63d .Net: DefaultValue for OpenAPI payload properties (#4612)
  • b2bbd41 .Net: Update PackageValidationBaselineVersion (#4663)
  • fe23d41 .Net: Fix issue #4608 (#4609)
  • 1c07c2f .Net: Remove the NCalc Plugin (#4625)
  • da51b70 .Net: Catch InvalidOperationException in RedirectOutput.Log (#4651)
  • 4205cd3 .Net: Increase code coverage and add threshold to build pipeline (#4610)
  • 4ec03be .Net: Remove Polly as a dependency (#4617)
  • 7d47e90 .Net: Simplify example 52 to showcase using a custom OpenAIClient in genera… (#4502) [ #3844 ]
  • b9c1adc .Net: Aligning the SK agent HTTP stack behavior with the SK one (#4569)
  • b99b780 .Net Kernel Examples as tests (#4526)

This list of changes was auto generated.

python-0.4.6.dev

23 Jan 16:41
ac7961c
Compare
Choose a tag to compare

Notable Changes

  • As we advance towards our objective of bringing SK Python to version 1.0, we are implementing several significant modifications. These updates are aimed at ensuring consistency with SK .NET and adhering to industry norms. In the current release, we have updated all occurrences of Skills to Plugins. This modification impacts class names, variable names, as well as filenames and directory names.
  • completion settings were updated to execution_settings. This change is related to the PromptTemplateConfig and AIRequestSettings and brings the Python code in better alignment with how it is done in .NET.

What's Changed

  • Python: Bump jinja2 from 3.1.2 to 3.1.3 in /python by @dependabot in #4583
  • Python: Fix OYD tool message parsing by @sarah-widder in #4599
  • Python: Fixes Plan using an empty function in describe and incorrectly setting context variables for next steps. by @juliomenendez in #4673
  • Python: Rename skills to plugins. Update prompt template config to use execution settings to align with dotnet. by @moonbox3 in #4595
  • Python: Bump pyproject version to 0.4.6. Bump notebook sk versions to 0.4.6. by @moonbox3 in #4712

Full Changelog: python-0.4.5.dev...python-0.4.6.dev

dotnet-1.1.0

16 Jan 12:49
f9bef63
Compare
Choose a tag to compare

Changes:

  • bd7c94c .Net: Add missing CancellationToken to InvokePromptAsync. (#4573) (#4584)
  • 38dc3cb FAQ explaining how to access nightly builds (#3061)
  • 93bdce8 .Net: [Fix] .Net: FunctionCallingStepwisePlannerTests.DoesNotThrowWhenPluginFunctionThrowsNonCriticalExceptionAsync is failing (#4542) [ #4534 ]
  • ee544f3 .Net: Allow Add{Azure}OpenAI methods to resolve OpenAIClient from DI (#4555)
See More

This list of changes was auto generated.

python-0.4.5.dev

11 Jan 18:59
63e140a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: python-0.4.4.dev...python-0.4.5.dev

python-0.4.4.dev

05 Jan 16:58
8618cd3
Compare
Choose a tag to compare

Notable Updates

AIRequestSettings

We're excited to introduce AIRequestSettings, a versatile and efficient way to configure request settings in our Semantic Kernel platform. This new feature offers three methods to cater to different use cases and preferences:

  • Base Class Method: Utilize the AIRequestSettings base class for a generic approach. This method is ideal for storing settings for various services within the same extension_data field. However, be aware that it dynamically creates a specific request setting class for each call, which might introduce overhead if using only a single service. Additionally, this approach lacks type checking, meaning errors may surface during the dynamic creation process.

  • Direct Service Method: Create request settings specifically tailored to the service you're using, like AzureOpenAIChatRequestSettings. This approach provides type checking and is recommended when working with a single service or multiple instances of a similar service (e.g., gpt-3.5-turbo and gpt-4 in OpenAI for chat).

  • Kernel-Based Method: Generate request settings via the kernel, based on the registered service class. This method is highly specific, returning a request settings class that's pre-configured for your service, including pre-filled fields such as service_id and ai_model_id.

Each method has been designed to streamline your interaction with our services, ensuring a more efficient and error-resistant setup. Choose the one that best suits your project's needs!

Visit the following kernel example to see the configuration in action.

What's Changed

Full Changelog: python-0.4.3.dev...python-0.4.4.dev

dotnet-1.0.1

18 Dec 22:10
e560c3c
Compare
Choose a tag to compare

Changes:

  • e560c3c .Net: Upgrade to v1.0.1 (#4311)
  • 95a621a .Net: BugFix Serializing and Deserializing ChatHistory with ToolCalling details Update OpenAI Connector to use FunctionToolCallsProperty and add ChatHistoryTests (#4358) [ #4336 ]
  • 48a6223 .Net: [Handlebars] Complex Type Support for OpenAPI plugins (#4343)
  • 783908e .Net: Decoupling form OpenApi (#4356)
  • af64b02 .Net: Removed Connectors.OpenAI dependency from PromptTemplates.Handlebars project (#4355)
  • d0bfeb2 .Net: Fixing issue that causes a stack overflow in handlebars planner. (#4344)
  • 06c6315 .Net: Fix a few issues found via compiler warnings (#4332)
  • 3bb9630 .Net: Small fixes for examples (#4354)
  • 3eaa507 .Net InputVariable.Default type is changed from string to object? (#4345)
  • 7bf8e8e .Net: Update to Azure.AI.OpenAI beta 12 (#4329) [ #4336 ]
See More
  • f5b3f50 .Net Packages Updates, Warning Fixes, Small improvements + Azure AI Search Update (to support latest GA package) (#4320)
  • ac55892 .Net: Clean up some prompt-related APIs (#4323)
  • 7ec9914 .Net: Propagate metadata to StreamingMethodContent (#4337)
  • 4c98238 .Net: Add OpenAI tools integration test for streaming / multiple function calls (#4330)
  • 11fdda4 .Net: Enable KernelFunctionFromMethod streaming passthrough (#4346)
  • ec4c739 .Net: Update memory connector READMEs (#4317)
  • 1596934 .Net: Log complex objects as Jsons (#4247)
  • 0ef7cf4 .Net Better repeatability for Agent KernelExample #72 (Example72_AgentCollaboration) (#4314)
  • 65e20a6 .Net: planner tests openai (#4318)
  • fb9a43e .Net: Polishing KernelSyntaxExample comments (#4285)
  • 70eddb5 .Net: Integration tests for OpenAI Tools (#4309)
  • b52c40d .Net: Add generic Prompt APIs Helpers (#4312) [ #4310 ]
  • 520b747 .Net: Assitant to agent (#4291)
  • 20b5b8a .Net: Public API improvements (#4306)
  • 08e2e03 .Net: Add CancellationToken parameters to to a few methods (#4298)
  • 51b6cee .Net: Add getting started sample showing how to observe the Kernel (#4305)
  • d07d099 .Net: Overhaul how JSON Schema is handled (#4256)
  • b619e84 .Net: Fix a bunch of function calling issues (#4258)
  • 1b5aaed .Net: Quick fix for Azure DallE2 + 3 (#3932)
  • f98a57c .Net Bugbash Fixes Issues 3788 + 3817 (#4288) [ #3788, #3817 ]
  • 762a2d0 .Net: Example 58 - remove chatModelId requirement (#4287) [ #4277 ]
  • f7239b2 .Net: Small fixes and improvements (#4284)
  • 4dbf241 .Net: Some random minor cleanup (#4161)
  • 563e180 .Net: Update notebooks to use RC4 (#4274)
  • db251dd .Net: Add getting started showing how to use hooks for responsible AI (#4273)
  • 73a3323 .Net: Function calling stepwise planner integration tests in pipeline (#4219) [ #4249 ]
  • 1226b62 .Net: Minor Documentation Corrections in MathPlugin: (#3657)
  • b6f1938 .Net: Update the sample to also demonstrate loading yaml resources (#4270)
  • 2584d42 .Net: OrderedAIServiceSelector logic should change as specified in issue 4234 (#4265) [ #4234 ]
  • 2321dd5 .Net: Use IReadOnlyDictionary for metadata dictionaries (#4260)
  • f356cd8 .Net: Web search examples fixed to pass query argument instead of input. (#4254)
  • d3773b2 .Net: Fix unit test failing due to time zone expectations (#4255)
  • 8f9eaeb .Net: OpenApi functionality cleanup (#4225)

This list of changes was auto generated.

python-0.4.3.dev

15 Dec 23:40
65e20a6
Compare
Choose a tag to compare

What's Changed

  • Python: Add missing parenthesis in markdown in 03-semantic-function-inline notebook by @moonbox3 in #4229
  • Python: Resolve hanging issue in Jupyter notebooks when re-running async functions by @moonbox3 in #4237
  • Python: pysdk issue 3897 - update notebooks by @rewrlution in #4177
  • Python: Bump python package for a release. Update notebook package refs to 0.4.3. by @moonbox3 in #4316

New Contributors

Full Changelog: python-0.4.2.dev...python-0.4.3.dev

dotnet-1.0.0-rc4

13 Dec 20:36
29f72ac
Compare
Choose a tag to compare
dotnet-1.0.0-rc4 Pre-release
Pre-release

Changes:

See More
  • 3a86d7c .Net: Service ID in execution_settings should be promoted as the key of the list/dictionary (#4211) [ #3981 ]
  • 6ad5d26 .Net: [OpenApi][DataTypeSupport][Part3] support for string and non-string Types (#4192)
  • c675a6d .Net: Samples Descriptions, Pragmas and Resharper Cleanup (#4199)
  • 37bfcc8 .Net: Add missing logging to InvokePrompt{Streaming}Async (#4221)
  • 4e8e356 .Net: Make it possible to get the execution settings for a prompt within an AI Selection Service (#4215) [ #4209 ]
  • 2648531 .Net: Update Milvus and MongoDB memory connectors (#4218)
  • 46f3dbc .Net: Handlebars Prompt Template Helpers (#4017) [ #3947 ]
  • 81be8a6 .Net: Revert ".Net: Add default JSON-serializable TypeConverter" (#4216) [ #4000 ]
  • 0541583 .Net - Update pgvector for Postgres memory connector (#4214)
  • 62b24c3 .Net: Blocks Namespace Flattening + Content -> Contents folder (#4195) [ #3151 ]
  • 461b466 .Net: Add default JSON-serializable TypeConverter (#4000)
  • 38ac687 .Net: Integration Tests for Function Calling Stepwise Planner (#4189)
  • 13a4b4e Change version of .Net in dev container to 8 so it can run Polyglot n… (#4201)
  • bb53827 .Net: Assistant chat enhancement (#4064)
  • ffea465 .Net: Update telemetry sample app (#4173)
  • 4487ca3 .Net: Add new getting started samples (#4191) [ #4019 ]
  • cb73546 .Net: Use named args for creating or adding AI services (#4175)
  • da2dfda .Net Removing special "input" argument (#4156) [ #3887 ]
  • 398c814 .Net: Fix PromptRendered event does not use changed RenderedPrompt (#4194) [ #4190 ]
  • 6915261 .Net: Redo OpenAI function calling to be tool calling (#4153)
  • 723b892 .Net: Add support for DI service arguments to KernelFunctionFromMethod (#4185)
  • e7ae13b .Net: Add OpenAIPromptExecutionSettings.Seed (#4162)
  • f51484e .Net: Fix InvokePromptAsync doesn't work for non-semantic-kernel templates (#4186) [ #4160 ]
  • 5bc5aac .Net: Add service suffix IEmbeddingGenerationService (#4176)
  • 2a86493 .Net: Mark Kernel Events Functionality as Experimental (#4188) [ #4035 ]
  • c5303d1 .Net: Naming and location updates for content models (#4163)
  • 8b6ec1d .Net: Bump Grpc.Net.Client from 2.58.0 to 2.59.0 in /dotnet (#4179) [ grpc/grpc-dotnet#2294, grpc/grpc-dotnet#2298, grpc/grpc-dotnet#2303, grpc/grpc-dotnet#2307, #2316, #2307, #2303, #2294 ]
  • a504e34 .Net: Bump SharpToken from 1.2.12 to 1.2.14 in /dotnet (#4180) [ #26, #25 ]
  • b985483 .Net: Bump JsonSchema.Net.Generation from 3.5.0 to 3.5.1 in /dotnet (#4181) [ #581 ]
  • b01dac6 .Net: Tweak a few collections on JSON-deserialized types (#4187)
  • 08013b9 .Net: Cleanup in Functions.OpenApi project (#4169)
  • 0cbac26 .Net: Function Calling Stepwise Planner - Bug Fixes (#4170)
  • c540920 .Net KernelExample57 - Update comments (#4172)
  • a5a4b7f .Net: Simplify and clarify example 16 (#4088)
  • 1f6018d .Net: Improve example 21 (#4150)
  • 4f1fa8a .Net: Simplify example 43 (#4151)
  • a29acc7 .Net: Make modelId optional for Azure AI services (#4159) [ #4083 ]
  • a9c958b .Net: Enhance Service Selector to use ExecutionSettings from Invoke Async Calls (#4141) [ #4127 ]
  • ae64b16 .Net: Trace log rendered prompts in KernelFunctionFromPrompt (#4107)
  • 3c5f748 .Net: Reworking with special input argument - Phase 1 (#4136) [ #3887, #4140 ]
  • 4bc5538 .Net: Updates for ChatMessageContent to support complex content model (#4113) [ #3768 ]
  • 2000338 .Net: Add Kernel.InvokeStreamingAsync overloads that take pluginName/functionName (#4155)
  • 48c7c8d .Net: Marshaling of function arguments (#4044)
  • 4b820dc .Net: Augment pipelining example with named outputs (#4154)
  • b55d433 .Net: Fix for #2432: Qdrant Vector Deletion (#3606)
  • 035e8d1 .Net: Bump Azure.Monitor.OpenTelemetry.Exporter from 1.0.0 to 1.1.0 in /dotnet (#3944) [ #40371, #40368, #40346, #40350, #40365, #40008, #40357 ]
  • f17dadf .Net: Bump Microsoft.VisualStudio.Threading.Analyzers from 17.7.30 to 17.8.14 in /dotnet (#3942)
  • 09c5652 .Net: Bump xunit.runner.visualstudio from 2.5.3 to 2.5.4 in /dotnet (#3939)
  • d4be97a .Net: Bump protobuf-net from 3.2.26 to 3.2.30 in /dotnet (#3945) [ net/protobuf-net#1040, net/protobuf-net#1100, #1100, #977, #1040, #1083 ]
  • 378b06d .Net: Bump Azure.Identity from 1.10.3 to 1.10.4 in /dotnet (#3946) [ #39956, #39952, #39943, #39951, #39911, #39948, #39949, #39950, #39940 ]
  • 1169245 .Net: Remove example 37 as it is a duplicate of example 45 (#4148)
  • 524b06f .Net: Moved Microsoft.SemanticKernel.Events classes to Microsoft.SemanticKernel (#4145)
  • 83aedbd .Net: Streamline KernelPromptTemplate.AddMissingInputVariables (#4142)
  • 87f1475 .Net: [OpenApi][DataTypeSupport][Part2] Headers serialization (#4133)
  • e5de7e7 .Net: Populate prompt function variables from template (#4140)
  • b601091 .Net: Update notebooks to use RC version of Semantic Kernel (#4077)
  • 0689140 .Net: [OpenApi][DataTypeSupport][Part1] Headers serialization (#4122)
  • 78a4333 .Net OpenAPI -> OpenApi Naming Change (#4100) [ #3765 ]
  • 1c1da87 .Net: Replace KernelBuilder with Kernel.CreateBuilder (#4096)
  • 494c83d .Net: Unnecessary helper method is removed (#4124)
  • f5f50a0 .Net: Make KernelPromptTemplate internal (#4118)
  • 7f1fe7e .Net: Allow KernelFunction argument to KernelFunctionFromMethod method (#4119)
  • 8b259e1 .Net: Fix stack overflow caused by erroneous recursion in OpenAIChatCompletionService (#4121)
  • a5d9641 .Net: Add an example of pipelining functions (#4095)
  • 1c12f78 .Net: Change IAIServiceSelector.SelectAIService to be a Try method and add non-Try extension (#4091)
  • 0050353 .Net: ADR to add more planner related telemetry items (#3568)
  • ef4a738 .Net: Add KernelPlugin.GetFunctionsMetadata (#4112)
  • db7f3e4 .Net: Enable InvokeAsync() and InvokeAsync To Return the Connector Type (#4085) [ #4079 ]
  • 174aa71 .Net: Change IKernelPlugin to be abstract class KernelPlugin (#4084)
  • 2c5fbd0 .Net Upgrade to Azure SDK Beta 11 (#4089) [ #3972 ]
  • 03c1db8 .Net: Remove implicit operator string from base content types (#4075)
  • 07cc666 .Net: Rename example 03 to "Arguments" (#4093)
  • 8e820b6 .Net: Fixing Example48_GroundednessChecks + Tuning Variable usage in Handlebars Planner (#4063) [ #3837 ]
  • 22853d2 .Net: Consolidate away KernelPluginExtensions (#4066)
  • 1139610 .Net: Move InvokeAsync KernelFunction extension to just be instance method (#4065)
  • eb406ad .Net: Reduce overheads of XmlPromptParser.TryParse for non-XML (#4068)
  • d68e8ae .Net: Allow a JSON schema to be defined for input and output variables (#4056) [ #3955 ]
  • 579c9f3...
Read more

python-0.4.2.dev

12 Dec 22:05
839683d
Compare
Choose a tag to compare

Notable Change

Adds support for Azure OpenAI on your data. An Azure AI Search index can be configured as a data source provided to the model to answer user queries with information retrieved from the index. Retrieval can be customized to different search types including vector search.

What's Changed

New Contributors

Full Changelog: python-0.4.1.dev...python-0.4.2.dev