Skip to content

thawkin3/pinecone-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pinecone Demo - Customer Service Chat Bot

This app is built using Python 3.9+, Flask 2.0+, and Pinecone. It performs a similarity search using the Pinecone SDK to find similar questions from a dataset.

Demo

Running the app locally

Begin by cloning this git repo and navigating to the project directory.

Next, create a virtual environment and activate it:

python -m venv venv
. venv/bin/activate

Install dependencies by running:

python -m pip install -r requirements.txt

Create an .env file and add your Pinecone API key:

PINECONE_API_KEY=your-key-here

Finally, to run the app on your machine, simply run this command from the terminal:

flask run

Or, to run the app in debug mode, add the FLASK_ENV=development environment variable before the command:

FLASK_ENV=development flask run

The app should now be running on http://127.0.0.1:5000 in your browser.

Resources

Python, pyenv, and pip

Flask

Pinecone

About

This app is built using Python, Flask, and Pinecone. It performs a similarity search using the Pinecone SDK to find similar questions from a dataset.

Topics

Resources

Stars

Watchers

Forks