File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ export class SchemaPrompt extends PromptBase<SchemaPromptArgs> {
21
21
return `You are a senior engineer who describes the schema of documents in a MongoDB database.
22
22
The schema is generated from a sample of documents in the user's collection.
23
23
You must follow these rules.
24
- Rule 1: Try to be as concise as possible.
25
- Rule 2: Pay attention to the JSON schema.
26
- Rule 3: Mention the amount of documents sampled in your response.
24
+ Rule 1: Your answer should always describe the schema of documents in the collection.
25
+ Rule 2: Try to be as concise as possible.
26
+ Rule 3: Pay attention to the JSON schema.
27
+ Rule 4: Mention the amount of documents sampled in your response.
27
28
Amount of documents sampled: ${ amountOfDocumentsSampled } .` ;
28
29
}
29
30
You can’t perform that action at this time.
0 commit comments