https://github.com/pinecone-io/chatbot-demo
https://github.com/pinecone-io/chatbot-demo
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pinecone-io/chatbot-demo
- Owner: pinecone-io
- Created: 2023-03-15T21:06:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-17T21:55:16.000Z (11 months ago)
- Last Synced: 2025-04-08T16:06:36.324Z (8 months ago)
- Language: TypeScript
- Size: 1.52 MB
- Stars: 282
- Watchers: 13
- Forks: 175
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pinecone Chatbot Demo
To run this demo, you need to have:
1. A Pinecone account. If you don't have one, you can sign up for free at [pinecone.io](https://www.pinecone.io).
2. An OpenAI account. If you don't have one, you can sign up for free at [openai.com](https://www.openai.com).
3. An Ably account. If you don't have one, you can sign up for free at [ably.io](https://www.ably.io).
4. A FingerprintJS account. If you don't have one, you can sign up for free at [fingerprintjs.com](https://www.fingerprintjs.com).
5. A CockroachDB account. If you don't have one, you can sign up for free at [cockroachlabs.com](https://www.cockroachlabs.com).
## Setup
1. Clone this repository
```bash
git clone https://github.com/pinecone-io/chatbot-demo.git
```
2. Install dependencies
```bash
cd chatbot-demo
npm install
```
3. Create your Pinecone, OpenAI, Ably, FingerprintJS and Cockroach accounts and get your API keys
4. Create your Pinecone index
5. Create a `.env` file in the root directory of the project and add your API keys:
```
OPENAI_API_KEY=...
PINECONE_API_KEY=...
PINECONE_ENVIRONMENT=...
PINECONE_INDEX_NAME=...
DATABASE_URL=...
ABLY_API_KEY=...
FINGERPRINTJS_API_KEY=...
API_ROOT="http://localhost:3000"
```
## Start the development server
```bash
npm run dev
```