Skip to content

Latest commit

 

History

History
 
 

README.md

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:
git clone https://github.com/CopilotKit/CopilotKit.git
  • /examples/copilot-anthropic-pinecone
  1. Install dependencies:
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:
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:
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