-
Notifications
You must be signed in to change notification settings - Fork 663
✨AI Column: [Part 1] New properties (aiIntegration, prompt, mode) #31219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨AI Column: [Part 1] New properties (aiIntegration, prompt, mode) #31219
Conversation
…olumn-Properrties-Part1 # Conflicts: # packages/devextreme/js/__internal/grids/grid_core/ai_column/ai_column.integration.test.ts # packages/devextreme/js/__internal/grids/grid_core/ai_column/m_ai_column_controller.ts # packages/devextreme/js/__internal/grids/grid_core/ai_column/m_ai_column_integration_controller.ts
fe2008c to
a54a763
Compare
packages/devextreme/js/__internal/grids/grid_core/columns_controller/m_columns_controller.ts
Outdated
Show resolved
Hide resolved
...ges/devextreme/js/__internal/grids/grid_core/ai_column/m_ai_column_integration_controller.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/grids/grid_core/columns_controller/m_columns_controller.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/grids/grid_core/columns_controller/m_columns_controller.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/core/ai_integration/core/ai_integration.ts
Outdated
Show resolved
Hide resolved
| 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. Only fill in date fields if a complete date is explicitly present. If the date is missing or incomplete, leave the field empty.', | ||
| user: 'Text: {{text}}. Fields: {{fields}}.', | ||
| }, | ||
| generateColumn: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[thoughts]
This API may become public, so I would ask TechWriters to help with the name. I would narrow down the meaning of this name to generateDataGridColumn.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, adding a bit of specificity is beneficial. Let's rename this template to generateGridColumn. This adds specificity while keeping the name relatively short and leaving the door open to using this template in the TreeList (if we ever decide to add AI columns to the TreeList).
| generateColumn: { | |
| generateGridColumn: { |
No description provided.