Skip to content

Commit c01eb0c

Browse files
authored
Parameters Sup. (#514)
1 parent 67c497c commit c01eb0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extensions/query-translator/clients/OpenAi/OpenAiClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class OpenAiClient extends ModelClient {
117117
let queryExample = reportExampleQueries[reportType];
118118
let finalMessage = `${content}. Please use the following query structure as an example for ${reportTypesToDesc[reportType]}:
119119
${queryExample}
120-
Remember to respect the schema and remove any unnecessary comments or explanations from your result.`;
120+
Remember to respect the schema and remove any unnecessary comments or explanations from your result. Remember that every $ prefixed word is a parameter.`;
121121
return { role: ChatCompletionRequestMessageRoleEnum.User, content: plain ? content : finalMessage };
122122
}
123123

0 commit comments

Comments
 (0)