abacusai.api_class.dataset_application_connector

Classes

ApplicationConnectorDatasetConfig

An abstract class for dataset configs specific to application connectors.

ConfluenceDatasetConfig

Dataset config for Confluence Application Connector

GoogleAnalyticsDatasetConfig

Dataset config for Google Analytics Application Connector

GoogleDriveDatasetConfig

Dataset config for Google Drive Application Connector

JiraDatasetConfig

Dataset config for Jira Application Connector

OneDriveDatasetConfig

Dataset config for OneDrive Application Connector

SharepointDatasetConfig

Dataset config for Sharepoint Application Connector

ZendeskDatasetConfig

Dataset config for Zendesk Application Connector

AbacusUsageMetricsDatasetConfig

Dataset config for Abacus Usage Metrics Application Connector

TeamsScraperDatasetConfig

Dataset config for Teams Scraper Application Connector

FreshserviceDatasetConfig

Dataset config for Freshservice Application Connector

_ApplicationConnectorDatasetConfigFactory

Helper class that provides a standard way to create an ABC using

Module Contents

class abacusai.api_class.dataset_application_connector.ApplicationConnectorDatasetConfig

Bases: abacusai.api_class.dataset.DatasetConfig

An abstract class for dataset configs specific to application connectors.

Parameters:
  • application_connector_type (enums.ApplicationConnectorType) – The type of application connector

  • application_connector_id (str) – The ID of the application connector

  • document_processing_config (DatasetDocumentProcessingConfig) – The document processing configuration. Only valid if is_documentset is True for the dataset.

application_connector_type: abacusai.api_class.enums.ApplicationConnectorType
application_connector_id: str
document_processing_config: abacusai.api_class.dataset.DatasetDocumentProcessingConfig
classmethod _get_builder()
class abacusai.api_class.dataset_application_connector.ConfluenceDatasetConfig

Bases: ApplicationConnectorDatasetConfig

Dataset config for Confluence Application Connector :param location: The location of the pages to fetch :type location: str :param space_key: The space key of the space from which we fetch pages :type space_key: str :param pull_attachments: Whether to pull attachments for each page :type pull_attachments: bool :param extract_bounding_boxes: Whether to extract bounding boxes from the documents :type extract_bounding_boxes: bool

location: str
space_key: str
pull_attachments: bool
extract_bounding_boxes: bool
__post_init__()
class abacusai.api_class.dataset_application_connector.GoogleAnalyticsDatasetConfig

Bases: ApplicationConnectorDatasetConfig

Dataset config for Google Analytics Application Connector

Parameters:
  • location (str) – The view id of the report in the connector to fetch

  • start_timestamp (int) – Unix timestamp of the start of the period that will be queried

  • end_timestamp (int) – Unix timestamp of the end of the period that will be queried

location: str
start_timestamp: int
end_timestamp: int
__post_init__()
class abacusai.api_class.dataset_application_connector.GoogleDriveDatasetConfig

Bases: ApplicationConnectorDatasetConfig

Dataset config for Google Drive Application Connector

Parameters:
  • location (str) – The regex location of the files to fetch

  • csv_delimiter (str) – If the file format is CSV, use a specific csv delimiter

  • extract_bounding_boxes (bool) – Signifies whether to extract bounding boxes out of the documents. Only valid if is_documentset if True

  • merge_file_schemas (bool) – Signifies if the merge file schema policy is enabled. Not applicable if is_documentset is True

location: str
csv_delimiter: str
extract_bounding_boxes: bool
merge_file_schemas: bool
__post_init__()
class abacusai.api_class.dataset_application_connector.JiraDatasetConfig

Bases: ApplicationConnectorDatasetConfig

Dataset config for Jira Application Connector

Parameters:
  • jql (str) – The JQL query for fetching issues

  • custom_fields (list) – A list of custom fields to include in the dataset

  • include_comments (bool) – Fetch comments for each issue

  • include_watchers (bool) – Fetch watchers for each issue

jql: str
custom_fields: list
include_comments: bool
include_watchers: bool
__post_init__()
class abacusai.api_class.dataset_application_connector.OneDriveDatasetConfig

Bases: ApplicationConnectorDatasetConfig

Dataset config for OneDrive Application Connector

Parameters:
  • location (str) – The regex location of the files to fetch

  • csv_delimiter (str) – If the file format is CSV, use a specific csv delimiter

  • extract_bounding_boxes (bool) – Signifies whether to extract bounding boxes out of the documents. Only valid if is_documentset if True

  • merge_file_schemas (bool) – Signifies if the merge file schema policy is enabled. Not applicable if is_documentset is True

location: str
csv_delimiter: str
extract_bounding_boxes: bool
merge_file_schemas: bool
__post_init__()
class abacusai.api_class.dataset_application_connector.SharepointDatasetConfig

Bases: ApplicationConnectorDatasetConfig

Dataset config for Sharepoint Application Connector

Parameters:
  • location (str) – The regex location of the files to fetch

  • csv_delimiter (str) – If the file format is CSV, use a specific csv delimiter

  • extract_bounding_boxes (bool) – Signifies whether to extract bounding boxes out of the documents. Only valid if is_documentset if True

  • merge_file_schemas (bool) – Signifies if the merge file schema policy is enabled. Not applicable if is_documentset is True

location: str
csv_delimiter: str
extract_bounding_boxes: bool
merge_file_schemas: bool
__post_init__()
class abacusai.api_class.dataset_application_connector.ZendeskDatasetConfig

Bases: ApplicationConnectorDatasetConfig

Dataset config for Zendesk Application Connector

Parameters:

location (str) – The regex location of the files to fetch

location: str
__post_init__()
class abacusai.api_class.dataset_application_connector.AbacusUsageMetricsDatasetConfig

Bases: ApplicationConnectorDatasetConfig

Dataset config for Abacus Usage Metrics Application Connector

Parameters:
  • include_entire_conversation_history (bool) – Whether to show the entire history for this deployment conversation

  • include_all_feedback (bool) – Whether to include all feedback for this deployment conversation

include_entire_conversation_history: bool
include_all_feedback: bool
__post_init__()
class abacusai.api_class.dataset_application_connector.TeamsScraperDatasetConfig

Bases: ApplicationConnectorDatasetConfig

Dataset config for Teams Scraper Application Connector

Parameters:
  • pull_chat_messages (bool) – Whether to pull teams chat messages

  • pull_channel_posts (bool) – Whether to pull posts for each channel

  • pull_transcripts (bool) – Whether to pull transcripts for calendar meetings

pull_chat_messages: bool
pull_channel_posts: bool
pull_transcripts: bool
__post_init__()
class abacusai.api_class.dataset_application_connector.FreshserviceDatasetConfig

Bases: ApplicationConnectorDatasetConfig

Dataset config for Freshservice Application Connector

__post_init__()
class abacusai.api_class.dataset_application_connector._ApplicationConnectorDatasetConfigFactory

Bases: abacusai.api_class.abstract._ApiClassFactory

Helper class that provides a standard way to create an ABC using inheritance.

config_abstract_class
config_class_key = 'application_connector_type'
config_class_map