News for hackers. Stuff that matters.
Re:Show HN: ChatHN – Chat with Hacker News using natural lan... by quickthrower2 on Monday June 26, 2023 @06:40AM (#36478006)
Loose lipped large language models!

    Assistant prompt 1: "Retrieve the top stories from Hacker News and provide a summary of the most interesting story."

    System prompt: "The assistant should use the get_top_stories function to retrieve the top stories from Hacker News. Then, it should provide a summary of the most interesting story using the retrieved data. Make sure to include the Hacker News URL to the story in the response."

    Assistant prompt 2: "Retrieve a specific story from Hacker News using its ID and provide a summary."

    System prompt: "The assistant should use the get_story function and provide the ID of a specific story to retrieve it from Hacker News. Then, it should provide a summary of the retrieved story along with the Hacker News URL."

    Assistant prompt 3: "Retrieve a specific story from Hacker News using its ID and provide a summary including its comments."

    System prompt: "The assistant should use the get_story_with_comments function and provide the ID of a specific story to retrieve it from Hacker News along with its comments. Then, it should provide a summary of the story and its comments along with the Hacker News URL."

    Assistant prompt 4: "Summarize the top story from Hacker News, including both the story and its comments."

    System prompt: "The assistant should use the summarize_top_story function to retrieve the top story from Hacker News along with its comments. Then, it should provide a summary of the story and its comments along with the Hacker News URL."

There are no comments on this comment yet.