Skip to content

GPT Engine for you documents. (This is build as a part of AI learnings)

License

Notifications You must be signed in to change notification settings

Raft-Labs/learn-ai

 
 

Repository files navigation

Chatbot UI Lite

A simple chatbot starter kit for OpenAI's chat model using Next.js, TypeScript, and Tailwind CSS.

Features

The primary focus is on human-readable content like books, letters, and other documents, making it a practical and valuable tool for knowledge extraction and question-answering. You can upload an entire library's worth of books and documents and recieve pointed answers along with the name of the file and specific section within the file that the answer is based on!

What you can do?

  • Upload a variety of popular document types via a simple react frontend to create a custom knowledge base
  • Retrieve accurate and relevant answers based on the content of your uploaded documents
  • See the filenames and specific context snippets that inform the answer
  • Explore the power of the OP Stack (OpenAI + Pinecone Vector Database) in a - user-friendly interface
  • Load entire libraries' worth of books into The Vault

Running Locally

1. Clone Repo

git clone https://github.com/maddygoround/learn-ai.git

2. Install Dependencies

npm i

3. Provide OpenAI API Key

Create a .env.local file in the root of the repo with your OpenAI API Key:

OPENAI_API_KEY=<YOUR_KEY>

4. Run App

npm run dev

5. Start Building

You should be able to start chatting with the bot.

Now, go build the app into whatever kind of chatbot you want!

About

GPT Engine for you documents. (This is build as a part of AI learnings)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.0%
  • Dockerfile 4.5%
  • JavaScript 1.1%
  • Other 0.4%