[COMPASS-7257] Update query generation error message Created: 25/Sep/23  Updated: 17/Oct/23  Resolved: 25/Sep/23

Status: Closed
Project: Compass
Component/s: GAI
Affects Version/s: None
Fix Version/s: 1.40.0

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Alena Khineika
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-7010
Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Kentrosaurus

 Description   

Currently, we show:
`Something went wrong, please try again later. If the error persists, try changing your prompt.`

Let's show something more like:
`Sorry, we were unable to generate the query, please try again. If the error persists, try changing your prompt.`

Run the new error by ben.radcliffe@mongodb.com and julia.oppenheim@mongodb.com before merging. Slack thread: https://mongodb.slack.com/archives/C05AH835WQN/p1695655236839019

We want to show something to encourage the users to try again and not create support tickets for something that is expected to happen occasionally.

 

 



 Comments   
Comment by Githook User [ 17/Oct/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257 (#4907)
Branch: investigate-update-preview
https://github.com/mongodb-js/compass/commit/b76ea7dd6d7035734d31099bf67212f561870431

Comment by Githook User [ 03/Oct/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257 (#4907)
Branch: export-to-language-v6
https://github.com/mongodb-js/compass/commit/b76ea7dd6d7035734d31099bf67212f561870431

Comment by Githook User [ 02/Oct/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257 (#4907)
Branch: ai-accuracy-tests
https://github.com/mongodb-js/compass/commit/b76ea7dd6d7035734d31099bf67212f561870431

Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257 (#4907)
Branch: COMPASS-6976-stage-snippet
https://github.com/mongodb-js/compass/commit/b76ea7dd6d7035734d31099bf67212f561870431

Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257 (#4907)
Branch: search-indexes-autocomplete
https://github.com/mongodb-js/compass/commit/b76ea7dd6d7035734d31099bf67212f561870431

Comment by Githook User [ 27/Sep/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257 (#4907)
Branch: compass-7155-add-e2e-tests-for-atlas-login
https://github.com/mongodb-js/compass/commit/b76ea7dd6d7035734d31099bf67212f561870431

Comment by Githook User [ 27/Sep/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257 (#4907)
Branch: atomic-write-and-validation-exception
https://github.com/mongodb-js/compass/commit/b76ea7dd6d7035734d31099bf67212f561870431

Comment by Githook User [ 26/Sep/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257 (#4907)
Branch: feature/COMPASS-7173
https://github.com/mongodb-js/compass/commit/b76ea7dd6d7035734d31099bf67212f561870431

Comment by Githook User [ 25/Sep/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257 (#4907)
Branch: ga-releases
https://github.com/mongodb-js/compass/commit/b76ea7dd6d7035734d31099bf67212f561870431

Comment by Githook User [ 25/Sep/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257 (#4907)
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/b76ea7dd6d7035734d31099bf67212f561870431

Comment by Githook User [ 25/Sep/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257 (#4907)
Branch: main
https://github.com/mongodb-js/compass/commit/b76ea7dd6d7035734d31099bf67212f561870431

Comment by Githook User [ 25/Sep/23 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: refactor: update query generation error message COMPASS-7257
Branch: COMPASS-7257-update-query-generation-error-msg
https://github.com/mongodb-js/compass/commit/6d7c7a109493f8363a00ba5a7d26e328eaca3efd

Generated at Wed Feb 07 22:45:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.