UNPKG

@prexo/ai-chat-sdk

Version:

AI Chat Component with Persistent History

16 lines (13 loc) 404 B
import { BaseVectorContext } from '../../lib/types.js'; import 'ai'; import '@upstash/vector'; type GetContextClientParams = { vector?: { url: string; token: string; namespace: string; }; apiKey?: string; }; declare const getContextClient: (params?: GetContextClientParams) => BaseVectorContext | undefined; export { type GetContextClientParams, getContextClient };