Skip to content

Commit 05f8138

Browse files
committed
fix: clarify cluster question and insight descriptions
1 parent 44dae8e commit 05f8138

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/schemas.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ export class Schemas {
179179
think: z.string().describe(`Explain why you cluster the search results like this. ${this.getLanguagePrompt()}`).max(500),
180180
clusters: z.array(
181181
z.object({
182-
question: z.string().describe('What question this cluster answers.').max(100),
183-
insight: z.string().describe('Summary and list key numbers, data and insights that worth to be highlighted. End with an actionable advice such as "Visit these URLs if you want to understand [what...]". Do not use "This cluster..."').max(200),
182+
insight: z.string().describe('Summary and list key numbers, data, soundbites, and insights that worth to be highlighted. End with an actionable advice such as "Visit these URLs if you want to understand [what...]". Do not use "This cluster..."').max(200),
183+
question: z.string().describe('What concrete and specific question this cluster answers. Should not be general question like "where can I find [what...]"').max(100),
184184
urls: z.array(z.string().describe('URLs in this cluster.').max(100))
185185
}))
186186
.max(MAX_CLUSTERS)

0 commit comments

Comments
 (0)