react-native-executorch
Version:
An easy way to run AI models in React Native with ExecuTorch
7 lines • 476 B
TypeScript
import { ToolCall } from '../types/llm';
import { Schema } from 'jsonschema';
import * as zCore from 'zod/v4/core';
export declare const parseToolCall: (message: string) => ToolCall[];
export declare const getStructuredOutputPrompt: <T extends zCore.$ZodType>(responseSchema: T | Schema) => string;
export declare const fixAndValidateStructuredOutput: <T extends zCore.$ZodType>(output: string, responseSchema: T | Schema) => zCore.output<T>;
//# sourceMappingURL=llm.d.ts.map