Adds @vectorize-io/hindsight-chat, a wrapper for the Vercel Chat SDK that gives any chat bot (Slack, Discord, Teams, etc.) long-term memory via Hindsight. Includes withHindsightChat() handler wrapper with auto-recall, auto-retain, and memoriesAsSystemPrompt() formatting. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
463 B
TypeScript
22 lines
463 B
TypeScript
export { withHindsightChat } from './wrapper.js';
|
|
export { formatMemoriesAsSystemPrompt } from './format.js';
|
|
export type {
|
|
Budget,
|
|
FactType,
|
|
RecallResult,
|
|
EntityState,
|
|
RecallResponse,
|
|
ReflectFact,
|
|
ReflectResponse,
|
|
RetainResponse,
|
|
HindsightClient,
|
|
BankIdResolver,
|
|
ChatMessage,
|
|
ChatThread,
|
|
MemoryPromptOptions,
|
|
RecallOptions,
|
|
RetainOptions,
|
|
HindsightChatOptions,
|
|
HindsightChatContext,
|
|
HindsightChatHandler,
|
|
} from './types.js';
|