graphzep
Version:
GraphZep: A temporal knowledge graph memory system for AI agents based on the Zep paper
14 lines • 388 B
JavaScript
export class BaseLLMClient {
config;
constructor(config) {
this.config = config;
}
validateResponse(response, schema) {
const result = schema.safeParse(response);
if (!result.success) {
throw new Error(`Schema validation failed: ${result.error.message}`);
}
return result.data;
}
}
//# sourceMappingURL=client.js.map