OpenResponsesInput - TypeScript SDK
OpenResponsesInput method reference
Input for a response request - can be a string or array of items
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
OpenResponsesInput method reference
stringconst value: string =
"[{\"role\":\"user\",\"content\":\"What is the weather today?\"}]";
models.OpenResponsesInput1[]const value: models.OpenResponsesInput1[] = [
{
role: "user",
content: "What is the weather today?",
},
];