Releases: microsoft/semantic-kernel
python-0.4.4.dev
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
andai_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
- Python: added code coverage and vscode tasks def for python by @eavanvalkenburg in #4193
- Python: remove unnecessary class attributes from SKFunctionBase. by @moonbox3 in #4283
- Python: Uses Python standard logging by @juliomenendez in #4115
- Python: Prevents LLMs from stripping complex function names by @juliomenendez in #4366
- Python: update ruff and black so they are compatible again by @eavanvalkenburg in #4352
- Python: Mark flaky test with xfail until we can fix it. by @moonbox3 in #4467
- Python: Implement AI request settings by @eavanvalkenburg in #4097
- Python: set line-length for black in sync with Ruff, run black. by @eavanvalkenburg in #4396
- Python: Supports better exceptions when Azure OpenAI content filtering is triggered by @juliomenendez in #4428
- Python: response format fix by @eavanvalkenburg in #4479
- Python: Handle errors if no event loop running in current thread. by @moonbox3 in #4485
- Python: Bump Python Package version for release. Update notebook refs to use AIRequestSettings. by @moonbox3 in #4478
Full Changelog: python-0.4.3.dev...python-0.4.4.dev
dotnet-1.0.1
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 ofinput
. (#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
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
- @rewrlution made their first contribution in #4177
Full Changelog: python-0.4.2.dev...python-0.4.3.dev
dotnet-1.0.0-rc4
Changes:
- 29f72ac .Net: Mark gRPC and OpenAPI Functions as Experimental (#4244)
- 6e0a4b9 .Net: Bump version to 1.0.0-rc4 (#4241)
- 0095578 .Net: Simplify memory namespaces (#4230) [ #1 ]
- c410053 .Net: Remove the service id (#4232) [ #4212 ]
- 53b1c95 .Net: Fixing issues with functions that take a parameter. (#4240)
- 49e9051 .Net: Fix default OpenAI execution settings values (#4236) [ #4235 ]
- a14d1e5 .Net ChatHistory Streaming Message Helper API (#4167) [ #3961 ]
- 0d434be .Net: PromptExecutionSettings in KernelArguments should be an ordered dictionary (#4220) [ #4212 ]
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...
python-0.4.2.dev
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
- Python: moved telemetry from pkg_resource to importlib by @eavanvalkenburg in #4098
- Python: Fix SKFunction.invoke_stream_async by @johnliu55-msft in #3986
- Python: Add python connector for Azure OpenAI on your data by @sarah-widder in #3919
- Python: Bump Python package version to 0.4.2.dev by @moonbox3 in #4204
New Contributors
- @sarah-widder made their first contribution in #3919
Full Changelog: python-0.4.1.dev...python-0.4.2.dev
dotnet-1.0.0-rc3
Changes:
- aa45ee6 .Net: Address API review feedback about DI integration (#4023)
- 7eaa708 .Net: Simplify and clarify multi stream chat completion example (#4019)
- 17b1ab1 .Net: Nulls for function arguments (#4055)
- 764e572 .Net Remove non-visible Kernel Syntax Samples (#4058)
- 136e7c2 .Net BugFix - Using StandardizedPrompt With Kernel/Function InvokeAsync with ChatCompletions was not being parsed correctly. (#4025) [ #3960 ]
- 5f047e5 .Net: Version 1.0.0-rc3 (#4057)
- ce2dbfb .Net: Clarify some kernel semantic examples (#4018)
- 0a7c616 .Net Rename Azure Cognitive to Azure AI Search (#4043) [ #3995 ]
- 04105d4 .Net: Address API review feedback on Kernel.GetService (#4046)
- 32dc00b .Net: Create prompt integration test (#4003)
See More
- 33728ba .Net: Code duplication removed (#4030)
- 4e0e40e .Net: Add missing limit argument in example 15 (#4028)
- 87fa3bf .Net Adding Kernel + Function.InvokeAsync (#3974) [ #3863 ]
- e947ad8 .Net With the new dedicated Rendering events rederedPrompt metadata is not necessary. (#4007) [ #4005 ]
- 6ce0cfc .Net: Add comment to Example08_RetryHandler (#4010)
- eb24c40 .Net: Support for primitives and complex types by Kernel prompt template (#4013)
- 1a1c6fe .Net Preventing arguments collection (#4022)
- e1229f5 .Net: fixed the AzureOpenAITextEmbeddingGeneration parameter order (#4012)
- 8ba50eb .Net: Small fix in plan generation prompt of FunctionCallingStepwisePlanner (#4014)
- 99d354f .Net: Add Handlebars planner unit tests (#3950)
This list of changes was auto generated.
python-0.4.1.dev
Breaking Changes
Python Kernel Upgrade to Pydantic v2.5.2
We are happy to announce an upgrade to Pydantic v2.5.2 in our Python kernel. This update not only brings cutting-edge features and syntax enhancements from the Pydantic team but also aligns our platform with major packages like OpenAI and PromptFlow. Key improvements include:
- Streamlined Classes: The new version has simplified numerous classes, enhancing their readability and precision.
- Unified
sk_pydantic
Classes: Previously distinct classes, such asskbasemodel
,skgeneric
, andpydantic
field, have been consolidated intoskbasemodel
. Please note that aliases from earlier versions will be deprecated in the future v1 release. - Changes to Dict Functionality: The dict function in Pydantic has evolved. It is now represented as model_dump and model_dump_json, which may impact your development process.
- Alignment with Leading Technologies: The Pydantic upgrade brings SK in line with other significant technologies like OpenAI and PromptFlow, ensuring seamless integration and consistency across platforms.
For a detailed guide on migrating to Pydantic V2 and understanding these changes better, please visit Pydantic's Migration Guide.
What's Changed
- Python: Bump pyarrow from 13.0.0 to 14.0.1 in /python by @dependabot in #3443
- Python: Bump qdrant-client from 1.5.4 to 1.6.4 in /python by @dependabot in #3410
- Python: Bump openapi-core from 0.18.1 to 0.18.2 in /python by @dependabot in #3409
- Python: fix deployment name parameter when using base_url by @eavanvalkenburg in #3880
- Python: readded user agent telemetry to openai classes by @eavanvalkenburg in #3881
- Python: Bug fix in Python sample notebook 10 by @rom212 in #3595
- Python: added grounding sample as code instead of notebook by @eavanvalkenburg in #3966
- Python: Bump transformers from 4.34.0 to 4.35.2 in /python by @dependabot in #3936
- Python: extra tests and a fix for the base_url by @eavanvalkenburg in #3967
- Python: Bump black from 23.10.1 to 23.11.0 in /python by @dependabot in #3934
- Python: allow default_headers configuration and users to pass in custom AzureOpenAI/OpenAI clients. by @moonbox3 in #3903
- Python: Bump Python version to 0.4.1. Make TextMemorySkill attributes ClassVar. by @moonbox3 in #4001
Full Changelog: python-0.4.0.dev...python-0.4.1.dev
dotnet-1.0.0-rc2
Changes:
- 45507bb .Net: Release 1.0.0-rc2 (#4004)
- 3249099 .Net: Remove
string? input
overloads and add KernelArgument ctor (#3985) - ba6c869 .Net: default_value should just be default to match with prompt YAML schema (#3963) [ #3957 ]
- 10e1998 .Net: Establish pattern to use LoggerMessage attribute in KernelFunction and Instrumented Planner (#3859)
- 9ea33b5 .Net: remove serviceId requirement for examples 56 and 58 (#3954)
See More
- e905aa9 .Net Add ModelId to Content Abstractions (#3930) [ #3928 ]
- 737cf8e .Net: input_parameters should be input_variables to match prompt serialization (#3965) [ #3953, #3958 ]
- b130b1c .Net Tests Update (#3935) [ #3653 ]
- f1ede27 .Net: Fix up KernelFunction.InvokeStreamingAsync to be more similar to non-streaming (#3940)
- 5871a36 .Net: Remove CreateFunctionFromPromptXXXResource methods (#3964) [ #3951 ]
- faf3aab .Net: Change a few KernelExceptions to ArgumentExceptions (#3931)
- c26493d .Net: Remove pluginName arguments from markdown/yaml function creation (#3959)
- dece411 .Net: Add ChatHistory.RemoveRange (#3956)
- 5e2f1b8 .Net: Skipping formatting of excluded projects (#3941)
This list of changes was auto generated.
dotnet-1.0.0-rc1
Changes:
- cb12931 .Net: Function calling stepwise planner improvements (#3857)
- 512b20c .Net Removing remaining public facing records (#3938) [ #3697 ]
- 497d82a .Net: Bump version to 1.0.0-rc1 (#3943)
- b25c8b9 .Net: Rename ITextCompletion to ITextGenerationService (#3924)
- 1844d4f .Net: Assistant Experimental Feature Update (#3929)
- 858821b .Net: Rename ImageGeneration to TextToImage (#3926)
- 8627272 .Net: IChatCompletion interface and all its implementations are renamed (#3927)
- 96ce7d8 .Net Equality proposal implementation APIs (Content + Completion Interfaces) (#3910)
- 51958fb .Net: [Fix] Issuing multiple function callings will cause OpenAI to return 500 Internal Server Error (#3858) [ #3515 ]
- 50ff6c0 .Net: Preparation for non-string arguments support (#3911)
See More
- c68ddf6 .Net: Avoid using exceptions for control flow in AggregatorPromptTemplateFactory (#3917)
- 416cdd5 .Net: Removing request settings leftovers (#3923)
- b2fa594 .Net: Update comments / clarity on assistants demo (#3899)
- b91f7d1 .Net: Remove some overheads from KernelPromptTemplate (#3916)
- e8797dc .Net: Remove deleted files from .sln (#3921)
- 7342ee7 .Net: Remove a few unnecessary
await Task.FromResult
s (#3920) - 8f7b710 .Net: Rename OpenAPI in namespaces to OpenApi (#3913)
- 417539b .Net: Delete public and unused HandlebarsPlanner.Stopwatch (#3922)
- 0f87104 .Net: Change internal ExecutionSettings to be a List rather than IEnumerable (#3914)
- 1015b4c .Net: Seal AggregatorPromptTemplateFactory (#3915)
- 9cd5a7d .Net: Fix InvokeHandlebarsPromptAsync to take KernelArguments (#3918)
- 0f23dc9 .Net: AIServices must be configured with a model id (#3905) [ #3756 ]
- da68d00 .Net: Get rid of .Functions subnamespace (#3907)
- e924d84 .Net: Change how event handlers cancel, and clean up FunctionResult (#3909)
- bf73f1a .Net: Move some Kernel extensions down to Kernel (#3908)
- 0e24fc2 .Net: Tweak callbacks on KernelBuilder (#3902)
- 3a0b795 .Net: Remove .Extensions and .Functions subnamespaces (#3898)
- 1815d7e .Net: Clean up KernelEventArgs and friends (#3904)
- 479e164 .Net: Update Example 22 to demonstrate usage of OpenAI authentication config (#3423) [ #3304 ]
- ffd37b8 .Net: Remove the function author role from the public API (#3896) [ #3866 ]
- 322d5e6 .Net: Fix Assistant managment of Kernel completion service. (#3852)
- e3bce02 .Net: Make ChatHistory an IList rather than List (#3889)
- d2dddde .Net: Add experimental attributes to packages (#3709)
- c245312 .Net: Remove implementation detail from public {Azure} OpenAI client surface area (#3778)
- 4201da5 .Net: Add back Kernel.LoggerFactory shortcut (#3848)
- cb150fb .Net: Disable IDE0130 (match namespace to folder structure) (#3851)
- d2ab891 .Net: Move ModelResult from Microsoft.SemanticKernel.Orchestration to Microsoft.SemanticKernel.AI (#3850)
- 6a9bd7d .Net: Remove skip and repeat (#3888) [ #3865, #3867, #3868 ]
- 196359b .Net: Make KernelArguments wrap rather than be a Dictionary<> (#3876)
- a511a9d .Net BugBash Bugfix Example 59 - FunctionCalling (Added default serialization to Method Function results) (#3854) [ #3829 ]
- 1c6a187 .Net Standardized prompt input support for Chat Completion APIs (#3781) [ #3780 ]
- 0b1e085 .Net: Fix test failure in main (#3878)
- 1bcfaf3 .Net: Rename Handlebars package to MS.SK.PromptTemplate.Handlebars (#3853)
- 03ca546 .Net: Clean up some extension method classes (#3766)
- 68fcf4b .Net: Make PromptNode and XmlPromptParser internal (#3877)
- 82cb133 .Net: Allow object IAIService attributes (#3856)
- cc3d747 .Net TypeConverterFactory utility class (#3860)
- 3e1dcc0 .Net: Net: Tiny fixes found during bug bash (#3849)
- 9ef4cb9 .Net: Add streaming equivalent to InvokePromptAsync (#3791)
- 83c35e0 .Net: Add tests for KernelBuilder (and tweak the DI workaround) (#3847)
- 90906f2 .Net: Delete KernelNameAttribute (#3764)
- 1d51d5d .Net Kernel RunStreaming to InvokeStreaming + Small other Run to Invoke changes (#3783) [ #3782 ]
- d32802e .Net: Fix handling execution settings that are in string format (#3846)
- e2ac85a .Net: Instrument the HandleBars planner (#3762)
- 7f80c5e .Net: Pass Kernel to connectors and implement automatic OpenAI function calling (#3754)
- 3bb2bef .Net: KernelArguments as a type for the 'arguments' parameter (#3776)
- cc77c91 .Net: Make a few public types internal (#3730)
- 72dee5d .Net: Make PlannerInstrumentation internal rather than public (#3763)
- 38f3540 .Net Native Function -> Method Function Missing Renaming (#3775) [ #3774 ]
- b49fa39 .Net: The FunctionResult class has been made immutable (#3770)
- e866f8f .Net Semantic Function -> Prompt Function Missing Renaming (#3772) [ #3771 ]
- ab2e723 .Net: Optional arguments parameter for template and code rendering API (#3773)
- 0b64585 .Net The KernelFunctionArguments class is renamed to KernelArguments (#3769)
- e8ed55b .Net ContextVariables is replaced by KernelFunctionArguments (#3752)
- 9d2c8c8 .Net: Adding IChatCompletion Streaming ChatHistory as input (#3757) [ #3663 ]
- bf947fe .Net: Copy PlannerInstrumentation.cs to InternalUtilities (#3755)
- 5608f31 .Net: Rename AzureTextCompletion to AzureOpenAITextCompletion (#3738)
- 8b7e7c0 .Net: Fix ordered service selector (#3753)
- 40b0af6 .Net: Some fixes to clean up after previous PR's (#3745)
- 0423483 .Net: Handlebars Planner - Passing kernel in method signatures instead of constructors (#3739)
- 73afd47 .Net: Replace SK's IAIServiceProvider with IServiceProvider (#3714)
- b7f9b1d .Net: Replace straggling Add usage with AddRange (#3729)
- 7aaba14 .Net BugFix #3715 Exception Streaming OpenAI Chat WithData (Example 54) (#3727)
- aa4f760 .Net: Fix OpenAI JSON manifest parsing (underscore cases) (#3716)
- 6b78cd2 .Net: Remove IPromptTemplate.Parameters (#3721)
- 94bfac7 .Net: Update Application Insights Example (#3599)
- c1159f2 .Net: Refactor PromptTemplateConfig (#3707)
- b3e05d5 ADR for JSON-serializable custom types (#3394)
- f2dd381 .Net: Temporarily excluding planners and flow orchestrator (#3701)
- e4b8cfa .Net: Convert KernelFunction.GetMetadata to be a property (#3702)
- 003d011 .Net: KernelFunctionArguments class has been added (#3671)
- b38e509 .Net: OpenAI Connector Internals Update Azure Beta 9 (#3674) [ #3432 ]
- 48e3763 .Net: Rename AIRequestSettings to PromptExecutionSettings (#3681)
- 12f368e .Net: Rename SK prefix to Kernel (#3680)
- 26182cd .Net: Move Handlers planner unit tests to own project (#3679)
- b771d9c .Net: Move Plan to the ms.sk.planners.core package (#3678)
- 58f03c5 .Net: Remove dependency on planners.core (#3673)
- b58522e .Net: SKContext class is removed (#3666)
- c025402 .Net: Upgrade to the 8.0 LTS versions of nuget packages (#3672)
- 69b1d7a .Net Clean Old Streaming APIs (#3667) [ #3658 ]
- ca77b59 .Net: Extract Handlebars planner into it's own package (#3664)
- 2785c0e...
python-0.4.0.dev
Breaking Changes
- Upgrades OpenAI SDK to Version 1.0 or Higher.
- This upgrade enables users and developers to access the latest features, improvements, and security enhancements in the OpenAI SDK. It ensures compatibility with new models and APIs, and offers improved performance and stability.
- Revise and Enhance Class Hierarchies and Naming Conventions for Improved Clarity and Usability.
- We've restructured class hierarchies and updated naming conventions for greater clarity and ease of use. For example, for Azure OpenAI, AzureTextCompletion now extends from AzureOpenAIConfigBase and OpenAITextCompletionBase, offering a more intuitive structure. Similarly, for OpenAI, OpenAIChatCompletion has been refactored from ChatCompletionClientBase and TextCompletionClientBase to OpenAIConfigBase, OpenAIChatCompletionBase, and OpenAITextCompletionBase, streamlining its functionality and making its purpose more explicit.
- Note that you may need to update your class definitions to use keyword arguments as there was restructuring involved within the constructors of some classes.
What's Changed
- Python: Update Python notebooks to use release 0.3.15 by @markwallace-microsoft in #3513
- Python: extended notebook 06 to showcase Azure AI Search for semantic memory by @rom212 in #3573
- Python: Make SK compatible with OpenAI 1.0 by @alexchaomander in #3555
New Contributors
Full Changelog: python-0.3.15.dev...python-0.4.0.dev