llm-fns 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,3 +27,4 @@ export declare function createJsonSchemaLlmClient(params: CreateJsonSchemaLlmCli
|
|
|
27
27
|
isPromptJsonCached: (messages: OpenAI.Chat.Completions.ChatCompletionMessageParam[], schema: Record<string, any>, options?: JsonSchemaLlmClientOptions) => Promise<boolean>;
|
|
28
28
|
};
|
|
29
29
|
export type JsonSchemaClient = ReturnType<typeof createJsonSchemaLlmClient>;
|
|
30
|
+
export type PromptJsonFunction = JsonSchemaClient['promptJson'];
|
|
@@ -26,3 +26,5 @@ export declare function createZodLlmClient(params: CreateZodLlmClientParams): {
|
|
|
26
26
|
<T extends ZodTypeAny>(mainInstruction: string, userMessagePayload: string | OpenAI.Chat.Completions.ChatCompletionContentPart[], dataExtractionSchema: T, options?: ZodLlmClientOptions): Promise<boolean>;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
+
export type ZodLlmClient = ReturnType<typeof createZodLlmClient>;
|
|
30
|
+
export type PromptZodFunction = ZodLlmClient['promptZod'];
|
package/dist/llmFactory.d.ts
CHANGED