Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 900 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 900 Bytes

This is an interface for using the chatgpt API

It uses PrimeVue. This is an experiment for my own benefit. Much credit to You will need your personal OpenAi API-KEY. Get it here: https://platform.openai.com/account/api-keys

Much credit to Slamsneider for his inspiration!

Screengrab of PrimeVue Chatbot

Setup

Make sure to install the dependencies:

# yarn
yarn install

Add your OPENAI API KEY, PINECONE INDEX, PINECONE ENVIRONMENT, and PINECONE API KEY to the .env file

Add your PDFs to send to PINECONE in storage/pdfs directory

Development Server

Start the development server on http://localhost:3000:

# yarn
yarn dev

Production

Build the application for production:

# yarn
yarn build

Locally preview production build:

# yarn
yarn preview