Skip to content

Commit

Permalink
build: bump semantic-kernel from 1.0.4 to 1.1.1 (#1057)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam Dougal <adamdougal@microsoft.com>
  • Loading branch information
dependabot[bot] and adamdougal committed Jun 20, 2024
1 parent d811417 commit f61045e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
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

0 comments on commit f61045e

Please sign in to comment.