abacusai.chatllm_task

Classes

ChatllmTask

A chatllm task

Module Contents

class abacusai.chatllm_task.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, computePointsUsed=None, displayMarkdown=None, requiresNewConversation=None, executionMode=None, offerModelSwitch=None, taskDefinition=None, webAppHostname=None, triggerType=None, nextRunSkipped=None, skippedRunTime=None, webhookUrl=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, hostedDatabase={}, latestDaemonTaskInstance={})

Bases: abacusai.return_class.AbstractApiClass

A chatllm task

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • chatllmTaskId (str) – The id of the chatllm task.

  • daemonTaskId (str) – The id of the daemon task.

  • taskType (str) – The type of task (‘chatllm’ or ‘daemon’).

  • name (str) – The name of the chatllm task.

  • instructions (str) – The instructions of the chatllm task.

  • description (str) – The description of the chatllm task.

  • lifecycle (str) – The lifecycle of the chatllm task.

  • scheduleInfo (dict) – The schedule info of the chatllm task.

  • externalApplicationId (str) – The external application id associated with the chatllm task.

  • deploymentConversationId (str) – The deployment conversation id associated with the chatllm task.

  • sourceDeploymentConversationId (str) – The source deployment conversation id associated with the chatllm task.

  • sourceDeploymentConversationName (str) – The name of the source deployment conversation, for linking back to it.

  • latestSourceDeploymentConversationId (str) – The most recent conversation in the source conversation’s thread family (excluding task-run conversations).

  • enableEmailAlerts (bool) – Whether email alerts are enabled for the chatllm task.

  • email (str) – The email to send alerts to.

  • numUnreadTaskInstances (int) – The number of unread task instances for the chatllm task.

  • computePointsUsed (int) – The compute points used for the chatllm task.

  • displayMarkdown (str) – The display markdown for the chatllm task.

  • requiresNewConversation (bool) – Whether a new conversation is required for the chatllm task.

  • executionMode (str) – The execution mode of the chatllm task.

  • offerModelSwitch (bool) – Whether to offer switching to a cheaper model.

  • taskDefinition (dict) – The task definition (for web_service_trigger tasks).

  • webAppHostname (str) – The hostname of the web app associated with the daemon task.

  • triggerType (str) – The trigger type of the daemon task (scheduled or event_based).

  • nextRunSkipped (bool) – Whether the next scheduled run was stopped (skipped) by the user.

  • skippedRunTime (int) – The unix timestamp of the run being skipped, when next_run_skipped is true.

  • webhookUrl (str) – The webhook URL for event-based daemon tasks.

  • pushNotificationsEnabled (bool) – Whether push notifications are enabled for the task.

  • skills (list) – Names of agent skills pinned to this daemon task.

  • isRsi (bool) – Whether the daemon task is a recursively self-improving (RSI) task.

  • isSupercomputer (bool) – Whether the daemon task runs on the user’s SuperComputer VM (pinned via its conversation).

  • personalAgentComputerId (str) – The id of the SuperComputer VM the task is pinned to, when is_supercomputer is true.

  • currentEffort (str) – The worker effort the task currently runs on (auto/simple/medium/high/xhigh/max).

  • effortLadder (list) – The pickable effort rungs available for this task.

  • isOwner (bool) – Whether the requesting user owns the task.

  • isOrgShared (bool) – Whether the task is shared org-wide.

  • isDirectlyShared (bool) – Whether the task was shared with the requesting user or their groups directly; only set for non-owners.

  • isProjectShared (bool) – 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.

  • sharedPermission (str) – The permission the task was shared with (‘VIEW’ or ‘EDIT’); only set for non-owners.

  • ownerEmail (str) – The task owner’s email; only set for non-owners.

  • resumeRequestId (str) – 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.

  • hostedDatabase (HostedDatabase) – The hosted database for the daemon task.

  • latestDaemonTaskInstance (DaemonTaskInstance) – The latest task instance for daemon tasks.

chatllm_task_id = None
daemon_task_id = None
task_type = None
name = None
instructions = None
description = None
lifecycle = None
schedule_info = None
external_application_id = None
deployment_conversation_id = None
source_deployment_conversation_id = None
source_deployment_conversation_name = None
latest_source_deployment_conversation_id = None
enable_email_alerts = None
email = None
num_unread_task_instances = None
compute_points_used = None
display_markdown = None
requires_new_conversation = None
execution_mode = None
offer_model_switch = None
task_definition = None
web_app_hostname = None
trigger_type = None
next_run_skipped = None
skipped_run_time = None
webhook_url = None
push_notifications_enabled = None
skills = None
is_rsi = None
is_supercomputer = None
personal_agent_computer_id = None
current_effort = None
effort_ladder = None
is_owner = None
is_org_shared = None
is_directly_shared = None
is_project_shared = None
shared_permission = None
owner_email = None
resume_request_id = None
hosted_database
latest_daemon_task_instance
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict