abacusai.conversation_usage
Classes
One conversation's spend on one UTC day (listConversationUsage). |
Module Contents
- class abacusai.conversation_usage.ConversationUsage(client, billDate=None, deploymentConversationId=None, name=None, conversationType=None, chatllmProjectId=None, chatllmProjectName=None, ownerUserId=None, isDeleted=None, unit=None, spend=None, turns=None)
Bases:
abacusai.return_class.AbstractApiClassOne conversation’s spend on one UTC day (listConversationUsage).
- Parameters:
client (ApiClient) – An authenticated API Client instance
billDate (str) – The UTC day, YYYY-MM-DD.
deploymentConversationId (id) – The conversation.
name (str) – The conversation title.
conversationType (str) – The type of the conversation.
chatllmProjectId (id) – The ChatLLM project the conversation is in. Absent when it is in none, or has been deleted.
chatllmProjectName (str) – That project’s name. Absent when the project no longer exists.
ownerUserId (id) – The member who owns the conversation.
isDeleted (bool) – True when the conversation has been deleted; its spend survives.
unit (str) – ‘usd’ for enterprise organizations, ‘credits’ for self-serve: the unit spend is in.
spend (float) – Spend on that day. An estimate derived from conversation activity, not an invoice line.
turns (int) – Conversation events on that day.
- bill_date = None
- deployment_conversation_id = None
- name = None
- conversation_type = None
- chatllm_project_id = None
- chatllm_project_name = None
- owner_user_id = None
- is_deleted = None
- unit = None
- spend = None
- turns = None
- deprecated_keys
- __repr__()