From ff0ebbfff1a4c43e7488ff3e04560930cce32d53 Mon Sep 17 00:00:00 2001 From: Steven Tey Date: Sun, 25 Jun 2023 12:58:52 -0500 Subject: [PATCH] improved prompt --- app/api/chat/route.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/api/chat/route.ts b/app/api/chat/route.ts index 0e48f3e..8484af8 100644 --- a/app/api/chat/route.ts +++ b/app/api/chat/route.ts @@ -17,7 +17,7 @@ const functions: { { name: "get_top_stories", description: - "Get the top stories from Hacker News. Also returns the URL to each story.", + "Get the top stories from Hacker News. Also returns the Hacker News URL to each story.", parameters: { type: "object", properties: { @@ -32,7 +32,7 @@ const functions: { { name: "get_story", description: - "Get a story from Hacker News. Also returns the URL to the story.", + "Get a story from Hacker News. Also returns the Hacker News URL to the story.", parameters: { type: "object", properties: { @@ -47,7 +47,7 @@ const functions: { { name: "get_story_with_comments", description: - "Get a story from Hacker News with comments. Also returns the URL to the story and each comment.", + "Get a story from Hacker News with comments. Also returns the Hacker News URL to the story and each comment.", parameters: { type: "object", properties: { @@ -62,7 +62,7 @@ const functions: { { name: "summarize_top_story", description: - "Summarize the top story from Hacker News, including both the story and its comments. Also returns the URL to the story and each comment.", + "Summarize the top story from Hacker News, including both the story and its comments. Also returns the Hacker News URL to the story and each comment.", parameters: { type: "object", properties: {},