Skip to content

Chat with an AI version of me, Alvin.

Notifications You must be signed in to change notification settings

alvintangz/chat-with-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat with Alvin Screenshot

Chat with an AI version of me, Alvin.


Live Demo: https://chat.alvintang.me

Used: OpenAI GPT and Embedding Models, LangChain, LangServe


This project is a POC for an AI bot designed to chat like me, Alvin. It can answer very basic questions about me and my work experience! It also has the ability to answer questions with the previous chat history in mind.

Deployment

Follow the following steps to deploy.

  1. Create backend.env and frontend.env in the root of this project. Add the necessary environment variables.
    • The environment variables are listed in the README.md files in both backend/ and frontend/ folders.
  2. Add context data in data/context at the root of this project. The data/context folder should only contain multiple markdown files.
    • The markdown files are added into vectorspace and then queried per user input prompt. This queried result is then passed into OpenAI's LLM.
  3. Run docker compose up -d
  4. Now go to http://localhost