enterprise-basics
Version:
A utility library for enterprise applications. It streamlines common business tasks by providing functions to process delimited and Excel files, generate professional PDFs, and handle email communications with attachments.
28 lines (27 loc) • 877 B
TypeScript
import type { LanguageModel } from 'ai';
import { z } from 'zod';
declare const azureAIFoundrySchema: z.ZodObject<{
resourceName: z.ZodString;
apiKey: z.ZodString;
}, "strip", z.ZodTypeAny, {
apiKey: string;
resourceName: string;
}, {
apiKey: string;
resourceName: string;
}>;
export type AzureAIFoundryConfig = z.infer<typeof azureAIFoundrySchema>;
export declare const createAzureLLMClient: (resourceName: string, apiKey: string, modelName: string) => LanguageModel;
declare const openAISchema: z.ZodObject<{
apiKey: z.ZodString;
modelName: z.ZodString;
}, "strip", z.ZodTypeAny, {
apiKey: string;
modelName: string;
}, {
apiKey: string;
modelName: string;
}>;
export type OpenAISchema = z.infer<typeof openAISchema>;
export declare const createOpenAILLMClient: (apiKey: string, modelName: string) => LanguageModel;
export {};