{"id":16509536,"url":"https://github.com/pythonhubdev/zania-backend","last_synced_at":"2025-10-14T11:40:00.884Z","repository":{"id":256637472,"uuid":"855602364","full_name":"pythonhubdev/zania-backend","owner":"pythonhubdev","description":"A FastAPI-based Question-Answering bot leveraging Langchain and large language models. Answers questions based on uploaded JSON or PDF documents, providing a structured JSON output of question-answer pairs.","archived":false,"fork":false,"pushed_at":"2024-09-12T04:26:00.000Z","size":1522,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T01:51:27.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pythonhubdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-11T06:28:21.000Z","updated_at":"2024-09-12T04:26:01.000Z","dependencies_parsed_at":"2024-09-12T06:17:46.984Z","dependency_job_id":"d8952b58-a2ef-44d3-b330-4b8b49bad5da","html_url":"https://github.com/pythonhubdev/zania-backend","commit_stats":null,"previous_names":["pythonhubdev/zania-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonhubdev%2Fzania-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonhubdev%2Fzania-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonhubdev%2Fzania-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonhubdev%2Fzania-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythonhubdev","download_url":"https://codeload.github.com/pythonhubdev/zania-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241465113,"owners_count":19967243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T15:51:02.618Z","updated_at":"2025-10-14T11:39:55.837Z","avatar_url":"https://github.com/pythonhubdev.png","language":"CSS","readme":"# Zania Backend\n\nA FastAPI-based Question-Answering API leveraging Langchain and large language models. Answers questions based on\nuploaded JSON or PDF documents, providing a structured JSON output of question-answer pairs.\n\n# Installing UV\n\n```bash\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n```\n\n# Installing packages with uv\n\n```bash\nuv sync\n```\n\n# Setting up `.env`\nAdd the following to your `.env.development` file:\n\n```dotenv\nDEBUG=True\nSECRET_KEY=\u003cyour_secret_key\u003e\nNAME=\"Zania Backend\"\nAPP_LOC=zania_backend.web.application:app\nHOST=0.0.0.0\nPORT=8000\nWEB_CONCURRENCY=1\nUSE_HYPERCORN=True\nENVIRONMENT=development\nOPENAI_API_KEY=\u003cyour_openai_api_key\u003e\nLOG_LEVEL=20\n```\n\n# Running the server\n\n```bash\nuv run python -m src\n```\n\n\n# View the Docs in two formats\n\n1. http://0.0.0.0:8000/api/docs - Swagger\n2. http://0.0.0.0:8000/api/scalar - Scalar\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonhubdev%2Fzania-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonhubdev%2Fzania-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonhubdev%2Fzania-backend/lists"}