Ask a question to get started
Enter to sendā¢Shift+Enter new line
build_messages_input_from_text( text: str, *, instructions: str | None = None ) -> dict
text
str
instructions
str | None
None
Build a {"messages": [...]} payload from a single user text string.
{"messages": [...]}
Convenience wrapper used by the Invocations converter when the body is already a plain string.
The user's message text.
Optional system instructions.