> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tensorpro.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# FAQ

> Short answers to common technical questions about EDN and the EDN Memory API.

> [accordion] 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](https://docs.tensorpro.ai/concepts/how-edn-works.md).

> [accordion] 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**.

> [accordion] 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](https://docs.tensorpro.ai/reference/data-handling.md#model-use) for what is sent.

> [accordion] 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](https://docs.tensorpro.ai/concepts/provenance.md).

> [accordion] 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](https://docs.tensorpro.ai/concepts/corrections.md).

> [accordion] 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](https://docs.tensorpro.ai/api-reference/ingest-document.md#supported-files).

> [accordion] 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](https://docs.tensorpro.ai/api-reference/overview.md#errors-and-rate-limits).

> [accordion] 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](https://docs.tensorpro.ai/reference/errors.md).

> [accordion] 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.

> [accordion] How do I get an API key?
>
> Sign in to the Console and create a key on the [API Keys](https://docs.tensorpro.ai/console/api-keys.md) page. The full key is shown once. See [Authentication](https://docs.tensorpro.ai/authentication.md).

> [accordion] 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](https://docs.tensorpro.ai/reference/data-handling.md#who-can-see-your-data).

> [accordion] 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](https://docs.tensorpro.ai/console/privacy-and-data.md).

> [accordion] Where can I get help?
>
> Email [support@tensorpro.ai](mailto:support@tensorpro.ai).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.