Skip to content
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

epic(wren-ui): Feedback & correction Loop #543

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

andreashimin
Copy link
Contributor

@andreashimin andreashimin commented Jul 19, 2024

Description

feat(wren-ui): Add References UI #489
feat(wren-ui): Add Pending Feedbacks UI #498
Chore: add migration files and update adaptors for feedback loop feature #506
Chore: move background tracker for thread responses #510
Feature: implement feedback loop explain process #528
feat(wren-ui): Integrate thread response explanation API & refine process #539
feat(wren-ui): Create Regenerated Response API & Add Regenerated Information in Thread Detail UI #527
feat(wren-ui): SQL Highlight References #543

andreashimin and others added 6 commits July 11, 2024 16:37
* feat(wren-ui): add clsx package

* feat(wren-ui): rename promptThread to thread

* feat(wren-ui): add references side float to thread

* feat(wren-ui): show actual count for show all button
…ure (#506)

* chore: Add migration for creating thread_response_explain table

* chore: Add analysisSql method to WrenEngineAdaptor

* adding explain api to ai service adapter:

* fix migration errer

* chore(wren-ui): Add regenerations API to wrenAIAdaptor

---------

Co-authored-by: andreashimin <[email protected]>
* feat(wren-ui): adjust ReferenceSideFloat detailed styles

* feat(wren-ui): add AdjustmentSideFloat & ReviewDrawer

* feat(wren-ui): change wording to feedback

* feat(wren-ui): rename component & filename
* Chore: move background tracker for thread responses

* use abstract class

* rm comment
…rmation in Thread Detail UI (#527)

* feat(wren-ui): add regeneration API

* feat(wren-ui): make strategy in thread response background tracker

* feat(wren-ui): rename enum & add comment in AI adapter

* feat(wren-ui): implement RegeneratedThreadResponse graphQL API

* feat(wren-ui): modify getResponsesWithThread in repository & provide corrections in getThread resolver

* feat(wren-ui): generate createRegeneratedThreadResponse graphql API

* feat(wren-ui): implement submit review drawer flow

* feat(wren-ui): refine type issues in UI

* feat(wren-ui): add underline & select-none utilities class

* feat(wren-ui): add regenerated answer information on UI

* feat(wren-ui): refine review drawer submit flow

* feat(wren-ui): refine error handler when submit review

* feat(wren-ui): rename mutation to CreateCorrectedThreadResponse

* fix(wren-ui): remove thread existence check
* update deploy ai service response structure

* add explainBackgroundTracker

* set columns in threadResponseExplain table to nullable

* add analysis api in ibis adaptor

* implement util to add autoIncremented id

* feature: feedback loop create explanation job

* add explain status for FE to check if the explanation job is requested or not

* fix rebase error

* feat: Add threadResponseExplainRepository to apollo server context

* update migration file

* upper case error code

* get latest explain, modify base repository orderby parameter

* add error code for OLD_VERSION error

* fix lint error

* update error message in migration file

* feat(wren-ui): Integrate thread response explanation API & refine process (#539)

* feat(wren-ui): add ExplainTaskStatus enum to schema, add reverseEnum helper, fix transform statusAndError, fix non-nullable reference's summary value

* feat(wren-ui): generate createThreadResponseExplain graphQL API

* feat(wren-ui): replace references data to API's data

* feat(wren-ui): refine explain references flow in UI

* feat(wren-ui): refine error showing when get explanation failed

* feat(wren-ui): refine the references old version & error retry process

* feat(wren-ui): generate references number sequence

* feat(wren-ui): show the first reference in step when uncollapse

* feat(wren-ui): save correction's reference number to DB

* feat(wren-ui): update retrieve error text from BE only

* feat(wren-ui): add CreateThreadResponseExplain graphQL API error handler

---------

Co-authored-by: Shimin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants