Skip to content

Commit 483a6ce

Browse files
joeyoussHarness
authored andcommitted
Ask AI Docs (#102595)
* 19994d changed title * 29eaad added screenshots * 9d545c added screenshots * 897f84 Ask AI Docs
1 parent 6a3bdab commit 483a6ce

7 files changed

Lines changed: 218 additions & 0 deletions

File tree

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
---
2+
title: Ask AI in CACM
3+
description: Ask AI in CACM
4+
sidebar_position: 7
5+
6+
---
7+
8+
## What is Ask AI?
9+
10+
<DocImage path={require('./static/ask-ai-overview.png')} width="100%" height="100%" title="Click to view full size image" />
11+
12+
**Ask AI** is Harness AI built directly into Cloud & AI Cost Management (CACM). It lets you have a natural-language conversation with your cost data and configuration — no need to memorize where filters live, build charts by hand, or read through long reports to find an answer.
13+
14+
Think of it as an assistant that already knows your account's cloud spend, commitments, perspectives, cost categories, and governance rules. You ask a question or describe what you want, and it responds with a context-aware answer, an explanation, or by helping you build something.
15+
16+
### What can you do with Ask AI?
17+
18+
- **Get answers, fast** — ask about spend, trends, top cost drivers, and anomalies in plain English.
19+
- **Understand the "why"** — have a number or chart explained in context (e.g. why utilisation is low, what caused a spike).
20+
- **Build things conversationally** — create Perspectives and Cost Categories by describing them instead of clicking through builders.
21+
- **Edit and refine** — adjust an existing configuration by telling the AI what to change.
22+
- **Author policies** — generate and validate Asset Governance rules from a plain-language description.
23+
- **Explore and iterate** — treat it as a back-and-forth conversation, drilling down with follow-up questions.
24+
25+
### How it works
26+
27+
Each place Ask AI appears is **context-aware** — it knows which page you're on and pre-loads relevant suggested prompts to get you started. You'll recognize it by the **Ask AI** pill, an AI sparkle icon, or an **Edit with AI** button. Click it, pick a suggested prompt or type your own, and continue the conversation.
28+
29+
> **Note:** Ask AI is available only when Harness AI is enabled for your account and you have accepted the AI end-user license agreement (EULA). If you don't see these options, contact your account administrator.
30+
31+
---
32+
33+
## The Gap We're Bridging
34+
35+
CACM already has the data and the tools — but getting from raw cost data to real answers and action has traditionally required effort and expertise. **Ask AI closes the gap between *having* cost data and actually *using* it.**
36+
37+
- **Knowledge gap (where/how to look)** — You no longer need to know that Perspectives, Cost Categories, filters, group-bys, coverage reports, or governance rules exist and how to configure each one. Just ask in plain language.
38+
- **Analysis gap (data → insight)** — Dashboards show *what* your costs are, but not *why* they changed or *what to do next*. Ask AI turns numbers into explanations and recommendations.
39+
- **Authoring gap (intent → configuration)** — Building a Perspective/View, a Cost Category, or a governance rule is manual and error-prone. Ask AI (and AIDA) translate your intent into working configuration, so you describe the outcome instead of assembling it step by step.
40+
- **Expertise gap (specialist skills)** — Governance rules need policy-YAML knowledge; commitment analysis needs FinOps fluency. Ask AI and AIDA let non-experts produce expert-level output.
41+
- **Time-to-value gap (onboarding)** — New users face a steep learning curve. Conversational entry points get them productive immediately, and contextual prompts deliver answers without navigating away.
42+
43+
> **In short:** Ask AI shifts CACM from *"here's your cost data, now figure it out and configure it yourself"* to *"ask what you want, and get the answer — or the configuration — built for you."*
44+
45+
---
46+
47+
## Where You'll Find Ask AI
48+
49+
| Page / Feature | Entry point | Best for |
50+
|----------------|-------------|----------|
51+
| **Overview / Cost Insights** | "Ask AI for Cost Insights" pill + suggested prompts | Understanding spend trends and where money is going |
52+
| **Commitment Orchestrator** | "Ask AI about Commitments" pill + suggested prompts | Analyzing RI/Savings Plan commitments and coverage |
53+
| **Commitment Utilisation cards** | "Ask AI" on each utilisation gauge | Explaining a specific utilisation number |
54+
| **Perspective (View) Builder** | AI assistant opens with "Let's create a Perspective" | Building a cost perspective / View conversationally |
55+
| **Cost Category Builder** | AI assistant + "Edit with AI" button | Creating and editing cost categories conversationally |
56+
57+
---
58+
59+
## 1. Overview / Cost Insights
60+
61+
<DocImage path={require('./static/ask-ai-overview.png')} width= "100%" height="100%" title="Click to view full size image" />
62+
63+
### What is Ask AI here?
64+
On the CACM **Overview** page, Ask AI appears as an **"Ask AI for Cost Insights"** pill alongside a set of suggested prompts. It's your entry point for understanding overall cloud spend — a conversational layer over the same data you see in the summary cards and charts, so you can ask "what's happening with my costs?" without building a single filter.
65+
66+
### What you can do with it
67+
Ask high-level questions about spend across all your cloud providers and clusters, get plain-language explanations of trends and changes, and receive suggestions on where to focus cost-reduction efforts. It's designed for the "first look" moment when you open CACM.
68+
69+
### Use cases
70+
- **Spot your biggest cost drivers** — find which providers, services, or accounts dominate spend this month.
71+
- **Track month-over-month changes** — understand whether costs went up or down and by how much.
72+
- **Investigate spikes** — ask what caused a sudden increase in a given period.
73+
- **Find savings opportunities** — get high-level suggestions for reducing spend.
74+
- **Compare providers** — see how AWS, Azure, GCP, and cluster costs stack up against each other.
75+
- **Kick off deeper analysis** — start broad here, then follow up to narrow into a specific team, service, or time range.
76+
77+
### Example questions
78+
- "What are my top spenders this month across cloud providers?"
79+
- "How have my costs changed over the month?"
80+
- "What can I do to bring down spend?"
81+
- "Which service grew the most compared to last month?"
82+
- "Why did my AWS costs increase last week?"
83+
84+
### How to use it
85+
1. Open the **Overview** page.
86+
2. Click the **Ask AI for Cost Insights** pill, or pick one of the suggested prompts.
87+
3. The AI assistant opens; type follow-up questions to drill deeper.
88+
89+
---
90+
91+
## 2. Commitment Orchestrator
92+
93+
<DocImage path={require('./static/ask-ai-commitments.png')} width="100%" height="100%" title="Click to view full size image" />
94+
95+
### What is Ask AI here?
96+
In the **Commitment Orchestrator** page header, Ask AI appears as an **"Ask AI about Commitments"** pill with commitment-focused suggested prompts. It helps you make sense of your Reserved Instance (RI) and Savings Plan (SP) landscape — coverage, gaps, and optimization opportunities — without manually cross-referencing multiple coverage and utilisation reports.
97+
98+
Also, on the **Commitment Utilisation** summary, each gauge card (Overall, Savings Plan, Reserved Instances) has its own **Ask AI** action. Unlike the broader Commitment Orchestrator prompt, this is hyper-focused: it pre-fills a question with the exact utilisation percentage you're looking at, so the AI explains *that specific number* in context.
99+
100+
### What you can do with it
101+
Ask the AI to analyze your commitment portfolio, surface where coverage is strong or weak, and highlight instance types or families that need attention. It turns a complex commitments picture into a conversation.
102+
103+
### Use cases
104+
- **Analyze your commitment landscape** — get an overview of your AWS EC2/RDS/ElastiCache commitments.
105+
- **Find coverage gaps** — identify instance types or families with the least coverage that may be running on-demand unnecessarily.
106+
- **Spot over-commitment** — find where you've committed more than you're using.
107+
- **Prioritize action** — understand which changes would have the biggest savings impact.
108+
- **Understand RI vs SP mix** — reason about how Reserved Instances and Savings Plans combine in your coverage.
109+
- **Plan purchases** — explore what additional commitments could improve coverage.
110+
111+
### Example questions
112+
- "Analyze my AWS commitments."
113+
- "Analyze my AWS EC2 commitment landscape."
114+
- "Which instance types/families have the most and least coverage?"
115+
- "Where am I running on-demand that could be covered by a commitment?"
116+
- "What should I prioritize to improve my coverage?"
117+
118+
### How to use it
119+
1. Go to **Commitment Orchestrator**.
120+
2. In the page header, click the **Ask AI about Commitments** pill or a suggested prompt or on any gauge card (Overall, Savings Plan, Reserved Instances), click the **Ask AI** action.
121+
3. Continue the conversation for deeper analysis.
122+
123+
124+
---
125+
126+
## 3. Perspective (View) Builder
127+
128+
<DocImage path={require('./static/ask-ai-perspective.png')} width="100%" height="100%" title="Click to view full size image" />
129+
130+
### What is Ask AI here?
131+
A **Perspective** — also referred to as a **View** — is a custom, saved view of your cloud spend, defined by rules and filters that slice costs the way your business thinks about them (by team, environment, product, etc.). In the **Perspective Builder**, Ask AI opens automatically with the prompt **"Let's create a Perspective"** and lets you build that view by describing it in plain language instead of manually configuring every rule and filter.
132+
133+
> **Note on terminology:** Perspectives are increasingly surfaced as **Views**, and newer Views can be edited in the **Cost Explorer** (which adds capabilities like custom saved time ranges, unit costs, and AI cost tracking that the legacy Perspective builder doesn't support). You may see both "Perspective" and "View" in the product — they refer to the same concept.
134+
135+
### What you can do with it
136+
Describe the view you want and let the assistant translate your intent into perspective rules — choosing the right filters, group-bys, and conditions for you. You stay in control and can refine as you go.
137+
138+
### Use cases
139+
- **Build a perspective from a description** — e.g. "group my AWS spend by team and environment."
140+
- **Filter to what matters** — scope a view to specific accounts, services, regions, or tags.
141+
- **Set the grouping** — ask for spend grouped by a dimension without knowing the exact field names.
142+
- **Combine conditions** — express multi-condition rules conversationally (e.g. production workloads for one team).
143+
- **Speed up onboarding** — help new users create their first perspective without learning the full builder.
144+
- **Iterate quickly** — adjust the perspective by asking for changes rather than reworking rules manually.
145+
146+
### Example questions
147+
- "Let's create a Perspective for my production AWS spend."
148+
- "Group my costs by team and environment."
149+
- "Show only GCP spend for the data-platform project."
150+
- "Add a filter for the us-east-1 region."
151+
152+
### How to use it
153+
1. From the **Perspectives** list, start creating a new Perspective.
154+
2. The AI assistant opens automatically with an initial prompt.
155+
3. Describe the view you want; the assistant helps assemble it, and you can refin
156+
157+
158+
---
159+
160+
## 4. Cost Category Builder
161+
162+
<DocImage path={require('./static/ask-ai-costcategory.png')} width="100%" height="100%" title="Click to view full size image" />
163+
164+
### What is Ask AI here?
165+
A **Cost Category** groups spend into meaningful business buckets (for example: teams, departments, products, or cost centers), so shared cloud costs can be allocated and reported in terms your organization understands. In the **Cost Category Builder**, Ask AI opens with the prompt **"Let's create a Cost Category"** to help you define those buckets conversationally, and an **Edit with AI** button lets you refine existing buckets later.
166+
167+
### What you can do with it
168+
Create cost buckets by describing your organizational structure, then edit and reorganize them through conversation — no need to hand-configure each bucket's rules one by one.
169+
170+
### Use cases
171+
- **Create a cost category from scratch** — describe your teams/departments and let AI define the buckets.
172+
- **Map spend to your org** — allocate shared costs to business units, products, or cost centers.
173+
- **Define bucket rules** — express what belongs in each bucket in plain language.
174+
- **Edit existing buckets** — use **Edit with AI** to rename, merge, split, or adjust buckets after creation.
175+
- **Handle shared/unattributed costs** — ask how to allocate costs that don't map cleanly to one bucket.
176+
- **Standardize reporting** — build categories that make chargeback/showback reports meaningful.
177+
178+
### Example questions
179+
- "Let's create a Cost Category for my engineering teams."
180+
- "Create buckets for Platform, Data, and Frontend teams."
181+
- "Add a bucket for shared infrastructure costs."
182+
- "Edit this category to split the Platform bucket by environment."
183+
184+
### How to use it
185+
1. From the **Cost Categories** list, start creating a new Cost Category.
186+
2. The AI assistant opens with an initial prompt.
187+
3. As you add cost buckets, use **Edit with AI** to adjust them.
188+
189+
---
190+
191+
## Tips for Better Answers
192+
193+
- **Be specific about scope** — mention the cloud provider, time range, team, or service you care about.
194+
- **Start with a suggested prompt** — then refine with follow-up questions.
195+
- **Reference what you see** — on utilisation cards, the prompt already includes the exact figure, so ask "why" and "what next."
196+
- **Iterate** — treat it as a conversation; narrow down step by step.
197+
198+
---
199+
200+
## Frequently Asked Questions
201+
202+
**Q: Why don't I see Ask AI anywhere?**
203+
A: Harness AI must be enabled for your account and the AI EULA accepted. Ask your administrator.
204+
205+
**Q: Is Ask AI the same everywhere?**
206+
A: The underlying assistant is shared across Overview, Commitment Orchestrator, Commitment Utilisation, Perspective Builder, and Cost Category Builder. Governance uses a separate copilot called **AIDA**.
207+
208+
**Q: Can Ask AI make changes for me?**
209+
A: In the Perspective and Cost Category builders it helps you construct and edit configurations. On analysis pages (Overview, Commitments) it answers questions and provides insights.
210+
211+
**Q: Does Ask AI use my actual cost data?**
212+
A: Yes — answers are grounded in your account's cost, commitment, and usage data for context-aware responses.
213+
214+
**Q: Are the suggested prompts the only things I can ask?**
215+
A: No. Suggested prompts are shortcuts. You can type any question and ask follow-ups.
216+
217+
636 KB
Loading
466 KB
Loading
143 KB
Loading
717 KB
Loading
515 KB
Loading

sidebars.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2742,6 +2742,7 @@ const sidebars: SidebarsConfig = {
27422742
},
27432743
'cloud-cost-management/get-started/key-concepts',
27442744
'cloud-cost-management/get-started/data-job-status',
2745+
'cloud-cost-management/ask-ai',
27452746
{
27462747
type: 'html',
27472748
value: 'Cost Reporting',

0 commit comments

Comments
 (0)