You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"List allocations that your account has access to from the DoiT API",
82
+
description:`List allocations for the report or run_query configuration that your account has access to from the DoiT API.
83
+
Allocations in the DoiT Cloud Intelligence Platform are a powerful feature that allows you to group and attribute cloud costs to specific business units, teams, projects, or any other logical grouping relevant to your organization.`,
Copy file name to clipboardExpand all lines: src/utils/prompts.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ export const prompts = [
17
17
{
18
18
name: "Query Best Practice",
19
19
description: "Best practice reminder for running queries",
20
-
text: `Before running a query, always check the filter fields explanation and dimensions.`,
20
+
text: `Before running a query, always check the filter fields explanation dimensions and allocations.`,
21
21
},
22
22
{
23
23
name: "Document Output Reminder",
@@ -27,7 +27,7 @@ export const prompts = [
27
27
{
28
28
name: "Generate Report Command",
29
29
description: "Template for generating cost reports",
30
-
text: `To create a cost report, first check if you need specific dimensions with:\nlist_dimensions(filter: "type:fixed")\n\nThen check if there is similar reports with list_reports and get_report_results. when you understand the structure Then run a query like:\nrun_query({\n config: {\n dataSource: "billing",\n metric: { type: "basic", value: "cost" },\n timeRange: { mode: "last", amount: 1, unit: "month", includeCurrent: true },\n group: [{ id: "service_description", type: "fixed", limit: { metric: { type: "basic", value: "cost" }, sort: "desc", value: 10 } }]\n }\n})`,
30
+
text: `To create a cost report, first check if you need specific dimensions with:\nlist_dimensions(filter: "type:fixed") and allocations with list_allocations(filter: "type:fixed")\n\nThen check if there is similar reports with list_reports and get_report_results. when you understand the structure Then run a query like:\nrun_query({\n config: {\n dataSource: "billing",\n metric: { type: "basic", value: "cost" },\n timeRange: { mode: "last", amount: 1, unit: "month", includeCurrent: true },\n group: [{ id: "service_description", type: "fixed", limit: { metric: { type: "basic", value: "cost" }, sort: "desc", value: 10 } }]\n }\n})`,
31
31
},
32
32
{
33
33
name: "Generate Anomalies Document",
@@ -50,8 +50,8 @@ export const prompts = [
50
50
text: `Create a document (Artifacts) with a table to display invoice details. Include the following columns: Invoice ID, Invoice Date, Due Date, Status, Total Amount, Balance Amount, Currency, and URL. For line items, create a separate table with columns: Description, Details, Price, Quantity, Type, and Currency. Add any relevant payment status or due date alerts. (Do not generate code, only a document)`,
51
51
},
52
52
{
53
-
name: "DoiT MCP Server tools output",
54
-
description: "Guidance for tool output formatting",
55
-
text: `Tools results should use the Document artifact type if possible. You must never use the code artifact type or to analyze the results of a tool with code/javascript.`,
53
+
name: "Allocations Usage Guidance",
54
+
description: "Guidance for using allocations effectively",
55
+
text: `Use the list_allocations tool to explore available allocations. Select allocations that best match your reporting needs, and always review the filter fields reference for optimal filtering.`,
0 commit comments