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
Great project, I love it! One thing I realized is that the code strictly prioritizes already existing correspondents over new correspondents. At least this is how I understand this code:
if (currentDoc.correspondent && updates.correspondent) {
console.log('[DEBUG] Document already has a correspondent, keeping existing one:', currentDoc.correspondent);
delete updates.correspondent;
}
however, as the document get usually processed by paperless-ngx first during import, at least in my setup, most document get already a correspondent assigned (which is the correct one maybe in 60% of the cases). I would want the AI to override the preset correspondent. However, I would like to avoid that AI creates new correspondents while the correct already exists (in my example, I had an existing correspondent 'Stierli Elektro', and the AI created a new one 'Stierli Elektro GmbH', although the prompt clearly mentioned to check for pre-existing correspondents first). therefore, would it be possible to check the new correspondent from AI by searching existing correspondents for similarity?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Great project, I love it! One thing I realized is that the code strictly prioritizes already existing correspondents over new correspondents. At least this is how I understand this code:
however, as the document get usually processed by paperless-ngx first during import, at least in my setup, most document get already a correspondent assigned (which is the correct one maybe in 60% of the cases). I would want the AI to override the preset correspondent. However, I would like to avoid that AI creates new correspondents while the correct already exists (in my example, I had an existing correspondent 'Stierli Elektro', and the AI created a new one 'Stierli Elektro GmbH', although the prompt clearly mentioned to check for pre-existing correspondents first). therefore, would it be possible to check the new correspondent from AI by searching existing correspondents for similarity?
Beta Was this translation helpful? Give feedback.
All reactions