You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(EAI-984): Update chatbot preprocessors to use GPT-4.1-nano + guardrail false positive fix (#684)
* update preprocessors for gpt-4.1-mini
* update guardrail usage to fit new API
* add new eval case
* update preprocessors to use 4.1-nano
* fix test for new guardrail return type
* remove unused imports
---------
Co-authored-by: Ben Perlmutter <mongodben@mongodb.com>
Copy file name to clipboardExpand all lines: packages/chatbot-server-mongodb-public/src/processors/extractMongoDbMetadataFromUserMessage.ts
+1-2
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,7 @@ const name = "extract_mongodb_metadata";
37
37
constdescription="Extract MongoDB-related metadata from a user message";
38
38
39
39
constsystemPrompt=`You are an expert data labeler employed by MongoDB.
40
-
You must label metadata about the user query based on its context in the conversation.
41
-
Your pay is determined by the accuracy of your labels as judged against other expert labelers, so do excellent work to maximize your earnings to support your family.`;
40
+
You must label metadata about the user query based on its context in the conversation.`;
0 commit comments