Files
2026-07-13 12:58:18 +08:00

54 lines
1.1 KiB
Markdown

# Copilot Anthropic Pinecone Demo Example
## 🛠️ Getting Started
### Prerequisites
- Node.js 18+
- yarn
- Anthropic API key
- Pinecone account and API key
### Installation Steps
1. Clone the repository:
```bash
git clone https://github.com/CopilotKit/CopilotKit.git
```
- /examples/copilot-anthropic-pinecone
2. Install dependencies:
```bash
pnpm i
```
3. Set up Pinecone and Anthropic Acc:
- Create a Pinecone and Anthropic accounts
- Note your API keys
4. Configure environment variables:
Create a `.env` file with:
```bash
ANTHROPIC_API_KEY="your_anthropic_key"
PINECONE_API_KEY="your_pinecone_key"
NEXT_PUBLIC_API_BASE_URL="app_base_URK"
```
5. Start the development server:
```bash
pnpm dev
```
6. Open [http://localhost:3000](http://localhost:3000) in your browser
## 📚 Additional Resources
For a complete guide on building this project, check out our detailed tutorial:
[Build a RAG Copilot on Your Own Knowledge Base with CopilotKit, Pinecone & Anthropic](https://dev.to/copilotkit/build-a-rag-copilot-on-your-own-knowledge-base-with-copilotkit-pinecone-anthropic-21m9)