8000 GitHub - anandwana001/doc-talk · GitHub
[go: up one dir, main page]

Skip to content
anandwana001Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

DocTalk SDK

An open-source, self-hosted SDK that adds a voice AI assistant to any documentation site — powered by Agora Conversational AI.

Users click a button, speak naturally, and get spoken answers directly from your documentation. No typing, no searching.

User speaks → Agora ASR → GPT-4o-mini → MiniMax TTS → User hears the answer
                               ↕ MCP
                         search_docs(query)
                         → relevant doc chunks

What you get

  • Server SDK — a Next.js app you deploy once (Vercel, Railway, anywhere)
  • Client SDK — doctalk.js, a zero-dependency script you drop into any website with 2 lines
  • Your infrastructure 836C — your Agora account, your docs, your data, your costs

Quick start

1. Prerequisites

2. Clone and install

git clone https://github.com/anandwana001/doc-talk.git
cd doc-talk
pnpm install

3. Configure

cp .env.local.example .env.local

Fill in your Agora credentials and point to your docs. See Configuration.

4. Run

pnpm dev
# http://localhost:3000

Open http://localhost:3000/embed to test the voice UI in your browser.

5. Add to your website

<script src="https://YOUR-DOCTALK-URL/doctalk.js"></script>
<script>
  DocTalk.init({ apiBase: 'https://YOUR-DOCTALK-URL' });
</script>

See Integration guide for all options.


Documentation

Guide What's inside
How it works Architecture, Agora voice pipeline, MiniSearch RAG, transcript links
Configuration All environment variables, docs source options
Integration Adding to your website, widget options, iframe details
Deployment Vercel deploy, production checklist, API auth
Roadmap Known limitations and planned improvements

Tech stack

Layer Technology
Voice pipeline Agora Conversational AI Engine
Real-time transport Agora SD-RTN
Transcripts Agora RTM
Framework Next.js 16 (App Router)
Doc retrieval MCP + MiniSearch (BM25, pre-built index, per-turn)
Client widget Vanilla JS — zero dependencies
Styling Tailwind CSS

License

MIT — free to use, modify, and self-host commercially.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0