Skip to content

PromptResponse

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970869388848["prompt.PromptResponse"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970869388848
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Acknowledges that the user message was inserted into the conversation.

It does not mean the turn has finished; that is reported with state_update.

Source code in src/aclientp/schema/v2/prompt.py
class PromptResponse(AnnotatedObject):
    """Acknowledges that the user message was inserted into the conversation.

    It does not mean the turn has finished; that is reported with ``state_update``.
    """

    message_id: MessageId
    """ID of the inserted user message; live user message updates use the same ID."""

message_id instance-attribute

message_id: MessageId

ID of the inserted user message; live user message updates use the same ID.

:fa-brands-github: Show source on GitHub