Command Line Interface
AI Platform command line interface (CLI) is distributed as a lightweight Python package. We recommend installing it locally in a virtual environment.
| Component | Requirement |
|---|---|
| Python Version | 3.10, 3.11, 3.12, 3.13 |
| Operating System | Linux, Windows, macOS |
Install CLI
Note
Compatibility
The CLI and the AI Platform application must run the same version to remain compatible.
uv pip install latticeflow-go-sdk
pip install latticeflow-go-sdk
NoteWhat is my AI Platform application version?
Find the application version in the UI by following:
- Click your user icon in the top right corner.
- Click About.
- Click Copy Version.
Configure CLI
Select the CLI Reference icon in the left navigation menu, then copy the pre-filled lf configure command from the pop-up.
