@@ -663,7 +663,7 @@ class BaseApiClient:
663663 client_options (ClientOptions): Optional API client configurations
664664 skip_version_check (bool): If true, will skip checking the server's current API version on initializing the client
665665 """
666- client_version = '1.4.59 '
666+ client_version = '1.4.60 '
667667
668668 def __init__(self, api_key: str = None, server: str = None, client_options: ClientOptions = None, skip_version_check: bool = False, include_tb: bool = False):
669669 self.api_key = api_key
@@ -2758,7 +2758,7 @@ def list_chat_sessions(self, most_recent_per_project: bool = False) -> ChatSessi
27582758 ChatSession: The chat sessions with Data Science Co-pilot"""
27592759 return self._call_api('listChatSessions', 'GET', query_params={'mostRecentPerProject': most_recent_per_project}, parse_type=ChatSession)
27602760
2761- def get_deployment_conversation(self, deployment_conversation_id: str = None, external_session_id: str = None, deployment_id: str = None, filter_intermediate_conversation_events: bool = True, get_unused_document_uploads: bool = False, start: int = None, limit: int = None) -> DeploymentConversation:
2761+ def get_deployment_conversation(self, deployment_conversation_id: str = None, external_session_id: str = None, deployment_id: str = None, filter_intermediate_conversation_events: bool = True, get_unused_document_uploads: bool = False, start: int = None, limit: int = None, include_all_versions: bool = False ) -> DeploymentConversation:
27622762 """Gets a deployment conversation.
27632763
27642764 Args:
@@ -2769,10 +2769,11 @@ def get_deployment_conversation(self, deployment_conversation_id: str = None, ex
27692769 get_unused_document_uploads (bool): If true, unused document uploads will be returned. Default is false.
27702770 start (int): The start index of the conversation.
27712771 limit (int): The limit of the conversation.
2772+ include_all_versions (bool): If True, includes all versions of the last bot message for version switching functionality.
27722773
27732774 Returns:
27742775 DeploymentConversation: The deployment conversation."""
2775- return self._proxy_request('getDeploymentConversation', 'GET', query_params={'deploymentConversationId': deployment_conversation_id, 'externalSessionId': external_session_id, 'deploymentId': deployment_id, 'filterIntermediateConversationEvents': filter_intermediate_conversation_events, 'getUnusedDocumentUploads': get_unused_document_uploads, 'start': start, 'limit': limit}, parse_type=DeploymentConversation, is_sync=True)
2776+ return self._proxy_request('getDeploymentConversation', 'GET', query_params={'deploymentConversationId': deployment_conversation_id, 'externalSessionId': external_session_id, 'deploymentId': deployment_id, 'filterIntermediateConversationEvents': filter_intermediate_conversation_events, 'getUnusedDocumentUploads': get_unused_document_uploads, 'start': start, 'limit': limit, 'includeAllVersions': include_all_versions }, parse_type=DeploymentConversation, is_sync=True)
27762777
27772778 def list_deployment_conversations(self, deployment_id: str = None, external_application_id: str = None, conversation_type: Union[DeploymentConversationType, str] = None, fetch_last_llm_info: bool = False, limit: int = None, search: str = None) -> List[DeploymentConversation]:
27782779 """Lists all conversations for the given deployment and current user.
@@ -5276,9 +5277,7 @@ def create_merge_feature_group(self, source_feature_group_id: str, table_name: s
52765277 description (str): Human-readable description of this feature group.
52775278
52785279 Returns:
5279- FeatureGroup: The created feature group.
5280- Description:
5281- Creates a new feature group defined as the union of other feature group versions."""
5280+ FeatureGroup: The created feature group."""
52825281 return self._call_api('createMergeFeatureGroup', 'POST', query_params={}, body={'sourceFeatureGroupId': source_feature_group_id, 'tableName': table_name, 'mergeConfig': merge_config, 'description': description}, parse_type=FeatureGroup)
52835282
52845283 def create_operator_feature_group(self, source_feature_group_id: str, table_name: str, operator_config: Union[dict, OperatorConfig], description: str = None) -> FeatureGroup:
0 commit comments