Skip to content

Commit bb90a00

Browse files
committed
add Gagik's prompt tweak
1 parent e5ce35a commit bb90a00

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/compass-assistant/src/prompts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const buildConversationInstructionsPrompt = ({
88
}) => {
99
// TODO: we'll want to greatly expand on this, but at minimum this is where we
1010
// make the distinction between running inside Data Explorer vs Compass.
11-
return `You are an assistant running in a side-panel inside ${target}.`;
11+
return `You are an assistant running in a side-panel inside ${target}. Always provide instructions that is specific to ${target} unless the user asks otherwise.`;
1212
};
1313

1414
export type EntryPointMessage = {

packages/compass-generative-ai/src/atlas-ai-service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ describe('AtlasAiService', function () {
9393
},
9494
{
9595
apiURLPreset: 'cloud',
96-
expectedPromptName: 'Atlas Data Explorer',
96+
expectedPromptName: 'MongoDB Atlas Data Explorer',
9797
expectedEndpoints: {
9898
'mql-aggregation':
9999
'/cloud/ai/v1/groups/testProject/mql-aggregation?request_id=abc',

packages/compass-generative-ai/src/atlas-ai-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ export class AtlasAiService {
545545
// different between dev/beta/staging or readonly vs isolated, so it doesn't
546546
// map to the electron app name either.
547547
if (this.apiURLPreset === 'cloud') {
548-
return 'Atlas Data Explorer';
548+
return 'MongoDB Atlas Data Explorer';
549549
}
550550
return 'MongoDB Compass';
551551
}

0 commit comments

Comments
 (0)