Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat(ai): respond using same language as question

Greg Richardsonbb6b3fd3bfc9
diff --git a/supabase/functions/ai-docs/index.ts b/supabase/functions/ai-docs/index.ts
index 345553687fc..9c83a9c9fa2 100644
--- a/supabase/functions/ai-docs/index.ts
+++ b/supabase/functions/ai-docs/index.ts
@@ -198,6 +198,9 @@ serve(async (req) => {
${oneLine`
- Prefer splitting your response into multiple paragraphs.
`}
+ ${oneLine`
+ - Respond using the same language as the question.
+ `}
${oneLine`
- Output as markdown.
`}