Skip to content

Commit 2e05625

Browse files
committed
finish up the docs
1 parent 496c573 commit 2e05625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/ai/providers/docs/docs-ai-provider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class DocsAiProvider extends AiProvider {
3939

4040
this.thinking.start(signal);
4141

42-
const wrappedPrompt = `Tell me the mongosh command for aggregating that would fit this prompt: ${prompt}. Just tell me the command no other words or formatting.`;
42+
const wrappedPrompt = `Tell me the mongosh command for aggregating that would fit this prompt: ${prompt}. Do not say anything else. Do not use any formatting. Return the command.`;
4343
const response = await this.askChatbot(wrappedPrompt, signal);
4444

4545
this.thinking.stop();
@@ -52,7 +52,7 @@ export class DocsAiProvider extends AiProvider {
5252

5353
this.thinking.start(signal);
5454

55-
const wrappedPrompt = `Tell me the mongosh command for querying that would fit this prompt: ${prompt}. Just tell me the command no other words or formatting.`;
55+
const wrappedPrompt = `Tell me the mongosh command for querying that would fit this prompt: ${prompt}. Do not say anything else. Do not use any formatting. Return the command.`;
5656
const response = await this.askChatbot(wrappedPrompt, signal);
5757

5858
this.thinking.stop();

0 commit comments

Comments
 (0)