Bumps [Microsoft.Data.Sqlite](https://github.com/dotnet/efcore) from 6.0.19 to 7.0.8. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dotnet/efcore/releases">Microsoft.Data.Sqlite's releases</a>.</em></p> <blockquote> <h2>EF Core 7.0.8</h2> <p>This is a <a href="https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.8">patch release of EF Core 7.0</a> containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.7.</p> <p>EF Core 7.0.7 is <a href="https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.7">available on NuGet now</a>. This is a patch release of EF Core 7 containing only <a href="https://github.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.7+is%3Aclosed">important bug fixes</a>:</p> <ul> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30115">IndexOutOfRangeException in CreateNavigationExpansionExpression</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30266">Linq select cannot project an entity containing both Json columns and ICollections</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30330">Json: updating property with conversion from string to other type fails on sql server</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30358">Duplicate table alias in generated select query (An item with the same key has already been added)</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30528">InvalidOperationException when calling ExecuteUpdate with owned entity & using current value</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30565">Query/Json: projecting entity collection along with json collection generates invalid shaper</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30572">AutoInclude causes ExecuteDelete to fail</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30575">Multiple LeftJoins (GroupJoins) lead to GroupJoin Exception when the same where is used twice</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30601">SaveChanges circular dependency in unique unfiltered index (when change doesn't affect any column from unique index).</a></li> </ul> <p>EF Core 7.0.5 is <a href="https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.5">available on NuGet now</a>. This is a patch release of EF Core 7 containing only <a href="https://github.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.5+is%3Aclosed">important bug fixes</a>:</p> <ul> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30321">Can't add migration renaming a column on TPC root</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30286">Scaffolded collection navigation properties do not have setters</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30273">EF7 generating incorrect SQL for the Concat/Union All</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30028">Added nullable property to Json mapped model resulting in errors instead of mapping non existing json property to null</a></li> </ul> <h2>EF Core 7.0.4</h2> <p>This is a <a href="https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.4">patch release of EF Core 7.0</a> containing only <a href="https://github.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.4+is%3Aclosed">important bug fixes</a>:</p> <ul> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30135">Exception replacing multi-level relationship in EF7</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30122">Deletion can cause error "The association between entity types A and B has been severed..."</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/30058">Non-empty second migration in TPC scheme using inheritance</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29985">Entity Framework Core 7 keeps creating the same migration for Nullable DateTime field</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29899">TPC mapping strategy not respecting default database schema during migration</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29667">Count after Take throws "No column name was specified for column 1 of 't'."</a></li> </ul> <p>And for <a href="https://www.nuget.org/packages/Microsoft.Data.Sqlite/7.0.4">Microsoft.Data.Sqlite</a>:</p> <ul> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29952">ArgumentOutOfRangeException in SqliteConnectionFactory.PruneCallback</a></li> </ul> <h2>EF Core 7.0.3</h2> <p>This is a <a href="https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.3">patch release of EF Core 7.0</a> containing only <a href="https://github.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.3+is%3Aclosed">important bug fixes</a>:</p> <ul> <li><a href="https://redirect.github.com/dotnet/efcore/issues/27504">Add-Migration fails with "An item with the same key has already been added" when renaming entity</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/28727">ExecuteUpdate fails when target entity has an owned entity</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29418">EF Core 7 Rev eng: Missing HasForeignKey when referencing a navigation property with a unique constraint with DataAnnotations on</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29450">Change in behaviour of CSharpHelper.Identifier(string name)</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29516">NullReferenceException scaffolding when no primary key set</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29530">Idempotent migration script not working on EFCore7.0 for AlterColumn when nullable changed from true to false</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29531">6.0.11 to 7.0.0: [...] are both mapped to column [..] but are configured to use differing provider types ('double' and 'double?').'</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29534">Generated Model Snapshot throws InvalidOperationException</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29539">SQL Server bulk insert broken when new command applies pending commands and goes over the batch parameter limit</a></li> <li><a href="https://redirect.github.com/dotnet/efcore/issues/29544">Invalid singularization when scaffolding a manytomany table</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dotnet/efcore/commit/ec04682078a1a4824c7af617357c7497190f32cc"><code>ec04682</code></a> Update branding to 7.0.8 (<a href="https://redirect.github.com/dotnet/efcore/issues/31045">#31045</a>)</li> <li><a href="https://github.com/dotnet/efcore/commit/81a09d5f0ca45f744ec8a4b8938f38780bb15a4c"><code>81a09d5</code></a> Merge in 'release/7.0' changes</li> <li><a href="https://github.com/dotnet/efcore/commit/3e87774498671124873d970fcbb177c105fd3998"><code>3e87774</code></a> [release/7.0] Bump SqlClient to 5.0.2 due to bad memory bug in 5.0.1 (<a href="https://redirect.github.com/dotnet/efcore/issues/30828">#30828</a>)</li> <li><a href="https://github.com/dotnet/efcore/commit/8dc90e7513792cf327526548a2d805263e4d2476"><code>8dc90e7</code></a> Merge in 'release/7.0' changes</li> <li><a href="https://github.com/dotnet/efcore/commit/ea9106076040480b1efa2a0f53cba4540631b9cf"><code>ea91060</code></a> Re-introduce quirk with typo (<a href="https://redirect.github.com/dotnet/efcore/issues/30825">#30825</a>)</li> <li><a href="https://github.com/dotnet/efcore/commit/1123a9a676afd0b54a991e873b35669e51a4db6e"><code>1123a9a</code></a> Merge in 'release/7.0' changes</li> <li><a href="https://github.com/dotnet/efcore/commit/847bdd33bf2f430b1c8a37bb3a3ff1c3b423f795"><code>847bdd3</code></a> fixing a typo in quirk string for issue 30330 (<a href="https://redirect.github.com/dotnet/efcore/issues/30784">#30784</a>)</li> <li><a href="https://github.com/dotnet/efcore/commit/5261aa5cfebbef26383b8a65aa8efd048d9982b8"><code>5261aa5</code></a> Merge in 'release/7.0' changes</li> <li><a href="https://github.com/dotnet/efcore/commit/03541adb3b3ec5cdbe19d59d5d5439fd62619f5a"><code>03541ad</code></a> Fix to <a href="https://redirect.github.com/dotnet/efcore/issues/30575">#30575</a> - Multiple LeftJoins (GroupJoins) lead to GroupJoin Exception w...</li> <li><a href="https://github.com/dotnet/efcore/commit/d3fb4064bc7c3639f5915df5e4522d6fe6136188"><code>d3fb406</code></a> Merge in 'release/7.0' changes</li> <li>Additional commits viewable in <a href="https://github.com/dotnet/efcore/compare/v6.0.19...v7.0.8">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 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: Shawn Callegari <[email protected]>
Semantic Kernel
ℹ️ NOTE: This project is just like AI and will evolve quickly. We invite you to join us in developing the Semantic Kernel together! Please contribute by using GitHub Discussions, opening GitHub Issues, sending us PRs, joining our Discord community.
Semantic Kernel (SK) is a lightweight SDK enabling integration of AI Large Language Models (LLMs) with conventional programming languages. The SK extensible programming model combines natural language semantic functions, traditional code native functions, and embeddings-based memory unlocking new potential and adding value to applications with AI.
SK supports prompt templating, function chaining, vectorized memory, and intelligent planning capabilities out of the box.
Semantic Kernel supports and encapsulates several design patterns from the latest in AI research, such that developers can infuse their applications with plugins like prompt chaining, recursive reasoning, summarization, zero/few-shot learning, contextual memory, long-term memory, embeddings, semantic indexing, planning, retrieval-augmented generation and accessing external knowledge stores as well as your own data.
By joining the SK community, you can build AI-first apps faster and have a front-row peek at how the SDK is being built. SK has been released as open-source so that more pioneering developers can join us in crafting the future of this landmark moment in the history of computing.
Get Started with Semantic Kernel ⚡
Semantic Kernel is available to explore AI and build apps with C# and Python:
|
|
See the Feature Matrix to see a breakdown of feature parity between C# and Python.
The quickest way to get started with the basics is to get an API key (OpenAI or Azure OpenAI) and to run one of the C# or Python console applications/scripts:
For C#:
- Create a new console app.
- Add the semantic kernel nuget
Microsoft.SemanticKernel. - Copy the code from here into the app
Program.csfile. - Replace the configuration placeholders for API key and other params with your key and settings.
- Run with
F5ordotnet run
For Python:
- Install the pip package:
python -m pip install semantic-kernel. - Create a new script e.g.
hello-world.py. - Store your API key and settings in an
.envfile as described here. - Copy the code from here into the
hello-world.pyscript. - Run the python script.
Sample apps ⚡
The repository includes some sample applications, with a React frontend and a backend web service using Semantic Kernel.
Follow the links for more information and instructions about running these apps.
| Simple chat summary | Use ready-to-use plugins and get plugins into your app easily. |
| Book creator | Use planner to deconstruct a complex goal and envision using the planner in your app. |
| Authentication and APIs | Use a basic connector pattern to authenticate and connect to an API and imagine integrating external data into your app's LLM AI. |
| GitHub repository Q&A | Use embeddings and memory to store recent data and allow you to query against it. |
| Copilot Chat Sample App | Build your own chat experience based on Semantic Kernel. |
Requirements:
- You will need an Open AI API Key or Azure Open AI service key to get started.
- Azure Functions Core Tools are required to run the kernel as a local web service, used by the sample web apps.
- .NET 6 SDK or .NET 7 SDK
- Yarn is used for installing web apps' dependencies.
Deploy Semantic Kernel to Azure in a web app service ☁️
Getting Semantic Kernel deployed to Azure as web app service is easy with one-click deployments. Click here to learn more on how to deploy to Azure.
Jupyter Notebooks ⚡
For a more hands-on overview, you can also check out the C# and Python Jupyter notebooks, starting from here:
Requirements: C# notebooks require .NET 7 and the VS Code Polyglot extension.
Contributing and Community
We welcome your contributions and suggestions to SK community! One of the easiest ways to participate is to engage in discussions in the GitHub repository. Bug reports and fixes are welcome!
For new features, components, or extensions, please open an issue and discuss with us before sending a PR. This is to avoid rejection as we might be taking the core in a different direction, but also to consider the impact on the larger ecosystem.
To learn more and get started:
- Read the documentation
- Learn how to contribute to the project
- Join the Discord community
- Attend regular office hours and SK community events
- Follow the team on our blog
Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
License
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT license.
