Team Ai
Apppublic

showbird-development/agent

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
App README

Showbird URL Builder — backend for the build_showbird_url tool

FastAPI service that builds ShowBird search/booking URLs from structured parameters (language, category, sub-category, date/time, location, keywords, price, members, theme, event type, group). The voice agent's build_showbird_url tool POSTs to /build-url.

Currently hosted at: https://charliejr-showbird-url-builder.hf.space (Hugging Face Docker Space). Health endpoint reports version: 2.2.

This folder is a faithful copy of the live Space and can be re-pushed to a new Hugging Face Docker Space as-is. See HANDOVER.md for redeploy + agent-rewire steps. (The YAML front-matter above is the HF Space configuration.)

Files

  • —app.py — the FastAPI app (routes: POST /build-url, GET /health).
  • —requirements.txt — fastapi, uvicorn[standard].
  • —Dockerfile — HF Spaces Docker build, serves uvicorn on port 7860.
  • —.gitattributes — Git LFS rules (HF Space default).
  • —HANDOVER.md — deploy + rewire instructions.

Run locally

bash
pip install -r requirements.txt
uvicorn app:app --host 0.0.0.0 --port 7860
curl -s http://localhost:7860/health
curl -s -X POST http://localhost:7860/build-url \
  -H "Content-Type: application/json" \
  -d '{"lang":"nl","category":"band","location":"Amsterdam"}'