AI-powered ChatHN was recently launched on Hacker News Feed. ChatHN is a free and open source artificial intelligence (AI) chatbot built with OpenAI Functions and Vercel AI SDK for conversational interactions with Hacker News API. Using the instructions in https://github.com/steven-tey/chathnanyone can deploy their ChatHN instance with a single click.
ChatHN is a platform that facilitates conversational interactions with Hacker News (HN). Features include retrieving the most popular articles, a specific article, or an article along with comments from Hacker News. ChatHN can also be used to summarize the most popular story and comments on Hacker News. ChatHN aims to facilitate conversational access to Hacker News material without requiring direct use of the Hacker News website or API.
Completely free to use and modify, it was developed using the following:
- New OpenAI function call feature
- Vercel AI SDK
- HackerNews API
Take a look here: chathn.vercel.app
OpenAI functions
Models developed by OpenAI called GPT (Generative Pretrained Transformer) can interpret both human language and computer code. In reaction to the inputs given to them, GPTs generate texts. Inputs to GPTs are often referred to as “prompts” for short. To “program” a GPT model, an indicator must first be designed, which usually consists of instructions and examples of the desired behavior. The input of a chat model is a collection of messages; its output is a new message. The chat style was created to facilitate lengthy discussions, but it can also be used effectively for shorter interactions.
Knowing how to optimize your work with GPT can significantly affect how quickly and efficiently your applications run. Sometimes it is obvious how to avoid or correct the many failure modes that GPTs exhibit. Working with GPT requires a set of skills called “rapid engineering”, but as the topic has progressed its focus has broadened to include engineering systems that use model queries as building blocks.
Vercel AI SDK
Vercel AI SDK is a free library for building conversational streaming user interfaces in JavaScript and TypeScript. The SDK supports Node.js, Serverless, Edge Runtime, React/Next.js, Svelte/SvelteKit, and Vue/Nuxt.
Features that make ChatHN great
Some of the most notable features of ChatHN are:
- ChatHN is a tool to read the most popular stories on Hacker News. Based on the number of votes and comments, it shows the most recent and discussed articles. You can also specify the number of stories you want to get.
- Using ChatHN and the story ID, a user can retrieve a specific Hacker News article. This provides information about the story, including its title, author, rating, and URL.
- Annotated Narrative: It is possible to purchase a single Hacker News story along with all the comments that have been made about it. This feature helps to examine the comments and thoughts of the Hacker News community on a specific story.
- The most popular article on Hacker News, along with the comments, can be summed up as ChatHN. This feature describes the most discussed article in Hacker News in a concise format.
Verify project page, tweet 1and tweet 2. Don’t forget to join our 25k+ ML SubReddit, discord channel, and electronic newsletter, where we share the latest AI research news, exciting AI projects, and more. If you have any questions about the article above or if we missed anything, feel free to email us at [email protected]
Featured Tools:
🚀 Check out 100 AI tools at AI Tools Club
Dhanshree Shenwai is a Computer Engineer and has good experience in FinTech companies covering Finance, Cards & Payments and Banking domain with strong interest in AI applications. She is enthusiastic about exploring new technologies and advancements in today’s changing world, making everyone’s life easier.