Skip to content

Commit

Permalink
improved prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Jun 25, 2023
1 parent 81ce554 commit ff0ebbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/api/chat/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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: {
Expand All @@ -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: {
Expand All @@ -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: {},
Expand Down

0 comments on commit ff0ebbf

Please sign in to comment.