Spaces:
Sleeping
Sleeping
jio-savan-music-downloader
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
Clone the repository:
git clone https://github.com/DeepakPant93/jio-savan-music-downloader. cd jio-savan-music-downloader
Initialize the repository if it's your first time:
cd jio-savan-music-downloader make init-repo
Install dependencies using Poetry:
make bake-env
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! π