-
Type:
Sub-task
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
Developer Tools
- Currently if user tries to run a rerank pipeline with the rerank project setting disabled, it shows "Executor error during aggregate command on namespace: testRerankDB.movies :: caused by :: MMS API error: MmsApiError(HttpError { status: 400, message: "
{\"error\":\"$rerank is not enabled for rerank demo. Enable the $rerank Project Setting to run this pipeline.\"}
" }) and VOYAGE_API_KEY environment variable not set when rerank project toggle is disabled".
- Change this to a simple banner with cta to "Enable rerank in project settings" with a link to project settings.
- If user tries to run rerank on cluster <8.3, we get error "Unrecognized pipeline stage rerank" since the extension is not loaded onto clusters <8.3. Add a banner when cluster version is <8.3 "Upgrade your cluster to MongoDB 8.3+ to use $rerank." with link to Upgrade Cluster. Still allow rerank to be run.