Installation
Install the SDK using your preferred package manager:- npm
- pnpm
- yarn
- bun
Get Your API Key
Navigate to Dashboard
Go to app.orchata.ai and sign in.
Basic Setup
Create a client instance with your API key:Your First Query
Query your knowledge base using semantic search:Features
Type-Safe
Full TypeScript support with auto-completion and type checking.
Universal
Works with Node.js 18+, Deno, Bun, and modern browsers.
Zero Dependencies
Uses native
fetch - no heavy dependencies.AI-Ready
Built-in tools for Vercel AI SDK v5+ integration.
Next Steps
Usage Guide
Learn about Spaces, Documents, and Queries APIs.
AI Integration
Integrate with Vercel AI SDK for AI-powered applications.
Error Handling
Handle errors gracefully with typed error classes.
API Reference
Explore the REST API documentation.