Skip to content

PromptSuggestion

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970858333488["session_updates.PromptSuggestion"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970858333488
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: A prompt the client can offer to the user.

Source code in src/aclientp/schema/session_updates.py
class PromptSuggestion(AnnotatedObject):
    """**UNSTABLE**: A prompt the client can offer to the user."""

    prompt: Sequence[ContentBlock]
    """The content of the suggested prompt."""

prompt instance-attribute

prompt: Sequence[ContentBlock]

The content of the suggested prompt.

:fa-brands-github: Show source on GitHub