diff --git a/code_snippets/api-guide/audit-log/output-1.json b/code_snippets/api-guide/audit-log/output-1.json index 4de536637a..d4e91d8140 100644 --- a/code_snippets/api-guide/audit-log/output-1.json +++ b/code_snippets/api-guide/audit-log/output-1.json @@ -122,7 +122,7 @@ } ], "details": [ - "Create model [visual-classifier-one2]" + "Create model 'visual-classifier-one2'" ], "success": true, "req_id": "webportal-7f53926068b3479bbc5631109ac64377", @@ -164,7 +164,7 @@ } ], "details": [ - "Create model [dogs-vs-cats]" + "Create model 'dogs-vs-cats'" ], "success": true, "req_id": "webportal-f488464806a042698840233f070adeec", diff --git a/code_snippets/python-sdk/inference/visual_d_video.py b/code_snippets/python-sdk/inference/visual_d_video.py index 3020e38c42..17f395e5cd 100644 --- a/code_snippets/python-sdk/inference/visual_d_video.py +++ b/code_snippets/python-sdk/inference/visual_d_video.py @@ -6,9 +6,9 @@ USER_ID = "clarifai" APP_ID = "main" # Change these to whatever model and video URL you want to use -MODEL_ID = "general-image-recognition" +MODEL_ID = "general-image-detection" # You can also set a particular model version by specifying the version ID -# eg: MODEL_VERSION_ID = 'aa7f35c01e0642fda5cf400f543e7c40' +# eg: MODEL_VERSION_ID = '1580bb1932594c93b7e2e04456af7c6f' VIDEO_URL = "https://samples.clarifai.com/beer.mp4" # Change this to configure the FPS rate (If it's not configured, it defaults to 1 FPS) @@ -18,13 +18,13 @@ SAMPLE_MS = 2000 # Model class objects can be inititalised by providing its URL or also by defining respective user_id, app_id and model_id -# eg: model = Model("https://clarifai.com/clarifai/main/models/general-image-recognition") +# eg: model = Model("https://clarifai.com/clarifai/main/models/general-image-detection") model = Model(user_id="clarifai", app_id="main", model_id=MODEL_ID, pat="YOUR_PAT") output_config = {"sample_ms": SAMPLE_MS} # Run inference every 2 seconds model_prediction = model.predict_by_url( - BEER_VIDEO_URL, input_type="video", output_config=output_config + VIDEO_URL, input_type="video", output_config=output_config ) # The predict API gives flexibility to generate predictions for data provided through filepath, URL and bytes format. diff --git a/docs/portal-guide/clarifai-organizations/members-teams.md b/docs/portal-guide/clarifai-organizations/members-teams.md index 1b13443182..950b9b65ce 100644 --- a/docs/portal-guide/clarifai-organizations/members-teams.md +++ b/docs/portal-guide/clarifai-organizations/members-teams.md @@ -36,7 +36,7 @@ On the dialog box that appears, enter the invitee’s email address and select a You can assign any of the following roles: - **Admin** — the invitee will have administrative privileges in the organization. -- **Financial Manager** — the invitee will have access to key financial data, including current spending based on the organization's pricing plan and budget settings, enabling better financial oversight and management. +- **Financial Manager** — the invitee will have access to key financial data, including current spending based on the organization's pricing plan and budget settings, enabling better financial oversight and management. This role is only permitted to access the following tabs within the [Control Center](https://docs.clarifai.com/portal-guide/control-center/): Overview, Usage, and Costs. - **Organization Contributor (all apps)** — the invitee will be able to contribute to all the apps within the organization, but without some admin privileges.. - **Organization User (all apps)** — the invitee will have access privileges similar to those of an Organization Contributor for all apps, but with view-only permissions. - **Team Contributor (select apps)** — the invitee will be available to contribute only to some selected applications. diff --git a/docs/portal-guide/control-center/teams-logs.md b/docs/portal-guide/control-center/teams-logs.md index 83a26e4542..b7cbdeb4e6 100644 --- a/docs/portal-guide/control-center/teams-logs.md +++ b/docs/portal-guide/control-center/teams-logs.md @@ -2,7 +2,7 @@ description: Gain insights into platform activities with enhanced visibility, security, and governance pagination_next: null sidebar_position: 3 -draft: true +unlisted: true --- # Teams & Logs Tab @@ -14,16 +14,7 @@ The Teams & Logs tab allows you to monitor platform operations by capturing deta It provides the ability to assess user actions and resource changes, identify potential security issues, maintain comprehensive logs to meet regulatory requirements, and monitor request origins to troubleshoot failed operations effectively. -You can use the tab to track the following critical resource operations (_we're planning to support more resources in the future_): - -- **Organization and team membership activities** — Includes creating, updating, or deleting organizations and teams, sending invitations, and managing team users and applications. -- **Module activities** — Tracks the creation, updating, and deletion of modules. -- **Model activities** — Tracks actions such as creating, training, publishing, and deleting models. -- **Workflow activities** — Covers the creation, publishing, updating, and deletion of workflows. -- **Application activities** — Includes creating, updating, duplicating, and deleting applications. -- **Collaborator activities** — Includes adding collaborators, editing their scopes, and removing them. - -:::note +:::tip [Click here](https://docs.clarifai.com/api-guide/audit-log/) to learn how to perform audit tracking via the API. @@ -31,13 +22,25 @@ You can use the tab to track the following critical resource operations (_we're :::info -This feature is currently only available to users on our **Professional** and **Enterprise** subscription [plans](https://www.clarifai.com/pricing). +This feature is currently only available to users on our Professional and Enterprise subscription [plans](https://www.clarifai.com/pricing). ::: -
+## Supported Operations -To access the tab, go to the Control Center and select the Teams & Logs option in the collapsible left sidebar. +You can use the Teams & Logs tab to track the following critical resource operations (_we're planning to support more resources in the future_): + +- **Organization and team membership activities** — Includes creating, updating, or deleting organizations and teams, sending invitations, and managing team users and applications. +- **Collaborator activities** — Includes adding collaborators, editing their scopes, and removing them. +- **Application activities** — Includes creating, updating, duplicating, and deleting applications. +- **Model activities** — Tracks actions such as creating, training, publishing, and deleting models. +- **Workflow activities** — Covers the creation, publishing, updating, and deletion of workflows. +- **Module activities** — Tracks the creation, updating, and deletion of modules. + + +## Audit Log Details + +To access the tab, go to the Control Center and select the **Teams & Logs** option in the collapsible left sidebar. ![](/img/community/control-center/teams_logs_1.png) @@ -45,17 +48,28 @@ You can get details of the following activity logs: - **When** — Timestamp of the operation. - **Who** — Identity of the user performing the action. -- **What** — Description of the operation. +- **What** — Description of the operation. Note that if you - **Where** — IP address where the request originated from. - **Status** — Success or failure results of the operation. +## Filter by Apps + By default, the page displays activities across all your apps. You can customize the view by selecting specific app(s) using the dropdown menu in the upper-right corner. ![](/img/community/control-center/teams_logs_2.png) -Additionally, you can filter and view data for specific time periods using the date range selector in the upper-right corner. If you click the tool, a calendar will drop down, which allows you to specify a date range to narrow down the activity logs. +## Filter by Dates + +You can filter and view data for specific time periods using the date range selector in the upper-right corner. If you click the tool, a calendar will drop down, which allows you to specify a date range to narrow down the activity logs. _Note that the current date is not selected by default._ You can learn more about the date range tool [here](https://docs.clarifai.com/portal-guide/control-center/#date-ranges). ![](/img/community/control-center/teams_logs_3.png) +## Collapsible Operation Details + +The **Operation** column includes collapsible fields that allow you to expand or collapse details for each logged event. When expanded, the field reveals additional information about the specific action taken and the IDs of the resources impacted. + +Conversely, when collapsed, only a summarized description of the operation is visible, helping to maintain a cleaner and more organized view of the logs. You can toggle this view by clicking the small arrow icon next to each operation entry. + +![](/img/community/control-center/teams_logs_4.png) diff --git a/docs/sdk/cli.md b/docs/sdk/cli.md index 60b0a3480f..ecc84a2e12 100644 --- a/docs/sdk/cli.md +++ b/docs/sdk/cli.md @@ -109,7 +109,7 @@ You can learn how to use the `run-locally`, `test-locally`, and `upload` command ## Login -To use the Clarifai CLI, you must first log in using a [Personal Access Token](https://docs.clarifai.com/clarifai-basics/authentication/personal-access-tokens) (PAT). This requires creating a YMAL login configuration file to securely store your credentials. +To use the Clarifai CLI, you must first log in using a [Personal Access Token](https://docs.clarifai.com/clarifai-basics/authentication/personal-access-tokens) (PAT). This requires creating a YAML login configuration file to securely store your credentials. @@ -201,7 +201,7 @@ You can make predictions by using the `--model_url` argument, which specifies th ### Predict by a YAML file -You can provide the instructions for generating predictions in a YMAL configuration file. +You can provide the instructions for generating predictions in a YAML configuration file. Here is an example: diff --git a/docs/sdk/compute-orchestration.md b/docs/sdk/compute-orchestration.md index b10a266bc0..752ae1143a 100644 --- a/docs/sdk/compute-orchestration.md +++ b/docs/sdk/compute-orchestration.md @@ -31,7 +31,7 @@ These flexible capabilities support any compute instance — across various hard :::info Clarifai CLI -Clarifai provides a user-friendly command line interface (CLI) that simplifies Compute Orchestration tasks. With the CLI, you can easily manage the infrastructure required for deploying and scaling machine learning models, even without extensive MLOps expertise. +Clarifai provides a user-friendly [command line interface](https://docs.clarifai.com/sdk/cli/) (CLI) that simplifies Compute Orchestration tasks. With the CLI, you can easily manage the infrastructure required for deploying and scaling machine learning models, even without extensive MLOps expertise. This tool makes it easy to set up clusters, configure nodepools, and deploy models directly from the command line. You can follow its step-by-step tutorial provided [here](https://github.com/Clarifai/clarifai-python/blob/master/clarifai/cli/README.md). ::: diff --git a/static/img/community/control-center/teams_logs_1.png b/static/img/community/control-center/teams_logs_1.png index 2d2a2e16b0..3e141bbc98 100644 Binary files a/static/img/community/control-center/teams_logs_1.png and b/static/img/community/control-center/teams_logs_1.png differ diff --git a/static/img/community/control-center/teams_logs_2.png b/static/img/community/control-center/teams_logs_2.png index 5687ba8a17..2a612013e3 100644 Binary files a/static/img/community/control-center/teams_logs_2.png and b/static/img/community/control-center/teams_logs_2.png differ diff --git a/static/img/community/control-center/teams_logs_3.png b/static/img/community/control-center/teams_logs_3.png index 3aa7dd1414..db459e6679 100644 Binary files a/static/img/community/control-center/teams_logs_3.png and b/static/img/community/control-center/teams_logs_3.png differ diff --git a/static/img/community/control-center/teams_logs_4.png b/static/img/community/control-center/teams_logs_4.png new file mode 100644 index 0000000000..f40615f806 Binary files /dev/null and b/static/img/community/control-center/teams_logs_4.png differ