-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Semantic kernel model adapter (#4851)
* initial sk model adapter implementation * add sk tool module * implement streaming and update tests * update lock * linting * add semantic kernel extras * add docstring and format * update dependencies and format/lint * add model info to sk constructor * update uv.lock * customize prompt settings * update uv.lock * add docs * fix sk docstring linting * update create docstrings * fmt and improve tool docstring * update sk tool docs * coerce doc json serialization failure --------- Co-authored-by: Leonardo Pinheiro <[email protected]>
- Loading branch information
1 parent
9b1260d
commit 918292f
Showing
12 changed files
with
2,307 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...s/autogen-core/docs/src/reference/python/autogen_ext.models.semantic_kernel.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
autogen\_ext.models.semantic_kernel | ||
==================================== | ||
|
||
|
||
.. automodule:: autogen_ext.models.semantic_kernel | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
10 changes: 10 additions & 0 deletions
10
...es/autogen-core/docs/src/reference/python/autogen_ext.tools.semantic_kernel.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
autogen\_ext.tools.semantic_kernel | ||
=================================== | ||
|
||
|
||
.. automodule:: autogen_ext.tools.semantic_kernel | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
python/packages/autogen-ext/src/autogen_ext/models/semantic_kernel/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from ._sk_chat_completion_adapter import SKChatCompletionAdapter | ||
|
||
__all__ = ["SKChatCompletionAdapter"] |
Oops, something went wrong.