mirror of
https://github.com/vectorize-io/hindsight.git
synced 2026-09-14 19:31:49 +08:00
7f7d2a0a38
* chore(deps): sweep open medium/high Dependabot alerts across all lockfiles * chore(deps): bump @hey-api/openapi-ts to 0.97.3 and regenerate the TS client * docs(scripts): note that the Deno client patch anchor tracks the generator version
Hindsight for Dify
Persistent long-term memory for Dify workflows via Hindsight.
Three tools — Retain, Recall, Reflect — drop into any Dify workflow alongside your other nodes.
- Author: Vectorize, Inc.
- Repository: https://github.com/vectorize-io/hindsight/tree/main/hindsight-integrations/dify
- Contact: support@vectorize.io · GitHub Issues
Setup
✨ Recommended: Hindsight Cloud — free tier, no self-hosting required. Sign up and grab an API key in under a minute.
- Sign up at Hindsight Cloud (free tier) or self-host.
- Get an API key from the Hindsight dashboard.
- In Dify, install this plugin (Marketplace or upload
.difypkg), then add credentials:- API URL:
https://api.hindsight.vectorize.io(Cloud) or your self-hosted URL - API Key: your
hsk_...key (optional for self-hosted unauthenticated instances)
- API URL:
Tools
Retain
Store content in a bank. Hindsight extracts facts asynchronously after the call returns.
| Field | Description |
|---|---|
| Bank ID | Memory bank to store in (auto-created on first use) |
| Content | Free-text content to retain |
| Tags | Optional comma-separated tags |
Recall
Search a bank for memories relevant to a query. Returns a results array.
| Field | Description |
|---|---|
| Bank ID | Memory bank to search |
| Query | Natural-language query |
| Budget | low / mid / high |
| Max Tokens | Cap on tokens returned |
| Tags | Optional comma-separated tag filter |
Reflect
Get an LLM-synthesized answer over the bank. Returns a text field.
| Field | Description |
|---|---|
| Bank ID | Memory bank |
| Query | Question to answer |
| Budget | low / mid / high |
Example workflow
Customer-support assistant — every closed Zendesk ticket triggers a Retain. Every new ticket starts with a Recall against the bank, then passes the context to your LLM node to draft a first reply.