Notable Changes
We're progressing towards the v1.0 release of our SDK, featuring significant enhancements and modifications:
- Unified response objects for Chat, Text, and Embedding completions under the
KernelContent
class. This change offers multiple advantages, including consistency with our dotnet implementation and a more streamlined handling of responses. TheKernelContent
base class provides an efficient way to access response metadata and inner content. - Updated the terminology from
AIRequestSettings
toPromptExecutionSettings
, to better align with dotnet terminology. - Overhauled the plugin and function architecture to utilize the
KernelPluginCollection
class. This update involves removing outdated code and base classes associated with PluginCollection and ReadOnlyPluginCollection. - Discontinued support for synchronous function execution, which previously relied on asyncio and led to complications.
What's Changed
- Python: implement KernelContent and all related classes by @eavanvalkenburg in #4491
- Python: Add astra memory by @david-polo in #4374
- Python: Renames request settings to prompt execution settings by @juliomenendez in #4782
- Python: Remove sync function invoke. Update other code to use async invoke. by @moonbox3 in #4796
- Python: Add kernel plugin collection and remove old plugin collection classes by @moonbox3 in #4764
- Python: Bump python version to 0.5.0 for release. Update notebooks. by @moonbox3 in #4849
New Contributors
- @david-polo made their first contribution in #4374
Full Changelog: python-0.4.7.dev...python-0.5.0.dev