Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semantic kernel model adapter #4851

Merged
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions python/packages/autogen-core/docs/src/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ python/autogen_ext.teams.magentic_one
python/autogen_ext.models.cache
python/autogen_ext.models.openai
python/autogen_ext.models.replay
python/autogen_ext.models.semantic_kernel
python/autogen_ext.tools.langchain
python/autogen_ext.tools.graphrag
python/autogen_ext.tools.code_execution
python/autogen_ext.tools.semantic_kernel
python/autogen_ext.code_executors.local
python/autogen_ext.code_executors.docker
python/autogen_ext.code_executors.azure
Expand Down
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:
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
autogen\_ext.tools.semantic_kernel
====================================


.. automodule:: autogen_ext.tools.semantic_kernel
:members:
:undoc-members:
:show-inheritance:

44 changes: 44 additions & 0 deletions python/packages/autogen-ext/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,50 @@ grpc = [
"grpcio~=1.62.0", # TODO: update this once we have a stable version.
]

semantic-kernel-core = [
"semantic-kernel>=1.17.1",
]

semantic-kernel-google = [
"semantic-kernel[google]>=1.17.1",
]

semantic-kernel-hugging-face = [
"semantic-kernel[hugging_face]>=1.17.1",
]

semantic-kernel-mistralai = [
"semantic-kernel[mistralai]>=1.17.1",
]

semantic-kernel-ollama = [
"semantic-kernel[ollama]>=1.17.1",
]

semantic-kernel-onnx = [
"semantic-kernel[onnx]>=1.17.1",
]

semantic-kernel-anthropic = [
"semantic-kernel[anthropic]>=1.17.1",
]

semantic-kernel-pandas = [
"semantic-kernel[pandas]>=1.17.1",
]

semantic-kernel-aws = [
"semantic-kernel[aws]>=1.17.1",
]

semantic-kernel-dapr = [
"semantic-kernel[dapr]>=1.17.1",
]

semantic-kernel-all = [
"semantic-kernel[google,hugging_face,mistralai,ollama,onnx,anthropic,usearch,pandas,aws,dapr]>=1.17.1",
]

lspinheiro marked this conversation as resolved.
Show resolved Hide resolved
[tool.hatch.build.targets.wheel]
packages = ["src/autogen_ext"]

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from ._sk_chat_completion_adapter import SKChatCompletionAdapter

__all__ = ["SKChatCompletionAdapter"]
Loading
Loading