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, sourceDeploymentConversationName=None, latestSourceDeploymentConversationId=None, enableEmailAlerts=None, email=None, numUnreadTaskInstances=None, numUnreadFailedTaskInstances=None, numUnreadLimitBlockedTaskInstances=None, computePointsUsed=None, displayMarkdown=None, requiresNewConversation=None, executionMode=None, offerModelSwitch=None, taskDefinition=None, webAppHostname=None, triggerType=None, nextRunSkipped=None, skippedRunTime=None, webhookUrl=None, eventSource=None, eventFilter=None, pushNotificationsEnabled=None, skills=None, isRsi=None, isSupercomputer=None, personalAgentComputerId=None, currentEffort=None, effortLadder=None, isOwner=None, isOrgShared=None, isDirectlyShared=None, isProjectShared=None, sharedPermission=None, ownerEmail=None, resumeRequestId=None, botId=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 sourceDeploymentConversationName: The name of the source deployment conversation, for linking back to it. :type sourceDeploymentConversationName: str :param latestSourceDeploymentConversationId: The most recent conversation in the source conversation's thread family (excluding task-run conversations). :type latestSourceDeploymentConversationId: 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 numUnreadFailedTaskInstances: The number of unread FAILED task instances for the chatllm task, excluding limit-blocked skips. :type numUnreadFailedTaskInstances: int :param numUnreadLimitBlockedTaskInstances: The number of unread runs skipped by a credit/plan limit, collapsed for display. :type numUnreadLimitBlockedTaskInstances: 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 offerModelSwitch: Whether to offer switching to a cheaper model. :type offerModelSwitch: bool :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 nextRunSkipped: Whether the next scheduled run was stopped (skipped) by the user. :type nextRunSkipped: bool :param skippedRunTime: The unix timestamp of the run being skipped, when next_run_skipped is true. :type skippedRunTime: int :param webhookUrl: The webhook URL for event-based daemon tasks. :type webhookUrl: str :param eventSource: The inbound event source for event-based tasks that are not webhook-driven (e.g. 'gmail'). :type eventSource: str :param eventFilter: Deterministic match rules for the event source (e.g. from_contains, subject_contains). :type eventFilter: dict :param pushNotificationsEnabled: Whether push notifications are enabled for the task. :type pushNotificationsEnabled: bool :param skills: Names of agent skills pinned to this daemon task. :type skills: list :param isRsi: Whether the daemon task is a recursively self-improving (RSI) task. :type isRsi: bool :param isSupercomputer: Whether the daemon task runs on the user's SuperComputer VM (pinned via its conversation). :type isSupercomputer: bool :param personalAgentComputerId: The id of the SuperComputer VM the task is pinned to, when is_supercomputer is true. :type personalAgentComputerId: str :param currentEffort: The worker effort the task currently runs on (auto/simple/medium/high/xhigh/max). :type currentEffort: str :param effortLadder: The pickable effort rungs available for this task. :type effortLadder: list :param isOwner: Whether the requesting user owns the task. :type isOwner: bool :param isOrgShared: Whether the task is shared org-wide. :type isOrgShared: bool :param isDirectlyShared: Whether the task was shared with the requesting user or their groups directly; only set for non-owners. :type isDirectlyShared: bool :param isProjectShared: Whether the task is visible because its source conversation belongs to a project the requesting user is a member of; only set for non-owners. :type isProjectShared: bool :param sharedPermission: The permission the task was shared with ('VIEW' or 'EDIT'); only set for non-owners. :type sharedPermission: str :param ownerEmail: The task owner's email; only set for non-owners. :type ownerEmail: str :param resumeRequestId: The streaming request id for a reply/follow-up just dispatched via answer_daemon_task_input, for the UI to attach the live stream immediately. :type resumeRequestId: str :param botId: The id of the personal agent (bot) that owns the task; only set for bot-managed tasks. :type botId: str :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:: source_deployment_conversation_name :value: None .. py:attribute:: latest_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:: num_unread_failed_task_instances :value: None .. py:attribute:: num_unread_limit_blocked_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:: offer_model_switch :value: None .. py:attribute:: task_definition :value: None .. py:attribute:: web_app_hostname :value: None .. py:attribute:: trigger_type :value: None .. py:attribute:: next_run_skipped :value: None .. py:attribute:: skipped_run_time :value: None .. py:attribute:: webhook_url :value: None .. py:attribute:: event_source :value: None .. py:attribute:: event_filter :value: None .. py:attribute:: push_notifications_enabled :value: None .. py:attribute:: skills :value: None .. py:attribute:: is_rsi :value: None .. py:attribute:: is_supercomputer :value: None .. py:attribute:: personal_agent_computer_id :value: None .. py:attribute:: current_effort :value: None .. py:attribute:: effort_ladder :value: None .. py:attribute:: is_owner :value: None .. py:attribute:: is_org_shared :value: None .. py:attribute:: is_directly_shared :value: None .. py:attribute:: is_project_shared :value: None .. py:attribute:: shared_permission :value: None .. py:attribute:: owner_email :value: None .. py:attribute:: resume_request_id :value: None .. py:attribute:: bot_id :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