Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new client library for Microsoft Agents, specifically for the Copilot Studio. The changes include adding new classes and methods to support connection settings, client interactions, and handling various configurations and protocols. The most significant changes are summarized below.
New Classes and Methods:
libraries/Client/microsoft-agents-copilotstudio-client/microsoft/agents/copilotstudio/client/copilot_client.py: IntroducedCopilotClientclass to manage connections and interactions with the Copilot Studio, including methods for starting conversations and asking questions.libraries/Client/microsoft-agents-copilotstudio-client/microsoft/agents/copilotstudio/client/connection_settings.py: AddedConnectionSettingsclass to manage connection configurations, including validation for required fields.libraries/Client/microsoft-agents-copilotstudio-client/microsoft/agents/copilotstudio/client/power_platform_environment.py: CreatedPowerPlatformEnvironmentclass to handle environment-specific configurations and URL generation for connections.Enum Definitions:
libraries/Client/microsoft-agents-copilotstudio-client/microsoft/agents/copilotstudio/client/bot_type.py: DefinedBotTypeenum to represent different types of bots.libraries/Client/microsoft-agents-copilotstudio-client/microsoft/agents/copilotstudio/client/power_platform_cloud.py: AddedPowerPlatformCloudenum to represent various Power Platform Clouds.Protocols and Data Models:
libraries/Client/microsoft-agents-copilotstudio-client/microsoft/agents/copilotstudio/client/direct_to_engine_connection_settings_protocol.py: IntroducedDirectToEngineConnectionSettingsProtocolto define the protocol for connection settings.libraries/Client/microsoft-agents-copilotstudio-client/microsoft/agents/copilotstudio/client/execute_turn_request.py: AddedExecuteTurnRequestclass to represent a request to execute a turn in the conversation.Project Configuration:
libraries/Client/microsoft-agents-copilotstudio-client/pyproject.toml: Added project configuration file to define build system requirements and project metadata.These changes collectively establish the foundation for a client library that interacts with Microsoft Agents' Copilot Studio, enabling developers to manage connections, handle configurations, and perform various operations programmatically.