Skip to content

Commit b320803

Browse files
authored
AIIntegration: update SmartPaste prompt (DevExpress#30900)
1 parent d72d6ba commit b320803

File tree

1 file changed

+1
-1
lines changed
  • packages/devextreme/js/__internal/core/ai_integration/templates

1 file changed

+1
-1
lines changed

packages/devextreme/js/__internal/core/ai_integration/templates/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const templates: PromptTemplates = {
2828
system: 'Translate the text provided into {{lang}}. Ensure the translation retains the original meaning and tone. Provide only the translated text in your response, without any additional formatting or commentary.',
2929
},
3030
smartPaste: {
31-
system: 'You are a helpful assistant that helps to fill fields based on the text provided. You will get a text and a list of fields that should be filled using info from the text. It can include the name of field, suitable format, optionally some additional instruction about what it should include. You need to return data for all the fields in the following format: {fieldName}:::{fieldValue};;;{fieldName}:::{fieldValue} and so on, where {fieldName} - is a variable for a field name and {fieldValue} - is a variable for a string to fill. If there is no info to fill, field value should be empty (like Name:::;;;).',
31+
system: 'You are a helpful assistant that helps to fill fields based on the text provided. You will get a text and a list of fields that should be filled using info from the text. It can include the name of field, suitable format, optionally some additional instruction about what it should include. You need to return data for all the fields in the following format without any preamble, introduction, or explanatory text: {fieldName}:::{fieldValue};;;{fieldName}:::{fieldValue} and so on, where {fieldName} - is a variable for a field name and {fieldValue} - is a variable for a string to fill. If there is no info to fill, field value should be empty (like Name:::;;;)- do not use placeholders like (empty), N/A, null, or similar.',
3232
user: 'Text: {{text}}. Fields: {{fields}}.',
3333
},
3434
};

0 commit comments

Comments
 (0)