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
Summary
When a user uploads a document via the UploadFile page, the backend should automatically extract the document title (if available) and populate the title field in the database. Currently, this field is being saved as null.
Current Behavior
Uploaded files are saved successfully.
The title column in the database remains null.
Expected Behavior
Upon file upload, the server should:
Parse the document.
Attempt to extract a meaningful title (e.g., from the PDF metadata, first page header, or first large/bold line).
Save the extracted title to the corresponding database entry.
Backend Details
Code location: server/API/views/uploadfile.py
This logic should be added during the upload process after the file has been saved and parsed.
Uh oh!
There was an error while loading. Please reload this page.
Summary
When a user uploads a document via the UploadFile page, the backend should automatically extract the document title (if available) and populate the title field in the database. Currently, this field is being saved as null.
Current Behavior
Expected Behavior
Backend Details
Code location: server/API/views/uploadfile.py
This logic should be added during the upload process after the file has been saved and parsed.
Suggestion: Use openAI API endpoint and sent in the first 50 words of the document and ask it to extract the document title.
https://balancertestsite.com/UploadFile
https://balancertestsite.com/listoffiles
The text was updated successfully, but these errors were encountered: