Skip to content

Commit

Permalink
Update discovering-chrome-ai-using-fleet.md (#21897)
Browse files Browse the repository at this point in the history
Modified some text & removed my name from the file paths...
  • Loading branch information
nonpunctual committed Sep 9, 2024
1 parent c5b3f45 commit e57876a
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions articles/discovering-chrome-ai-using-fleet.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

# Discovering AI in Chrome with Fleet

Staying ahead of technological innovations is crucial for both individuals and organizations. Google Chrome, one of the most widely used web browsers, continually evolves to incorporate advanced features, including artificial intelligence (AI). This article will guide you through detecting if AI capabilities have been enabled in Chrome using Fleet.
Staying ahead of technological innovations is crucial for individuals and organizations. Google Chrome, one of the most widely used web browsers, continually evolves to incorporate new features, including artificial intelligence (AI). This article will guide you through detecting if AI capabilities have been enabled in Chrome using Fleet.

## Introduction to Chrome AI innovations

Google Chrome has integrated AI to enhance user experience by providing intelligent suggestions, improving search results, and offering in-browser assistance. To explore these innovations further, visit the [Chrome AI Innovations page](https://www.google.com/chrome/ai-innovations/). Detecting whether AI features are enabled in your Chrome browser can help you understand and leverage these advancements effectively.
Google Chrome has integrated AI to enhance user experience by providing intelligent suggestions, improving search results, and offering in-browser assistance. Visit the [Chrome AI Innovations page](https://www.google.com/chrome/ai-innovations/) for more infomration.

## Using Fleet to detect AI features in Chrome

Fleet, a comprehensive device management and security tool, allows you to monitor various aspects of your devices, including software configurations and enabled features. Using Fleet, you can detect whether AI features are enabled in Chrome by querying device settings, specifically in the "Preferences" JSON file.
Fleet, a comprehensive device management and security tool, allows you to monitor various aspects of your devices, including software configurations and enabled features. Using Fleet, you can detect whether AI features are enabled in Chrome by querying device settings, specifically in the Chrome "Preferences" JSON file.

### Step 1: Understanding Chrome's preferences JSON file

Expand All @@ -24,33 +24,31 @@ Chrome stores user settings and configurations in a JSON file at the following p

### Step 2: Identifying AI-related settings

Within this file, AI-related features are stored in the `optimization_guide` section. The `tab_organization_setting_state` field will tell you if AI-based tab management features are enabled:
AI-related features are stored in the `optimization_guide` section of the preferences. The `tab_organization_setting_state` field will tell you if AI-based tab management features are enabled:

- Enabled:
The setting will return `1`.
`> jq` is a lightweight and powerful command-line tool for parsing, filtering, and manipulating JSON data. It allows you to extract specific information from JSON files efficiently. In this case, we use `jq` to locate and read the value of the `tab_organization_setting_state` key within Chrome's preference file which will help us understand how to craft our Fleet query for reporting the state of this setting.

- If enabled, the setting will return `1`.

![Chrome settings UI with Chrome AI enabled](../website/assets/images/articles/[email protected])

```
% jq '.optimization_guide.tab_organization_setting_state' /Users/brock/Library/Application\ Support/Google/Chrome/Default/Preferences
% jq '.optimization_guide.tab_organization_setting_state' /Users/<user>/Library/Application\ Support/Google/Chrome/Default/Preferences
1
```

- Disabled:
The setting will return `2`.
- If disabled, the setting will return `2`.

![Chrome settings UI with Chrome AI disabled](../website/assets/images/articles/[email protected])

```
% jq '.optimization_guide.tab_organization_setting_state' /Users/brock/Library/Application\ Support/Google/Chrome/Default/Preferences
% jq '.optimization_guide.tab_organization_setting_state' /Users/<user>/Library/Application\ Support/Google/Chrome/Default/Preferences
2
```

`> jq` is a lightweight and powerful command-line tool for parsing, filtering, and manipulating JSON data. It allows you to extract specific information from JSON files efficiently. In this case, we use `jq` to locate and read the value of the `tab_organization_setting_state` key within Chrome's preference file.

### Step 3: Query the JSON file with Fleet

To query the JSON file and detect AI features, you can use the following command:
To query the JSON file and detect AI features using Fleet, you can use the following SQL query:

```
SELECT fullkey,path FROM parse_json WHERE path LIKE '/Users/%/Library/Application Support/Google/Chrome/Default/Preferences' AND fullkey='optimization_guide/tab_organization_setting_state';
Expand Down

0 comments on commit e57876a

Please sign in to comment.