Peter Fan

my journey exploring the world of information technology

Projects

GPT Chatbot

chatbot_screenshot
🤖 Try the chatbot!

I engineered a GPT chatbot that can answer questions about myself. Through this hobby project, I learned how to use OpenAI's API and the Langchain framework to create a vectorized knowledge base (KB), host the vectorized KB on a vector database, and query the database using a Conversational Q&A Chain. It was a fun project that taught me a lot about the challenges in prompt engineering and the importance of a good knowledge base using structured data.

Tech Stack:
Langchain, OpenAI, Python, React, Pinecone

Tags:
AI, Chatbot, OpenAI, LLM, Prompt Engineering

NextJS Website

website_screenshot
👨‍💻 Link to Homepage

Instead of using a cut-and-paste template, I decided to build my website from scratch using NextJS and Tailwind CSS. I learned a lot about server-side versus client-side rendering, edge computing, and different web app hosting solutions.

Tech Stack:
React, TypeScript, Next.js, Tailwind CSS, Firebase

Tags:
Web Development, RESTful API