Skip to main content
Version: Next

Function: DEFAULT_STRUCTURED_OUTPUT_PROMPT()

DEFAULT_STRUCTURED_OUTPUT_PROMPT(structuredOutputSchema): string

Defined in: packages/react-native-executorch/src/constants/llmDefaults.ts:18

Generates a default structured output prompt based on the provided JSON schema.

Parameters

structuredOutputSchema

string

A string representing the JSON schema for the desired output format.

Returns

string

A prompt string instructing the model to format its output according to the given schema.