gristlabs_grist-core/app/client/models
Paul Fitzpatrick 51a195bd94
add support for conversational state to assistance endpoint (#506)
* add support for conversational state to assistance endpoint

This refactors the assistance code somewhat, to allow carrying
along some conversational state. It extends the OpenAI-flavored
assistant to make use of that state to have a conversation.
The front-end is tweaked a little bit to allow for replies that
don't have any code in them (though I didn't get into formatting
such replies nicely).

Currently tested primarily through the runCompletion script,
which has been extended a bit to allow testing simulated
conversations (where an error is pasted in follow-up, or
an expected-vs-actual comparison).

Co-authored-by: George Gevoian <85144792+georgegevoian@users.noreply.github.com>
2023-05-08 14:15:22 -04:00
..
entities add support for conversational state to assistance endpoint (#506) 2023-05-08 14:15:22 -04:00
AppModel.ts (core) Direct users to last visited site when possible 2023-05-02 07:48:22 -07:00
BaseRowModel.js (core) Update ACL resources/rules when tables/columns get renamed 2021-01-04 22:03:01 -05:00
ClientColumnGetters.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
ColumnACIndexes.ts Rename text cleaning function to "normalizeText" 2022-08-17 19:11:52 +02:00
ColumnCache.ts (core) Show count of formula errors in the column config in the right-side panel. 2021-04-20 21:26:17 -04:00
ColumnFilter.ts (core) Fix date filter for DateTime columns. 2023-01-18 10:18:15 +01:00
ColumnFilterMenuModel.ts (core) Add behavioral and coaching call popups 2022-12-20 09:49:41 -05:00
ColumnToMap.ts add a description property to column mapping for custom widgets (#255) 2022-08-26 08:25:34 -04:00
ConnectState.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
DataRowModel.ts (core) When a checkbox is clicked on a new record, set default values determined by linking 2022-11-10 14:34:40 -05:00
DataTableModel.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DataTableModelWithDiff.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
DocData.ts (core) Wait for transform column before finalizing 2022-03-01 13:59:14 -08:00
DocModel.ts (core) Add initial tutorials implementation 2023-03-22 10:09:02 -04:00
DocPageModel.ts (core) Polish tutorial popups 2023-04-20 12:20:03 -04:00
errors.ts (core) Add telemetry 2023-04-06 12:34:54 -04:00
features.ts (core) Draft version of AI assistant 2023-03-24 10:07:26 +01:00
gristConfigCache.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
gristUrlState.ts (core) Direct users to last visited site when possible 2023-05-02 07:48:22 -07:00
HomeModel.ts (core) Add tip for "Add New" button 2023-01-16 16:50:42 -08:00
MetaRowModel.js (core) move client code to core 2020-10-02 13:24:21 -04:00
MetaTableModel.js (core) Raw renames 2022-04-27 22:21:55 +02:00
modelUtil.js (core) move client code to core 2020-10-02 13:24:21 -04:00
NotifyModel.ts (core) Changing shortcuts for adding and removing rows 2022-10-21 18:45:25 +02:00
QuerySet.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
rowset.ts (core) Comments 2022-10-17 13:38:21 +02:00
rowuid.js (core) move client code to core 2020-10-02 13:24:21 -04:00
RuleOwner.ts (core) Implementing row conditional formatting 2022-08-09 20:11:36 +02:00
SearchModel.ts (core) Fixing couple of bugs in collapsed section layout 2023-03-22 16:23:09 +01:00
SectionFilter.ts (core) Speed up and upgrade build. 2022-06-27 16:10:10 -04:00
Styles.ts (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
TableData.ts (core) Use MetaTableData more 2021-12-07 17:09:58 +02:00
TableModel.js (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
TreeModel.ts (core) Revealing hidden pages with visible children. 2022-10-31 14:02:38 +01:00
UserManagerModel.ts (core) User language switcher 2023-01-26 09:47:14 +01:00
UserPrefs.ts (core) Improve dark mode 2023-04-12 01:58:48 -04:00
ViewFieldConfig.ts (core) Fixing click-away bug for the cell color widget 2022-10-24 16:21:14 +02:00
WorkspaceInfo.ts (core) move client code to core 2020-10-02 13:24:21 -04:00