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

https://github.com/tushcmd/ram-rag

This is a Rate A Mechanic AI Assistant with Next.js, OpenAI, and Pinecone.
https://github.com/tushcmd/ram-rag

Last synced: about 1 year ago
JSON representation

This is a Rate A Mechanic AI Assistant with Next.js, OpenAI, and Pinecone.

Awesome Lists containing this project

README

          

# Rate a Mechanic RAG App

## Overview

This is a RAG AI Assistant with Next.js, OpenAI, and Pinecone

## Screenshots

![home](public/_static/home.png)
![chat](public/_static/chat.png)
![profile](public/_static/mec-profile.png)

## Technologies

- Next.js - React Framework
- Shadcn UI - Components
- OpenAI - LLM(genAI)
- TailwindCSS - Styling
- Pinecone - Vector DB

## Getting Started

1.Clone the repository:

```bash
git clone https://github.com/tushcmd/ai-customer-support.git
```

2.Install dependencies:

```bash
cd ai-customer-support
npm install
```

3.Set up environment variables:

```bash
cp .env.example .env
```

Edit the `.env` file with all the necessary environment variables.

4.Run the embed script `embedScript.py` to create embeddings and upsert them to our pinecone index

```bash
python embedScript.python
```

5.Run the development server:

```bash
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.