Tripleflow is a tool that enables semi-supervised data feeding of knowledge graphs from unstructured documents.
- Python 3.11 or higher.
- Node / NPM
- Docker
- Make
- MongoDB instance
Both services read their settings from environment files. Copy the templates and fill in your values before the first launch:
cp tripleflow-api/.env.template tripleflow-api/.env
cp tripleflow-front/.env.template tripleflow-front/.env.localMONGO_URI is required, the API fails to start without it. Every other variable is optional and documented in the templates.
- Dependency installation
We recommend a virtual environment to avoid dependency conflicts.
cd tripleflow-api && python3 -m venv .venv && source .venv/bin/activate && pip install -r requirements.txtcd tripleflow-front && npm install- Launch app
Run each service in its own terminal, so the API and the front-end stay up at the same time (MongoDB must already be running too):
cd tripleflow-api && uvicorn app.main:appcd tripleflow-front && npm install && npm run dev- API
cd tripleflow-api && make docker-buildcd tripleflow-api && make docker-run- Front
cd tripleflow-front && make docker-buildcd tripleflow-front && make docker-runHave a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.
Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.
Please refer to the [quick start] for information on how to launch the application.
For transparency into our release cycle and in striving to maintain backward compatibility, Tripleflow is maintained under the Semantic Versioning guidelines. Sometimes we screw up, but we adhere to those rules whenever possible.
See the Releases section of our GitHub project for changelogs for each release version of Tripleflow.
The release management process is decided in the RELEASE.md of the gh-pages branch
Code released under the MIT License.