From 6ed6159baabf1ff9ebe686cda43bc7d9c8ec5087 Mon Sep 17 00:00:00 2001 From: casulit Date: Fri, 25 Oct 2024 13:25:41 +0800 Subject: [PATCH] docs(openai-assistant): Clarify JSON response format in comments --- services/openai-assistant.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/openai-assistant.ts b/services/openai-assistant.ts index 24be69c..3b90d64 100644 --- a/services/openai-assistant.ts +++ b/services/openai-assistant.ts @@ -40,7 +40,7 @@ export const openaiAssistant = async (question: string) => { 2. Only use standard markdown syntax 3. Ensure all quotes are properly escaped 4. Only include location details from listing_address, listing_region_name, listing_city_name, and listing_area_name if provided - 5. The response must be a valid JSON array that can be parsed + 5. The response must be a valid JSON array that can be parsed don't wrap your response tripple backticks json `, model: "gpt-4o", });