UNPKG

graphzep

Version:

GraphZep: A temporal knowledge graph memory system for AI agents based on the Zep paper

14 lines (13 loc) 504 B
import { z } from 'zod'; import { BaseLLMClient, LLMConfig, LLMResponse } from './client'; export interface OpenAIConfig extends LLMConfig { apiKey: string; baseURL?: string; organization?: string; } export declare class OpenAIClient extends BaseLLMClient { private client; constructor(config: OpenAIConfig); generateResponse<T = string>(prompt: string, schema?: z.ZodSchema<T>): Promise<LLMResponse<T>>; generateStructuredResponse<T>(prompt: string, schema: z.ZodSchema<T>): Promise<T>; }