Skip to content

PromptResponseMeta

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  95970871588848["field_meta.PromptResponseMeta"]
  125067848556736["builtins.dict"]
  125067848591872["builtins.object"]
  125067848556736 --> 95970871588848
  125067848591872 --> 125067848556736

🛈 DocStrings

Bases: TypedDict

_meta on the session/prompt response.

Source code in src/aclientp/schema/field_meta.py
class PromptResponseMeta(TypedDict, total=False):
    """``_meta`` on the ``session/prompt`` response."""

    quota: Quota
    """Token usage of the turn."""

quota instance-attribute

quota: Quota

Token usage of the turn.

:fa-brands-github: Show source on GitHub