Back to Copilotkit

Copilot Anthropic Pinecone Demo Example

examples/v1/_legacy/copilot-anthropic-pinecone/README.md

1.57.01.1 KB
Original Source

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
  1. Install dependencies:
bash
pnpm i
  1. Set up Pinecone and Anthropic Acc:
  • Create a Pinecone and Anthropic accounts
  • Note your API keys
  1. 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"
  1. Start the development server:
bash
pnpm dev
  1. Open 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