A comprehensive AGI pipeline integrating NLP, Computer Vision, and Speech Processing using pre-trained models.
- Text generation with T5
- Object detection with YOLO
- Speech-to-text with Whisper
- Text-to-speech with Pyttsx3
-
Clone the repository:
git clone https://github.com/yourusername/agi-pipeline.git
-
Navigate to the project directory:
cd agi-pipeline -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Run the FastAPI application:
uvicorn main:app --reload
-
Access the API at
http://127.0.0.1:8000.
-
Build the Docker image:
docker build -t agi-pipeline:1.0.1 . -
Run the Docker container:
docker run -p 8000:8000 agi-pipeline:1.0.1
Feel free to open issues or submit pull requests!
This project is licensed under the MIT License - see the LICENSE file for details.
This repository includes a governance artifact package under docs/artifacts/ with:
- YAML source-of-truth artifact
- canonical JSON export
- JSON Schema contract
- sample CI/CD policy and regulator report templates
pip install -r requirements-dev.txt
# non-mutating freshness checks
make check-governance-json-clean
make check-governance-manifest-clean
make validate-governance
make test-governance
# CI-style run with JUnit output
make test-governance-ci
make summarize-governance-tests
# one-shot full pipeline
make verify-governanceWhen generated files are intentionally updated, regenerate before commit:
make build-governance-json
make build-governance-manifestmake check-governance-json-cleanfails if committed JSON is stale (without rewriting files).make check-governance-manifest-cleanfails if committeddocs/artifacts/manifest.jsonis stale (without rewriting files).make validate-governanceenforces schema, parity, and template checks.make test-governanceincludes an integrity test against the repository artifact files.- CI runs the same targets in
.github/workflows/governance-artifact-validation.ymland uploads JUnit results and posts a summary.
Use custom paths when artifacts are relocated (all paths are relative to --root):
python scripts/export_governance_artifact_json.py --root . \
--yaml docs/artifacts/custom.yaml \
--json docs/artifacts/custom.json
python scripts/validate_governance_artifact.py --root . \
--yaml docs/artifacts/custom.yaml \
--json docs/artifacts/custom.json \
--schema docs/artifacts/schemas/enterprise_ai_governance_artifact.schema.json \
--cicd docs/artifacts/examples/cicd_policy_gate_manifest.yaml \
--report docs/artifacts/examples/regulator_report_template.xmlpython scripts/export_governance_artifact_json.py --version
python scripts/validate_governance_artifact.py --version
python scripts/summarize_governance_test_results.py --version