Run Collector¶
The AI Assets Collector collects AI assets from your data sources, builds an inventory, and records relationships between them for AI Governance.
Download docker-compose.yml¶
Save the file in a directory on your machine (for example ai-assets-collector/). Use the link below — it triggers a download using the site’s download helper.
Create .env¶
Under the same directory where you keep docker-compose.yml, create a file named .env and add the variables below. Set values for each platform you connect (Databricks, Azure, or both) and AI_GOVERNANCE_API_KEY for your AI Governance user.
| Bash | |
|---|---|
Leave a line blank or omit variables you are not using, following your collector’s expectations.
Login Trust3 AI Docker Repository¶
To log in to the Trust3 AI Docker repository, use the following command:
| Bash | |
|---|---|
When prompted for a password, enter your API key. You can obtain the API key from the Trust3 AI Support Team.
Run with Docker Compose¶
-
Open a terminal under the directory where you keep
docker-compose.ymland.env. -
Start the collector (detached):
Bash -
Watch logs — while
docker composeis up, the collector runs on a schedule (every 15 minutes in the current release):Bash -
Tear down when you no longer want scheduled collection on this host:
Bash
Environment variables (for .env)¶
| Variable | Purpose |
|---|---|
DATABRICKS_HOST | Databricks workspace URL |
DATABRICKS_TOKEN | Personal access token |
DATABRICKS_ENVIRONMENT_NAME | Databricks Workspace Env Type (dev/stage/prod) |
AZURE_TENANT_ID | Azure tenant ID |
AZURE_CLIENT_ID | Azure application (client) ID |
AZURE_CLIENT_SECRET | Azure client secret |
AI_GOVERNANCE_API_KEY | API key for AI Governance ingest, when your deployment expects it |
Quick checklist¶
-
docker-compose.ymlin a directory (download or copy fromai-assets-collector/docker/in the repo) -
.envunder that same directory with the variables above filled in as needed -
docker compose up -d -
docker compose logs -f trust3-ai-assets-collectorto verify the run - Databricks: Databricks
- Azure: Azure