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

build: bump semantic-kernel from 1.0.4 to 1.1.1 #1057

Merged
merged 2 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from semantic_kernel.connectors.ai.function_call_behavior import FunctionCallBehavior
from semantic_kernel.contents import ChatHistory
from semantic_kernel.contents.chat_message_content import ChatMessageContent
from semantic_kernel.contents.finish_reason import FinishReason
from semantic_kernel.contents.utils.finish_reason import FinishReason

from ..common.answer import Answer
from ..helpers.llm_helper import LLMHelper
Expand Down
16 changes: 9 additions & 7 deletions code/tests/utilities/orchestrator/test_semantic_kernel.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
from unittest.mock import ANY, AsyncMock, MagicMock, call, patch

import pytest
from backend.batch.utilities.common.answer import Answer
from backend.batch.utilities.orchestrator.semantic_kernel import (
SemanticKernelOrchestrator,
)
from backend.batch.utilities.parser.output_parser_tool import OutputParserTool
from semantic_kernel import Kernel
from semantic_kernel.connectors.ai.open_ai import AzureChatCompletion
from semantic_kernel.connectors.ai.function_call_behavior import EnabledFunctions
from semantic_kernel.connectors.ai.open_ai.prompt_execution_settings.azure_chat_prompt_execution_settings import (
AzureChatPromptExecutionSettings,
)
from semantic_kernel.contents.author_role import AuthorRole
from semantic_kernel.contents.utils.author_role import AuthorRole
from semantic_kernel.contents.chat_message_content import ChatMessageContent
from semantic_kernel.contents.finish_reason import FinishReason
from semantic_kernel.contents.utils.finish_reason import FinishReason
from semantic_kernel.contents.function_call_content import FunctionCallContent

from backend.batch.utilities.common.answer import Answer
from backend.batch.utilities.orchestrator.semantic_kernel import (
SemanticKernelOrchestrator,
)
from backend.batch.utilities.parser.output_parser_tool import OutputParserTool


chat_message_default_content = ChatMessageContent(
content="mock-response",
role=AuthorRole.ASSISTANT,
Expand Down
16 changes: 8 additions & 8 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ opentelemetry-instrumentation-httpx = "^0.46b0"
pillow = "10.3.0"
azure-mgmt-cognitiveservices = "^13.5.0"
jsonschema = "^4.22.0"
semantic-kernel = {version = "1.0.4", python = "<3.13"}
semantic-kernel = {version = "1.1.1", python = "<3.13"}
azure-ai-ml = "^1.16.0"

[tool.poetry.group.dev.dependencies]
Expand Down
Loading