- 
    Type:
Bug
 - 
    Resolution: Done
 - 
    Priority:
Major - P3
 - 
    Affects Version/s: 1.43.0
 - 
    Component/s: GAI
 - 
    None
 - 
    Environment:OS:
node.js / npm versions:
Additional info:
 
Currently we're supplying sample documents to the AI prompt as a string that is a document json ified. That means an id ObjectId would be just a string likeĀ
'
{ "_id": "5735040085629ed4fa839473" }'
Instead we should supply it as a shell syntax string, like:
'{ "_id": ObjectId("5735040085629ed4fa839473") }'
This will take both client side and server side changes. The CLOUDP ticket will be linked.