Technology Sharing

Quickly build your own AI chat assistant: ChatHN open source project sharing

2024-07-11

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

55fb06c71708fbeedd1f3e3d4871c5d3.jpeg

Today I would like to introduce a super cool open source project - ChatHN! This is an AI chatbot based on OpenAI Functions and Vercel AI SDK, which can interact with Hacker News API using natural language. Want to know the latest technology trends or hot topics? ChatHN can help you easily!

Project address and presentation

https://github.com/steven-tey/chathn

Deploy your own ChatHN

You can also deploy your own ChatHN through simple operations of vercel.

Local environment construction

To set up ChatHN locally, simply clone this project's repository and configure the following environment variables:

OPENAI_API_KEY: Your OpenAI API key

Technology Stack

ChatHN is built on the following technology stack:

  • Next.js: A powerful React framework that helps you build web applications easily.

  • OpenAI Functions: Used to implement AI completion functions to make your chatbot smarter.

  • Vercel AI SDK: A library for AI streaming media that ensures real-time response.

  • Vercel: Provides simple and fast deployment services.

  • TailwindCSS: A modern CSS framework for beautifying interfaces.

Try ChatHN now. Not only can you keep up with the latest technology trends, but you can also improve your technical level by participating in open source projects!