Skip to content

Completed backend intern assignment including conversation summaries,PostgreSQL migration, scheduled cleanup, and file upload/list/delete APIs with duplicate prevention –jayaramknss@gmail.com#84

Open
Jayaramkandukuri wants to merge 1 commit intosoulpage:mainfrom
Jayaramkandukuri:main

Conversation

@Jayaramkandukuri
Copy link

This PR includes the complete implementation of the assigned backend tasks.

Task 1: Basic Setup & Simple Feature

  • Configured development environment and successfully ran the application.
  • Added summary-related fields to the Conversation model.
  • Implemented automatic conversation summary generation and storage.
  • Updated Django Admin to display summary status, freshness, and related metadata.

Task 2: Database Migration & Data Management

  • Migrated database from SQLite to PostgreSQL.
  • Implemented a custom Django management command to clean up old conversations.
  • Configured periodic execution of the cleanup task using scheduled background processing.

Task 3: API Development & Integration

  • Developed conversation summary API with:
  • Pagination support
  • Filtering (has_summary, is_stale, search)
  • Implemented secure file upload endpoint.
  • Added file duplication prevention using file hashing.
  • Created endpoint to list uploaded files with metadata.
  • Implemented file deletion functionality (removes both database record and stored file).

Test Results

Screenshot 2026-02-28 152327 **Updated Django Admin to display summary status, freshness, and related metadata.** image

Migrated database from SQLite to PostgreSQL.

Screenshot 2026-02-28 144821 Screenshot 2026-02-28 144759 Screenshot 2026-02-28 144734

Implemented a custom Django management command to clean up old conversations.
Configured periodic execution of the cleanup task using scheduled background processing.

Screenshot 2026-02-28 152641 **Developed conversation summary API with: - Pagination support - Filtering (has_summary, is_stale, search)** Screenshot 2026-02-28 153455 **Created endpoint to list uploaded files with metadata.** Screenshot 2026-02-28 153541 **Added file duplication prevention using file hashing.** Screenshot 2026-02-28 155652 **Implemented file deletion functionality (removes both database record and stored file).**

… PostgreSQL migration, scheduled cleanup, and file upload/list/delete APIs with duplicate prevention –jayaramknss@gmail.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant