Skip to content

PromptResponse

Base classes

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

⋔ Inheritance diagram

graph TD
  3690766577["prompt_requests.PromptResponse"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3690766577
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Response to a prompt request.

Source code in src/clawd_code_sdk/models/prompt_requests.py
class PromptResponse(TypedDict):
    """Response to a prompt request."""

    prompt_response: str
    """The request ID from the corresponding prompt request."""
    selected: str
    """The key of the selected option."""

prompt_response instance-attribute

prompt_response: str

The request ID from the corresponding prompt request.

selected instance-attribute

selected: str

The key of the selected option.

:fa-brands-github: Show source on GitHub