Skip to content

PromptSuggestion

Base classes

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

⋔ Inheritance diagram

graph TD
  95970871590624["field_meta.PromptSuggestion"]
  125067848556736["builtins.dict"]
  125067848591872["builtins.object"]
  125067848556736 --> 95970871590624
  125067848591872 --> 125067848556736

🛈 DocStrings

Bases: TypedDict

One predicted next prompt.

Source code in src/aclientp/schema/field_meta.py
class PromptSuggestion(TypedDict):
    """One predicted next prompt."""

    text: str
    """The predicted prompt."""

text instance-attribute

text: str

The predicted prompt.

:fa-brands-github: Show source on GitHub