steven-tey/chathn
View on GitHub ↗ ★ 1,178 TypeScript
Chat with Hacker News using natural language. Built with OpenAI Functions and Vercel AI SDK.
6 mentions on Hacker News by 4 people: 2 stories, 4 comments · first 2023-06-25 · latest 2023-06-27
20082026
-
1. Solved by feeding text version of front page into response - https://github.com/steven-tey/chathn/blob/main/app/api/chat/... . It can not even read linked articles. What you see can be replaced with 4 buttons: get_top_stories +…
comment by Lockal · 2023-06-27 · in ChatHN: Chat with Hacker News using OpenAI function calling -
Oh, I now see why: https://github.com/steven-tey/chathn/blob/main/app/api/chat/... It would be interesting to add a function to a search feature.
comment by tiborsaas · 2023-06-26 · in ChatHN: Chat with Hacker News using OpenAI function calling -
OP here – this is a PoC that is limited to the function/API endpoints you define for it: https://github.com/steven-tey/chathn/blob/main/app/api/chat/... > what's the most popular post on hacker news ever? In this case we'll have to define…
comment by steventey · 2023-06-26 · in ChatHN: Chat with Hacker News using OpenAI function calling -
Looking at the code, It can only delegate actions to the pre configured functions at: https://github.com/steven-tey/chathn/blob/main/app/api/chat/... I wonder whether it is possible to create "atomic" functions to build high level queries…
comment by yonixw · 2023-06-26 · in ChatHN: Chat with Hacker News using OpenAI function calling