What does EDN do?
What does EDN do?
EDN (Episodic Dialogue Network) gives your AI app persistent memory. Your app saves each exchange to EDN, then asks EDN for the relevant memory before each model call, as a Session Initialization Package (SIP). See How EDN works.
Does EDN answer questions or call my model?
Does EDN answer questions or call my model?
The EDN Memory API never answers questions for you and never calls your model: your app sends the SIP to its own model. EDN works with any model: Anthropic, OpenAI, open-source or your own. In the Console, EDN sends your messages to the model you connect in Model settings.
Which AI model does EDN use?
Which AI model does EDN use?
EDN uses Anthropic’s Claude Haiku model when your app saves an exchange, to detect facts and corrections, and when it checks an AI response against the SIP in Classify an AI response. Building a SIP and searching memory do not use a generative AI model. See Data handling for what is sent.
What is provenance?
What is provenance?
Every memory records where it came from, such as User stated (
USER_STATED), Document verified (DOCUMENT_VERIFIED) or AI inferred (AI_INFERRED). Unconfirmed AI output is never included in a SIP. See Provenance.What happens when a user corrects a fact?
What happens when a user corrects a fact?
EDN saves the correction as a new memory and, where it matches an earlier fact, replaces it. The old fact stays in the history. See Corrections.
Which files can I upload?
Which files can I upload?
PDF, Word, Excel, PowerPoint, Markdown, plain text, HTML, CSV and images, up to 5 MB and 30 pages per file, with up to 8 scanned pages. See Upload a document.
What are the usage limits?
What are the usage limits?
Each account has a per-minute request limit and a daily limit on saving memory and on building SIPs. Over a limit, EDN returns
429 with a Retry-After header. See Overview.How do I handle errors?
How do I handle errors?
Every error returns a JSON body with
detail and code. Check code in your app. Retry 429 after the Retry-After header. Retry 503 after the Retry-After header when it is sent, otherwise after a short wait. For 409 with DUPLICATE_IN_PROGRESS, wait until the file is ready. Fix the request for other 4xx errors. See Error handling.Is there an SDK?
Is there an SDK?
EDN is a REST API, so you can call it from any language that can make HTTP requests. The docs show examples in cURL, Python and JavaScript.
How do I get an API key?
How do I get an API key?
Sign in to the Console and create a key on the API Keys page. The full key is shown once. See Authentication.
Who can see my data?
Who can see my data?
All memory, documents, projects and sessions belong to the account that owns the API key. A request for a specific item in another account returns
404, and lists return only your own data. See Data handling.How do I export or delete my data?
How do I export or delete my data?
In the Console, you can download your account’s data as one JSON file, or export your memories in the Portable AI Memory (PAM) format. A deleted account is permanently deleted after a 30-day grace period. See Privacy and data.
Where can I get help?
Where can I get help?
Email support@tensorpro.ai.
