mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
Remove kernel builder pattern for Python: sk.kernel_create() -> sk.Kernel() (#454)
### Motivation and Context This PR makes creating a kernel instance more pythonic. The builder pattern is removed and the kernel is constructed using Kernel(...). Work originally started with #137 ### Description - Removed kernel_builder.py. - Instance creation pattern `kernel = sk.create_kernel() -> kernel = sk.Kernel()` - For notebook 6, there is no need to create a separate kernel for the GitHub files. Changed to use a separate collection. Co-authored-by: Devis Lucato <[email protected]>
This commit is contained in:
co-authored by
Devis Lucato
parent
f06a8453ff
commit
d9323b573f
+1
-1
@@ -98,7 +98,7 @@ You should be able to run the example under the [tests](tests) folder.
|
||||
## Pipeline checks
|
||||
|
||||
To run the same checks that run during the GitHub Action build, you can use
|
||||
this command, from the `python` folder:
|
||||
this command, from the [python](../python) folder:
|
||||
|
||||
poetry run pre-commit run -c .conf/.pre-commit-config.yaml -a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user