abacusai.chatllm_task ===================== .. py:module:: abacusai.chatllm_task Classes ------- .. autoapisummary:: abacusai.chatllm_task.ChatllmTask Module Contents --------------- .. py:class:: ChatllmTask(client, chatllmTaskId=None, daemonTaskId=None, taskType=None, name=None, instructions=None, description=None, lifecycle=None, scheduleInfo=None, externalApplicationId=None, deploymentConversationId=None, sourceDeploymentConversationId=None, enableEmailAlerts=None, email=None, numUnreadTaskInstances=None, computePointsUsed=None, displayMarkdown=None, requiresNewConversation=None, executionMode=None, taskDefinition=None, webAppHostname=None, triggerType=None, webhookUrl=None, pushNotificationsEnabled=None, hostedDatabase={}, latestDaemonTaskInstance={}) Bases: :py:obj:`abacusai.return_class.AbstractApiClass` A chatllm task :param client: An authenticated API Client instance :type client: ApiClient :param chatllmTaskId: The id of the chatllm task. :type chatllmTaskId: str :param daemonTaskId: The id of the daemon task. :type daemonTaskId: str :param taskType: The type of task ('chatllm' or 'daemon'). :type taskType: str :param name: The name of the chatllm task. :type name: str :param instructions: The instructions of the chatllm task. :type instructions: str :param description: The description of the chatllm task. :type description: str :param lifecycle: The lifecycle of the chatllm task. :type lifecycle: str :param scheduleInfo: The schedule info of the chatllm task. :type scheduleInfo: dict :param externalApplicationId: The external application id associated with the chatllm task. :type externalApplicationId: str :param deploymentConversationId: The deployment conversation id associated with the chatllm task. :type deploymentConversationId: str :param sourceDeploymentConversationId: The source deployment conversation id associated with the chatllm task. :type sourceDeploymentConversationId: str :param enableEmailAlerts: Whether email alerts are enabled for the chatllm task. :type enableEmailAlerts: bool :param email: The email to send alerts to. :type email: str :param numUnreadTaskInstances: The number of unread task instances for the chatllm task. :type numUnreadTaskInstances: int :param computePointsUsed: The compute points used for the chatllm task. :type computePointsUsed: int :param displayMarkdown: The display markdown for the chatllm task. :type displayMarkdown: str :param requiresNewConversation: Whether a new conversation is required for the chatllm task. :type requiresNewConversation: bool :param executionMode: The execution mode of the chatllm task. :type executionMode: str :param taskDefinition: The task definition (for web_service_trigger tasks). :type taskDefinition: dict :param webAppHostname: The hostname of the web app associated with the daemon task. :type webAppHostname: str :param triggerType: The trigger type of the daemon task (scheduled or event_based). :type triggerType: str :param webhookUrl: The webhook URL for event-based daemon tasks. :type webhookUrl: str :param pushNotificationsEnabled: Whether push notifications are enabled for the task. :type pushNotificationsEnabled: bool :param hostedDatabase: The hosted database for the daemon task. :type hostedDatabase: HostedDatabase :param latestDaemonTaskInstance: The latest task instance for daemon tasks. :type latestDaemonTaskInstance: DaemonTaskInstance .. py:attribute:: chatllm_task_id :value: None .. py:attribute:: daemon_task_id :value: None .. py:attribute:: task_type :value: None .. py:attribute:: name :value: None .. py:attribute:: instructions :value: None .. py:attribute:: description :value: None .. py:attribute:: lifecycle :value: None .. py:attribute:: schedule_info :value: None .. py:attribute:: external_application_id :value: None .. py:attribute:: deployment_conversation_id :value: None .. py:attribute:: source_deployment_conversation_id :value: None .. py:attribute:: enable_email_alerts :value: None .. py:attribute:: email :value: None .. py:attribute:: num_unread_task_instances :value: None .. py:attribute:: compute_points_used :value: None .. py:attribute:: display_markdown :value: None .. py:attribute:: requires_new_conversation :value: None .. py:attribute:: execution_mode :value: None .. py:attribute:: task_definition :value: None .. py:attribute:: web_app_hostname :value: None .. py:attribute:: trigger_type :value: None .. py:attribute:: webhook_url :value: None .. py:attribute:: push_notifications_enabled :value: None .. py:attribute:: hosted_database .. py:attribute:: latest_daemon_task_instance .. py:attribute:: deprecated_keys .. py:method:: __repr__() .. py:method:: to_dict() Get a dict representation of the parameters in this class :returns: The dict value representation of the class parameters :rtype: dict