Groo AI
Add an AI assistant to your documentation that answers questions with accurate, cited responses.
What is Groo AI?
Groo AI indexes your documentation from GitHub and provides:
- Semantic Search - Find relevant content based on meaning, not just keywords
- RAG Chat - AI answers with inline source citations
- React SDK - Drop-in chat widget for your website
- OpenAI-Compatible API - Use any OpenAI SDK client
How It Works
Your Docs (GitHub) → Index → Vector Database → AI Chat with Sources
- Connect your GitHub repository
- Index your documentation (triggered on new tags)
- Integrate the chat widget or API into your site
- Users ask questions and get answers with source links
Quick Example
import { AIProvider, GrooChat } from '@groo.dev/ai-react'
function App() {
return (
<AIProvider
projectId="your-project-id"
auth={{
accountsUrl: 'https://accounts.groo.dev',
clientId: 'your-client-id',
}}
>
<GrooChat />
</AIProvider>
)
}
Users get responses like:
To set up authentication, install the auth-react package and wrap your app with AuthProvider.
Sources:
Features
| Feature | Description |
|---|---|
| GitHub Integration | Index from public or private repos |
| Tag-Based Updates | Automatically detect new releases |
| Framework Detection | Auto-configure for Docusaurus, VitePress, etc. |
| OpenAI Compatible | Works with any OpenAI SDK |
| Streaming Responses | Real-time chat experience |
| Source Citations | Every answer includes links to docs |
Getting Started
- Create a project in the Groo AI dashboard
- Connect your GitHub repository
- Wait for indexing to complete
- Integrate using one of our SDKs:
- React SDK - Components and hooks for React apps
- Docusaurus Plugin - Drop-in sidebar for Docusaurus sites
- Core SDK - Low-level client for any JavaScript environment
- REST API - Direct API access