Part2 - TypeScript SDK
Part2 method reference
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Part2 method reference
models.ResponseOutputTextconst value: models.ResponseOutputText = {
type: "output_text",
text: "The capital of France is Paris.",
};
models.ReasoningTextContentconst value: models.ReasoningTextContent = {
type: "reasoning_text",
text: "Let me think step by step about this problem...",
};
models.OpenAIResponsesRefusalContentconst value: models.OpenAIResponsesRefusalContent = {
type: "refusal",
refusal: "I'm sorry, I cannot assist with that request",
};