Architecting autonomous systems and scalable infrastructure that hunt latency and capture value.
Production-ready Document Q&A API using FastAPI, ChromaDB, and Ollama. Orchestrated with Kubernetes.
High-performance Async shipment operations with FastAPI, Redis, and PostgreSQL. Live Swagger Docs available.
Real-time streaming chat platform using Azure Functions and Google Gemini 2.0 for content moderation.
CNN model for classifying medical images using Transfer Learning (EfficientNet). Hosted on HuggingFace.
Ingests songs from Spotify & YouTube, extracts audio features using deep learning (VibeNet + librosa), stores them as vectors in Qdrant, and serves semantic playlist search with Shazam-style audio recognition.
energy, valence, danceability, tempo_min, tempo_max, mode, limit0.5. Tempo & mode become Qdrant payload filtersorpheus_songs collection — returns top-K nearest neighborsPlaylistSong objects with mood scores, tempo, key, and streaming linksmultipart/form-data with mp3, wav, m4a, ogg, or flac. Optional ?similar_limit=5orpheus_frames — Each frame vector queries for nearest matches, votes aggregated per songconfidence score + heard_at timestamp rangesimilar_limit related tracks from orpheus_songscurl https://orpheus-api-0bc4904911a6.herokuapp.com/health
{
"status": "ok"
}
curl -X POST https://orpheus-api-0bc4904911a6.herokuapp.com/search \
-H "Content-Type: application/json" \
-d '{
"energy": 0.8,
"valence": 0.6,
"danceability": 0.7,
"tempo_min": 120,
"tempo_max": 150,
"mode": "major",
"limit": 5
}'
{
"count": 2,
"playlist": [
{
"rank": 1,
"score": 0.9288,
"title": "Calm Down",
"artist": "Rema",
"album": "Rave & Roses",
"genres": ["Afrobeats"],
"tempo_bpm": 106.99,
"key": "C# minor",
"mood": {
"energy": 0.62,
"valence": 0.74,
"danceability": 0.80
},
"links": {
"youtube": "https://youtube.com/watch?v=...",
"spotify": "https://open.spotify.com/track/..."
}
}
]
}
curl -X POST \ "https://orpheus-api-0bc4904911a6.herokuapp.com/match/snippet?similar_limit=5" \ -F "file=@recording.mp3"
{
"match": {
"title": "Calm Down",
"artist": "Rema",
"youtube_id": "WcIcVapfqXw",
"heard_at": {
"start_s": 45.0,
"end_s": 50.0
},
"confidence": 0.94,
"links": {
"youtube": "https://youtube.com/watch?v=WcIcVapfqXw",
"spotify": "https://open.spotify.com/track/..."
}
},
"similar_songs": [
{
"title": "Essence",
"artist": "Wizkid",
"score": 0.87,
"links": { "youtube": "..." }
}
]
}
curl https://orpheus-api-0bc4904911a6.herokuapp.com/stats
{
"total_songs": 142,
"total_frames": 9840,
"status": "green",
"vectors_count": 142,
"indexed_vectors_count": 142
}
curl -X POST https://orpheus-api-0bc4904911a6.herokuapp.com/ingest/song \
-H "Content-Type: application/json" \
-d '{"youtube_id": "dQw4w9WgXcQ"}'
{
"message": "Ingestion queued.",
"youtube_id": "dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up",
"artist": "Rick Astley"
}
import httpx
BASE = "https://orpheus-api-0bc4904911a6.herokuapp.com"
# Semantic search — find chill acoustic tracks
resp = httpx.post(f"{BASE}/search", json={
"energy": 0.3,
"acousticness": 0.9,
"valence": 0.7,
"limit": 5
})
for song in resp.json()["playlist"]:
print(f"{song['rank']}. {song['title']} "
f"by {song['artist']} "
f"(score: {song['score']:.2f})")
1. Essence by Wizkid (score: 0.91) 2. Calm Down by Rema (score: 0.88) 3. Love Nwantiti by CKay (score: 0.85)
| Field | Type | Description |
|---|---|---|
| rank | integer | 1-based position in result list |
| score | float | Cosine similarity (0–1). Higher = better match |
| title | string | Song title from metadata |
| artist | string | Primary artist name |
| mood | object | VibeNet scores: energy, valence, danceability, acousticness, instrumentalness, speechiness, liveness |
| tempo_bpm | float | Detected tempo in BPM |
| key | string | Musical key, e.g. 'C# minor' |
| links | object | YouTube and Spotify URLs |
| instrument_profile | object | Harmonic ratio, brightness, tonal strength, estimated instrument |
| cover_url | string | Album art URL from Spotify |