Skip to content

PromptSuggestion

Base classes

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

⋔ Inheritance diagram

graph TD
  95970869901968["session_updates.PromptSuggestion"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970869901968
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: A prompt the agent predicts the user will send next.

Source code in src/aclientp/schema/v2/session_updates.py
class PromptSuggestion(AnnotatedObject):
    """**UNSTABLE**: A prompt the agent predicts the user will send next."""

    prompt: Sequence[ContentBlock] = Field(min_length=1)
    """The content of the suggested prompt."""

prompt class-attribute instance-attribute

prompt: Sequence[ContentBlock] = Field(min_length=1)

The content of the suggested prompt.

:fa-brands-github: Show source on GitHub