Skip to content

Conversation

andrade94
Copy link

Summary of Changes in the "base-requirements" Branch

  1. Configuration Updates
    Added comprehensive configuration in app/core/config.py for multiple databases and services including:
    MongoDB configuration with connection URI
    Redis settings with connection URI
    Pinecone Vector Database settings
    Enhanced Celery configuration
    Kafka settings
    NLP model settings
  2. Dependency Management
    Updated pyproject.toml with new dependencies for:
    Database clients: MongoDB (motor, pymongo), Redis, Pinecone
    Message queue and task processing: Celery, Flower, Kafka, RabbitMQ
    ML/NLP tools: spaCy, Transformers, Sentence-Transformers, scikit-learn
    Data processing: NumPy, Pandas
  3. Task Queue Implementation
    Added Celery task queue integration with:
    app/tasks/celery_app.py: Celery application configuration
    app/tasks/worker.py: Task implementations for:
    Scraping social media content
    Analyzing social data
    Generating reports
    Processing data pipeline
  4. Docker & Deployment Changes
    Modified Dockerfile for the main application
    Added Dockerfile.celery for dedicated Celery workers
    Updated Docker configuration for multiple services
  5. Project Structure
    Reorganized application structure
    Added new directories for tasks, API endpoints, and services
  6. Documentation Updates
    Updated README with new project information
    Added documentation for the hybrid database architecture
    The branch implements a foundation for a Political Social Media Analysis Platform with a hybrid database approach (PostgreSQL, MongoDB, Redis, Pinecone) and data processing capabilities (Celery, Kafka, ML/NLP tools). These changes set up the infrastructure needed for collecting, processing, and analyzing social media content related to political entities.
    The most significant changes appear to be in the backend architecture, enabling a more sophisticated data processing pipeline while maintaining the core FastAPI functionality.

@andrade94 andrade94 closed this Mar 16, 2025
@andrade94 andrade94 deleted the test branch March 16, 2025 21:15
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