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

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

Merged
merged 11 commits into from
Jul 19, 2024

Conversation

andreashimin
Copy link
Contributor

@andreashimin andreashimin commented Jul 18, 2024

Description

  • Integrate CreateThreadResponseExplain API
  • Fix some graphQL schema issues
  • Handle error showing when the explanation failed
  • Handle older version thread response to user trigger explanation manually

UI Screenshots

image image image image

@andreashimin andreashimin marked this pull request as ready for review July 18, 2024 16:28
Copy link
Contributor

@onlyjackfrost onlyjackfrost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for the server part

@andreashimin andreashimin merged commit 2c88084 into feature/explain Jul 19, 2024
2 checks passed
@andreashimin andreashimin deleted the feature/references branch July 19, 2024 07:20
andreashimin added a commit that referenced this pull request Jul 19, 2024
…cess (#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
onlyjackfrost added a commit that referenced this pull request Jul 19, 2024
* 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.

3 participants