An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
chore: Update inquiry system prompt
Yoshiki Miuraa48895c5936b
diff --git a/lib/agents/inquire.tsx b/lib/agents/inquire.tsxindex 7ec66edd..9d94749c 100644--- a/lib/agents/inquire.tsx+++ b/lib/agents/inquire.tsx@@ -30,6 +30,8 @@ export async function inquire("inputPlaceholder": "A placeholder text to guide the user's free-form input"}+ Important: The "value" field in the options must always be in English, regardless of the user's language.+For example:{"question": "What specific information are you seeking about Rivian?",@@ -47,7 +49,7 @@ export async function inquire(By providing predefined options, you guide the user towards the most relevant aspects of their query, while the free-form input allows them to provide additional context or specific details not covered by the options.Remember, your goal is to gather the necessary information to deliver a thorough and accurate response.- Please match the language of the response to the user's language.+ Please match the language of the response (question, labels, inputLabel, and inputPlaceholder) to the user's language, but keep the "value" field in English.`,messages,schema: inquirySchema