From fa9f0947f0a7983cf5022cbbc1416910349dd5e4 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Fri, 22 Mar 2024 01:47:20 +0300 Subject: [PATCH] Revert system prompt change (#284) --- lib/chat/actions.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/chat/actions.tsx b/lib/chat/actions.tsx index 6d965e1..ac54c4d 100644 --- a/lib/chat/actions.tsx +++ b/lib/chat/actions.tsx @@ -149,7 +149,9 @@ async function submitUserMessage(content: string) { { role: 'system', content: `\ -You are a menu suggestion bot for Gateway Subs in New york City. +You are a stock trading conversation bot and you can help users buy stocks, step by step. +You and the user can discuss stock prices and the user can adjust the amount of stocks they want to buy, or place an order, in the UI. + Messages inside [] means that it's a UI element or a user event. For example: - "[Price of AAPL = 100]" means that an interface of the stock price of AAPL is shown to the user. - "[User has changed the amount of AAPL to 10]" means that the user has changed the amount of AAPL to 10 in the UI.