Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .mintlify/Assistant.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ OpenAI Python/TypeScript SDK (drop-in), LangChain, Claude Code, Continue.dev, Li
## Scope

- Answer questions about Eden AI's API, features, SDKs, integrations, and documentation.
- For billing or account issues, direct users to [Eden AI Support](https://www.edenai.co/) or the in-app Intercom chat.
- Eden AI is an API gateway, not a model training or fine-tuning platform.
- If unsure, say so and refer to the API reference rather than guessing.

## Escalation

When a question is outside the documentation, send the user to the live support chat that runs on this page, not to email.

This covers billing and invoicing, payment methods, quotas and limit increases, account, contract and plan questions, suspected outages, and anything else you cannot answer from the docs.

Tell them to open it with the **Chat with us** link in the navbar or the chat bubble in the bottom-right corner, and mention that the team answers there. Link to [Support](/v3/general/support) when they want the full list of channels, including the status page and dedicated SLA support. Do not offer an email address as the escalation path.
4 changes: 4 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@
},
"navbar": {
"links": [
{
"label": "Chat with us",
"href": "#chat"
},
{
"label": "Website",
"href": "https://edenai.co/"
Expand Down
59 changes: 59 additions & 0 deletions intercom-chat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/**
* "Chat with us" launcher for the Eden AI docs (Mintlify).
*
* How it works:
* Mintlify boots the Intercom messenger itself from `integrations.intercom`
* in docs.json, which means it owns `window.intercomSettings` — so Intercom's
* usual `custom_launcher_selector` option is not available to us. Instead we
* delegate clicks: any link ending in #chat opens the messenger through the
* global `Intercom()` API. Same pattern as the #manage-cookies link handled in
* cookie-consent.js.
*
* Used by the "Chat with us" navbar link (docs.json) and the Live Chat section
* of v3/general/support.mdx.
*
* Intercom is not consent-gated (see cookie-consent.js), so the messenger is
* available on first load. It can still be missing when a privacy extension
* blocks the widget or the snippet is mid-boot, so we poll briefly and then
* give up quietly rather than leaving a dead click that throws.
*/
(function () {
var SELECTOR = 'a[href$="#chat"]';
var BOOT_TIMEOUT_MS = 5000;
var POLL_INTERVAL_MS = 150;

// Mintlify is a SPA; guard against re-registering the listener on
// client-side navigation.
if (window.__edenaiChatLauncherLoaded) return;
window.__edenaiChatLauncherLoaded = true;
Comment on lines +20 to +28

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Expect: the Mintlify script configuration references intercom-chat.js.
rg -n -C 4 'intercom-chat\.js|cookie-consent\.js' \
  --glob '*.json' --glob '*.js' --glob '*.md' --glob '*.mdx' || true

Repository: edenai/docs

Length of output: 149


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== tracked files matching likely config/js/mdx docs =="
git ls-files | rg '(^docs|\.mintlify|mintlify|docs\.json|support\.mdx|intercom-chat\.js|cookie-consent\.js|\.json$|\.mdx$)' | sed -n '1,200p'

echo
echo "== candidate filenames =="
git ls-files | rg 'intercom-chat\.js|cookie-consent\.js|docs\.json|general/support\.mdx|docs.json|mintlify|mintlify|docs' | sed -n '1,200p'

echo
echo "== search intercom-chat references =="
rg -n -C 3 'intercom-chat\.js|integrations|script|script-loads|scripting|cookie-consent|Intercom|chat' --glob '*.json' --glob '*.js' --glob '*.md' --glob '*.mdx' || true

Repository: edenai/docs

Length of output: 4461


Register intercom-chat.js in the Mintlify script config.

The #chat links in docs.json and v3/general/support.mdx depend on this file running, but there is no tracked Mintlify reference to intercom-chat.js. Add it as a loaded script; otherwise those links can silently prevent navigation without opening Intercom.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@intercom-chat.js` around lines 20 - 28, Register intercom-chat.js in the
tracked Mintlify script configuration so it is loaded on the documentation pages
containing `#chat` links, using the existing configuration mechanism for site
scripts. Preserve the script’s current SPA guard and avoid changing its runtime
behavior.


function show() {
if (typeof window.Intercom !== "function") return false;
window.Intercom("show");
return true;
}

// The click can land before Mintlify's Intercom snippet has finished booting,
// so retry until it does or the deadline passes.
function showWhenReady(deadline) {
if (show()) return;
if (Date.now() > deadline) return;
setTimeout(function () {
showWhenReady(deadline);
}, POLL_INTERVAL_MS);
}

// Capture phase so this wins over Mintlify's own anchor handling, which would
// otherwise treat #chat as an on-page heading link.
document.addEventListener(
"click",
function (e) {
var trigger = e.target.closest && e.target.closest(SELECTOR);
if (!trigger) return;
e.preventDefault();
e.stopPropagation();
showWhenReady(Date.now() + BOOT_TIMEOUT_MS);
},
true
);
})();
6 changes: 4 additions & 2 deletions v3/general/support.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@
proficiencyLevel="Intermediate"
keywords={["Eden AI", "AI API", "rate limits", "billing", "monitoring"]}
datePublished="2026-05-06T00:00:00Z"
dateModified="2026-05-07T00:00:00Z"
dateModified="2026-08-04T00:00:00Z"
/>

Eden AI offers several support channels depending on the nature of your question and your plan.

## Live Chat

A direct support chat is available in the [Eden AI dashboard](https://app.edenai.run/). Send your question and our team will respond as soon as possible.
The fastest way to reach us is the support chat, available on every page of this documentation and in the [Eden AI dashboard](https://app.edenai.run/).

**[Chat with us](#chat)** or use the chat bubble in the bottom-right corner. Send your question and our team will respond as soon as possible.

## Status Page

Expand All @@ -45,7 +47,7 @@
Need more than API support? Eden AI offers **Professional Services** with access to dedicated AI engineers who can help you:

- Design and implement AI solutions tailored to your use case
- Productionize AI workflows with monitoring and safety controls

Check warning on line 50 in v3/general/support.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/general/support.mdx#L50

Did you really mean 'Productionize'?
- Choose the right models and providers for your requirements

<Info>
Expand Down
Loading