-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REDBOX 337 chat file selection (#556)
* Add ChatMessage many-to-many relation to File, and make them available through the chat view. * Show selected files on chats page. * Save selected file, and send to core, for streamed chat version. * Use checkboxes for selecting files * Move "Files to use" to sidebar * Tests for saving & sending selected files. * Setup document selection for streaming client-side * Save selected file, and send to core, for streamed chat version. * Enable chat streaming in all tests. * add eval results visualisation and calculate uncertainity * remove inline outputs * Address Will's PR comments * Remove streaming demo * Save non-rag responses to DB - tactical fix. * Revert tactical fix - we are doing it properly here. * Recieve selected file list in core API for streaming. * Add selected files to e2e tests. * Bug - ensure latest question is always the one answered. * Unit tests not working but the core plumbing is there * Post merge formatting. * wip * test now passing * Add some logging for debug purposes. * must != should * remove change made in error * migration test added * no longer changing source_files --------- Co-authored-by: Kevin Etchells <[email protected]> Co-authored-by: esoutter <[email protected]> Co-authored-by: Will Langdale <[email protected]> Co-authored-by: George Burton <[email protected]>
- Loading branch information
1 parent
cfe9459
commit a1d930c
Showing
24 changed files
with
617 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.