Coder Social home page Coder Social logo

alvintangz / chat-with-me Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.2 MB

Chat with an AI version of me, Alvin.

Home Page: https://chat.alvintang.me

Dockerfile 3.46% Python 24.59% JavaScript 5.00% HTML 7.52% TypeScript 57.00% CSS 2.43%
langchain langserve openai

chat-with-me's Introduction

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

chat-with-me's People

Contributors

alvintangz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.