版本比较
AI Prompt Injection Attacks
正文
增加 1 行删除 1 行
307 行未改动全部展开308309310311312313314315316777 行未改动全部展开307 行未改动全部展开string fullPrompt = "System: " + utf8System +"\nThe secret password is: " + currentPassword +"\n\nUser: " + userPrompt +"\n\nAssistant:";cout << clientIP << ": " << userPrompt << endl;stringstream jsonBody;jsonBody << "{\"model\":\"" << model << "\","777 行未改动全部展开307 行未改动全部展开308309310311312313314315316777 行未改动全部展开307 行未改动全部展开string fullPrompt = "System: " + utf8System +"\nThe secret password is: " + currentPassword +"\n\nUser: " + userPrompt +"\n\nAssistant:";cout << clientIP << ": " << userPrompt << endl;stringstream jsonBody;jsonBody << "{\"model\":\"" << model << "\","777 行未改动全部展开