To define a new GIT model in ModelOps, you need to use the tmo command line interface (CLI) that is available in https://pypi.org/project/teradatamodelops/ or using pip install teradatamodelops command. And to configure tmo CLI, you need to get its Session Details from the ModelOps user interface.
- Select Your Account from the bottom Navigation bar.
- Select Session Details from the menu.The Session Details window displays.
- Click the note icon next to CLI Config.CLI config info is copied to clipboard.
- Copy and paste the CLI config at the terminal where tmo is installed.
- In the aoa CLI, add a new model using a template from your repository or using the demo model template:
tmo add -t https://github.com/Teradata/modelops-demo-models -b master
Follow the instructions to create a model folder structure with the GIT template.
See tmo documentation at https://pypi.org/project/teradatamodelops/.