abacusai.conversation_credits
Classes
Credits one conversation spent on a single day (_getConversationCreditsForDay). |
Module Contents
- class abacusai.conversation_credits.ConversationCredits(client, deploymentConversationId=None, name=None, conversationType=None, isDeleted=None, unit=None, credits=None, turns=None)
Bases:
abacusai.return_class.AbstractApiClassCredits one conversation spent on a single day (_getConversationCreditsForDay).
- Parameters:
client (ApiClient) – An authenticated API Client instance
deploymentConversationId (id) – The ID of the deployment conversation.
name (str) – The conversation title.
conversationType (str) – The type of the conversation.
isDeleted (bool) – True when the conversation itself has been deleted; its credits survive.
unit (str) – ‘credits’ for self-serve, ‘usd’ for enterprise – the unit credits is expressed in.
credits (float) – Spend on the requested day only, not the conversation’s lifetime.
turns (int) – Conversation events on that day.
- deployment_conversation_id = None
- name = None
- conversation_type = None
- is_deleted = None
- unit = None
- credits = None
- turns = None
- deprecated_keys
- __repr__()