An open API service indexing awesome lists of open source software.

https://github.com/pinecone-io/chatbot-demo


https://github.com/pinecone-io/chatbot-demo

Last synced: 7 months ago
JSON representation

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
```