We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6831f7f commit 9a416b6Copy full SHA for 9a416b6
shared/llm/llm.model.ts
@@ -90,7 +90,7 @@ export interface GenerateTextOptions extends CallSettings {
90
/**
91
* Options when generating text expecting JSON
92
*/
93
-export type GenerateJsonOptions = Omit<GenerateTextOptions, 'type'>;
+export type GenerateJsonOptions = Omit<GenerateTextOptions, 'type'> & { jsonSchema?: any };
94
95
/*
96
Types from the 'ai' package:
0 commit comments