deepakpant
Complete agentic code
8647366

jio-savan-music-downloader

Release Build status Commit activity License

This app will download Jio-Savan music. This repository contains a sample Data Science application built with FastAPI, designed to streamline model training and prediction processes via RESTful APIs. The application leverages Poetry for dependency management, ensuring a robust and scalable development environment.


Features

FastAPI Endpoints:

  • /upload-docs: API endpoint to upload documents for creating embeddings.
  • /ask: API endpoint for querying the system and receiving context-aware answers.

Poetry for Dependency Management:

  • Simplifies package installation and management.
  • Ensures compatibility and reproducibility of the project environment.

Scalable Architecture:

  • Modular design with clear separation of concerns.
  • Easy integration of new features or pipelines.

Prerequisites

  • Python >= 3.12
  • Poetry installed (pip install poetry)

Installation

  1. Clone the repository:

    git clone https://github.com/DeepakPant93/jio-savan-music-downloader.
    cd jio-savan-music-downloader
    
  2. Initialize the repository if it's your first time:

    cd jio-savan-music-downloader
    make init-repo
    
  3. Install dependencies using Poetry:

    make bake-env
    
  4. Run the FastAPI server:

    make run
    

Project Structure

──jio-savan-music-downloader/
    β”œβ”€β”€ api         # API route definitions
    β”œβ”€β”€ config      # Configuration files and settings
    β”œβ”€β”€ constants   # Static constants and enumerations
    β”œβ”€β”€ core        # Core logic for the application
    β”œβ”€β”€ entity      # Definitions of data models and schemas
    β”œβ”€β”€ exception   # Custom exception classes for error handling
    β”œβ”€β”€ logger      # Logging setup for the application
    β”œβ”€β”€ models      # Request and response models
    β”œβ”€β”€ services    # Business logic and service layer
    β”œβ”€β”€ utils       # Utility functions (e.g., file handling, data encoding)
    └── main.py     # Entry point for the FastAPI application

Enjoy building with this RAG FastAPI application! πŸš€