@salesforce/afv-skills 1.62.0 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/agentforce-offline-experimentation-run/SKILL.md +253 -0
- package/skills/agentforce-offline-experimentation-run/scripts/build_report.py +796 -0
- package/skills/agentforce-offline-experimentation-run/scripts/resolve-token.sh +111 -0
- package/skills/agentforce-offline-experimentation-run/scripts/sfap_replay.py +1053 -0
- package/skills/automation-sandbox-post-copy-config-generate/SKILL.md +21 -11
- package/skills/automation-sandbox-post-copy-config-generate/assets/config_template.json +10 -0
- package/skills/automation-sandbox-post-copy-config-generate/assets/json_schema.json +33 -1
- package/skills/automation-sandbox-post-copy-config-generate/references/configuration_catalog.md +44 -1
- package/skills/automation-sandbox-post-copy-configure/SKILL.md +132 -124
- package/skills/automation-sandbox-post-copy-configure/references/flow_activation_path.md +151 -0
- package/skills/automation-sandbox-post-copy-configure/references/scheduled_apex_path.md +55 -9
- package/skills/consumer-goods-promotion-bo-api-deploy/SKILL.md +54 -107
- package/skills/consumer-goods-promotion-bo-api-deploy/assets/set-comment-value/payloads/copy.json +1 -1
- package/skills/consumer-goods-promotion-bo-api-deploy/references/conventions-and-payload-rules.md +82 -5
- package/skills/consumer-goods-promotion-bo-api-deploy/references/generate-and-wire.md +35 -2
- package/skills/consumer-goods-promotion-bo-api-deploy/references/preflight-and-seed-queries.md +149 -0
- package/skills/consumer-goods-promotion-bo-api-deploy/references/smoke-and-verify.md +17 -1
- package/skills/dx-devops-conflict-resolve/SKILL.md +1 -5
- package/skills/dx-devops-pipeline-manage/SKILL.md +1 -5
- package/skills/dx-devops-project-manage/SKILL.md +1 -5
- package/skills/dx-devops-promote/SKILL.md +1 -5
- package/skills/dx-devops-request-status/SKILL.md +1 -5
- package/skills/dx-lifecycle-center/SKILL.md +120 -0
- package/skills/dx-lifecycle-center/examples/workflows.md +175 -0
- package/skills/dx-lifecycle-center/references/connect-api.md +123 -0
- package/skills/dx-lifecycle-center/references/connect-org.md +184 -0
- package/skills/dx-lifecycle-center/references/deploy.md +153 -0
- package/skills/dx-lifecycle-center/references/error-handling.md +21 -0
- package/skills/dx-lifecycle-center/references/hub-org.md +37 -0
- package/skills/dx-lifecycle-center/references/list-orgs.md +99 -0
- package/skills/dx-lifecycle-center/references/request-body.md +75 -0
- package/skills/dx-lifecycle-center/references/troubleshooting.md +31 -0
- package/skills/dx-lifecycle-center/scripts/poll-deploy-status.sh +200 -0
- package/skills/dx-lifecycle-center/scripts/resolve-environment.sh +120 -0
- package/skills/dx-org-devhub-configure/SKILL.md +1 -3
- package/skills/dx-org-shape-manage/SKILL.md +1 -5
- package/skills/dx-org-snapshot-manage/SKILL.md +1 -3
- package/skills/education-cloud-academic-calendar-generate/SKILL.md +1 -3
- package/skills/education-cloud-course-catalog-migrate/SKILL.md +1 -3
- package/skills/education-cloud-domain-configure/SKILL.md +1 -3
- package/skills/education-cloud-multi-campus-configure/SKILL.md +1 -3
- package/skills/education-cloud-student-recruitment-agent-configure/SKILL.md +1 -5
- package/skills/experience-ui-bundle-2gp-deploy/SKILL.md +1 -3
- package/skills/experience-ui-bundle-features-generate/SKILL.md +1 -5
- package/skills/experience-ui-bundle-mfa-configure/SKILL.md +1 -3
- package/skills/field-service-data-capture-migrate/SKILL.md +1 -3
- package/skills/insurance-brokerage-agency-billing-configure/SKILL.md +1 -3
- package/skills/marketing-message-test/SKILL.md +1 -3
- package/skills/nonprofit-fundraising-configure/SKILL.md +240 -0
- package/skills/nonprofit-fundraising-configure/references/gotchas.md +26 -0
- package/skills/nonprofit-fundraising-configure/references/mcp-invocation.md +678 -0
- package/skills/nonprofit-fundraising-configure/references/permission-targeting.md +35 -0
- package/skills/nonprofit-volunteer-management-model-get/SKILL.md +166 -0
- package/skills/nonprofit-volunteer-management-model-get/references/entities.md +315 -0
- package/skills/nonprofit-volunteer-management-model-get/references/relationships.md +175 -0
- package/skills/nonprofit-volunteer-management-model-get/references/themes.md +143 -0
- package/skills/nonprofit-volunteer-management-records-create/SKILL.md +121 -0
- package/skills/nonprofit-volunteer-management-records-create/references/field-guide.md +284 -0
- package/skills/nonprofit-volunteer-management-records-create/references/mcp-invocation.md +248 -0
- package/skills/nonprofit-volunteer-management-records-create/references/review-format.md +140 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/expand-series.py +632 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/render-review-table.py +419 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/tests/test_expand_series.py +690 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/tests/test_render_review_table.py +421 -0
- package/skills/nonprofit-volunteer-management-structure-generate/SKILL.md +119 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/configuration-decisions.md +159 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/discovery-interview.md +137 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/edge-cases.md +48 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/mcp-invocation.md +75 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/plan-output.md +141 -0
- package/skills/platform-custom-field-generate/SKILL.md +1 -0
- package/skills/platform-custom-field-generate/references/advanced-picklists.md +5 -5
- package/skills/platform-custom-metadata-type-generate/SKILL.md +3 -0
- package/skills/platform-custom-object-generate/SKILL.md +4 -0
- package/skills/platform-custom-setting-generate/SKILL.md +3 -0
- package/skills/platform-datamask-run/SKILL.md +1 -5
- package/skills/platform-permission-set-generate/SKILL.md +3 -0
- package/skills/platform-salesforce-connect-adapter-generate/SKILL.md +1 -3
- package/skills/platform-sandbox-configure/SKILL.md +1 -3
- package/skills/platform-value-set-generate/SKILL.md +3 -0
- package/skills/sales-call-scoring-configure/SKILL.md +1 -5
- package/skills/service-agentforce-channel-configure/SKILL.md +1 -3
- package/skills/service-agentforce-human-escalation-configure/SKILL.md +1 -3
- package/skills/service-catalog-template-coordinate/SKILL.md +1 -3
- package/skills/service-concierge-portal-generate/SKILL.md +1 -3
- package/skills/service-email-to-case-configure/SKILL.md +1 -5
- package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-coordinate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-studio-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-studio-validate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-access-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-bundle-deploy/SKILL.md +1 -5
- package/skills/service-itsm-agentic-setup-cmdb-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-coordinate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-discovery-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-employee-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-incident-management/SKILL.md +1 -0
- package/skills/service-itsm-agentic-setup-incident-sla-configure/SKILL.md +1 -0
- package/skills/service-itsm-agentic-setup-itsm-agentforce-permset-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-uel-user-create/SKILL.md +1 -9
- package/skills/service-itsm-incident-mgmt-configure/SKILL.md +1 -5
- package/skills/service-itsm-incident-priority-configure/SKILL.md +1 -3
- package/skills/service-itsm-slack-itservice-configure/SKILL.md +1 -3
- package/skills/service-itsm-swarming-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-debug/SKILL.md +1 -3
- package/skills/service-itsm-teams-employee-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-itdesk-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-itservice-configure/SKILL.md +1 -3
- package/skills/service-native-voice-recording-transcription-configure/SKILL.md +1 -3
- package/skills/service-omni-agent-users-create/SKILL.md +1 -3
- package/skills/service-omni-agent-work-sharing-configure/SKILL.md +1 -3
- package/skills/service-omni-attribute-routing-configure/SKILL.md +1 -3
- package/skills/service-omni-base-settings-configure/SKILL.md +1 -3
- package/skills/service-omni-channel-inventory-analyze/SKILL.md +1 -3
- package/skills/service-omni-channel-limits-analyze/SKILL.md +1 -3
- package/skills/service-omni-channel-setup-coordinate/SKILL.md +1 -3
- package/skills/service-omni-command-center-analyze/SKILL.md +1 -3
- package/skills/service-omni-command-center-configure/SKILL.md +1 -3
- package/skills/service-omni-permission-set-assign/SKILL.md +1 -3
- package/skills/service-omni-presence-status-deploy/SKILL.md +1 -3
- package/skills/service-omni-presence-user-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-queue-deploy/SKILL.md +1 -3
- package/skills/service-omni-queue-members-assign/SKILL.md +1 -3
- package/skills/service-omni-queue-routing-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-routing-flow-deploy/SKILL.md +1 -3
- package/skills/service-omni-service-channel-configure/SKILL.md +1 -3
- package/skills/service-omni-sidebar-configure/SKILL.md +1 -3
- package/skills/service-omni-skills-based-routing-configure/SKILL.md +1 -3
- package/skills/service-omni-supervisor-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-supervisor-permset-assign/SKILL.md +1 -3
- package/skills/service-omni-supervisor-surface-deploy/SKILL.md +1 -3
- package/skills/service-omni-supervisor-users-create/SKILL.md +1 -3
- package/skills/service-omni-work-skill-routing-configure/SKILL.md +1 -3
- package/skills/field-service-setup-orchestrator-get/SKILL.md +0 -47
- package/skills/tableau-next-asset-create/README.md +0 -65
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/afv-skills",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.64.0",
|
|
4
4
|
"description": "Salesforce's curated collection of agent skills for building applications. Optimized for Agentforce Vibes, compatible with all AI tools.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agentforce-offline-experimentation-run
|
|
3
|
+
description: "Use this skill when users want to execute this workflow when a user wants to test how a different LLM model would handle existing Agentforce agent conversations. Trigger when users mention agentforce, offline, experimentation."
|
|
4
|
+
metadata:
|
|
5
|
+
relatedSkills:
|
|
6
|
+
- dx-apexguru-scan
|
|
7
|
+
version: '1.0'
|
|
8
|
+
cliTools:
|
|
9
|
+
- tool:
|
|
10
|
+
- curl
|
|
11
|
+
semver: '>=7.0'
|
|
12
|
+
- tool:
|
|
13
|
+
- jq
|
|
14
|
+
semver: '>=1.6'
|
|
15
|
+
- tool:
|
|
16
|
+
- python3
|
|
17
|
+
semver: '>=3.8'
|
|
18
|
+
- tool:
|
|
19
|
+
- sf
|
|
20
|
+
semver: '>=2.0.0'
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# Managing Agentforce Offline Experimentation
|
|
24
|
+
|
|
25
|
+
## When to Use This Skill
|
|
26
|
+
|
|
27
|
+
Execute this workflow when a user wants to test how a different LLM model would handle existing Agentforce agent conversations. Fetches session traces from Data Cloud STDM, replays prompts via the SFAP AI Gateway REST API with structured tool calling, scores across four metrics (topic agreement, function name accuracy, function argument accuracy via LLM-as-judge, text response quality via LLM-as-judge), and produces CSV + HTML reports with SAFE/REVIEW/UNSAFE verdict badges. Requires Data Cloud with Agentforce Activity data streaming enabled, an authenticated org, and a target model ID (llmgateway__ prefix for SFAP replay). Estimated runtime: 10-30 minutes for 10 sessions.
|
|
28
|
+
|
|
29
|
+
## Workflow
|
|
30
|
+
|
|
31
|
+
discover-data-space → verify-stdm-availability → discover-agents → resolve-agent-label → list-available-models (if user needs help choosing) → find-sessions → get-conversation-details → get-llm-step-details → obtain-sfap-token → replay-turn-prompts → [score-exact-matches, judge-function-args, judge-text-responses] → generate-csv-report → generate-html-report.
|
|
32
|
+
WORKFLOW GATE: Do not proceed past Phase 0 until org alias (auto-discover from authenticated orgs), agent API name (auto-discover from STDM), and target model ID (ask user) are all confirmed.
|
|
33
|
+
SFAP JWT expires after ~2 hours. For 20+ session replays, refresh the token between batches. Each SFAP replay call takes ~1-3 seconds; keep under 20 sessions for reasonable wall-clock time (~10-30 minutes).
|
|
34
|
+
The scoring and judging steps (Phase 3) can run in parallel once replay completes. Exact-match scoring is instant; LLM judge calls add ~1-2 seconds per turn.
|
|
35
|
+
|
|
36
|
+
## Critical Constraints
|
|
37
|
+
|
|
38
|
+
**Preconditions:**
|
|
39
|
+
|
|
40
|
+
- Data Cloud is provisioned and enabled in the org (check: `DataCloudProvisioned`)
|
|
41
|
+
- Agentforce Activity data streaming is active in Data Cloud (check: `AgentforceActivityStream`)
|
|
42
|
+
- Einstein LLM / GenAI Gateway is configured in the org (check: `EinsteinLlmEnabled`)
|
|
43
|
+
- User has an authenticated session to the target org (check: `OrgAuthenticated`)
|
|
44
|
+
|
|
45
|
+
## Operations Reference
|
|
46
|
+
|
|
47
|
+
Operations grouped by purpose. Use these as the building blocks for the workflows above.
|
|
48
|
+
|
|
49
|
+
### Summary
|
|
50
|
+
|
|
51
|
+
| Operation | Purpose | Status | Call | Depends on |
|
|
52
|
+
|-----------|---------|--------|------|------------|
|
|
53
|
+
| `discover-data-space` | read | implemented | `getDataSpaces` | — |
|
|
54
|
+
| `verify-stdm-availability` | validate | implemented | `queryCdpAnsiSqlV2` | `discover-data-space` |
|
|
55
|
+
| `discover-agents` | read | implemented | `queryCdpAnsiSqlV2` | `verify-stdm-availability` |
|
|
56
|
+
| `resolve-agent-label` | read | implemented | `queryGenAiPlannerDefinition` | `discover-agents` |
|
|
57
|
+
| `list-available-models` | read | implemented | `queryAiModel` | — |
|
|
58
|
+
| `find-sessions` | read | implemented | `queryCdpAnsiSqlV2` | `verify-stdm-availability`, `discover-agents` |
|
|
59
|
+
| `get-conversation-details` | read | proposed | `queryCdpAnsiSqlV2` | `find-sessions` |
|
|
60
|
+
| `get-llm-step-details` | read | proposed | `queryCdpAnsiSqlV2` | `get-conversation-details` |
|
|
61
|
+
| `obtain-sfap-token` | validate | proposed | `obtainSfapJwt` | — |
|
|
62
|
+
| `replay-turn-prompts` | read | proposed | `sfapChatGenerations` | `get-llm-step-details`, `obtain-sfap-token` |
|
|
63
|
+
| `score-exact-matches` | read | proposed | `computeExactMatchScores` | `replay-turn-prompts` |
|
|
64
|
+
| `judge-function-args` | read | proposed | `sfapChatGenerations` | `score-exact-matches`, `obtain-sfap-token` |
|
|
65
|
+
| `judge-text-responses` | read | proposed | `sfapChatGenerations` | `replay-turn-prompts`, `obtain-sfap-token` |
|
|
66
|
+
| `generate-csv-report` | write | proposed | `generateCsvReport` | `score-exact-matches`, `judge-function-args`, `judge-text-responses` |
|
|
67
|
+
| `generate-html-report` | write | proposed | `generateHtmlReport` | `generate-csv-report` |
|
|
68
|
+
|
|
69
|
+
### Dependency graph
|
|
70
|
+
|
|
71
|
+
```mermaid
|
|
72
|
+
graph TD
|
|
73
|
+
discover_data_space["discover-data-space (read)"]
|
|
74
|
+
verify_stdm_availability["verify-stdm-availability (validate)"]
|
|
75
|
+
discover_agents["discover-agents (read)"]
|
|
76
|
+
resolve_agent_label["resolve-agent-label (read)"]
|
|
77
|
+
list_available_models["list-available-models (read)"]
|
|
78
|
+
find_sessions["find-sessions (read)"]
|
|
79
|
+
get_conversation_details["get-conversation-details (read)"]
|
|
80
|
+
get_llm_step_details["get-llm-step-details (read)"]
|
|
81
|
+
obtain_sfap_token["obtain-sfap-token (validate)"]
|
|
82
|
+
replay_turn_prompts["replay-turn-prompts (read)"]
|
|
83
|
+
score_exact_matches["score-exact-matches (read)"]
|
|
84
|
+
judge_function_args["judge-function-args (read)"]
|
|
85
|
+
judge_text_responses["judge-text-responses (read)"]
|
|
86
|
+
generate_csv_report["generate-csv-report (write)"]
|
|
87
|
+
generate_html_report["generate-html-report (write)"]
|
|
88
|
+
discover_data_space --> verify_stdm_availability
|
|
89
|
+
verify_stdm_availability --> discover_agents
|
|
90
|
+
discover_agents --> resolve_agent_label
|
|
91
|
+
verify_stdm_availability --> find_sessions
|
|
92
|
+
discover_agents --> find_sessions
|
|
93
|
+
find_sessions --> get_conversation_details
|
|
94
|
+
get_conversation_details --> get_llm_step_details
|
|
95
|
+
get_llm_step_details --> replay_turn_prompts
|
|
96
|
+
obtain_sfap_token --> replay_turn_prompts
|
|
97
|
+
replay_turn_prompts --> score_exact_matches
|
|
98
|
+
score_exact_matches --> judge_function_args
|
|
99
|
+
obtain_sfap_token --> judge_function_args
|
|
100
|
+
replay_turn_prompts --> judge_text_responses
|
|
101
|
+
obtain_sfap_token --> judge_text_responses
|
|
102
|
+
score_exact_matches --> generate_csv_report
|
|
103
|
+
judge_function_args --> generate_csv_report
|
|
104
|
+
judge_text_responses --> generate_csv_report
|
|
105
|
+
generate_csv_report --> generate_html_report
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### Read operations
|
|
109
|
+
|
|
110
|
+
#### `discover-data-space`
|
|
111
|
+
|
|
112
|
+
Discover active Data Cloud data spaces in the org
|
|
113
|
+
|
|
114
|
+
**Call:** `getDataSpaces` — status: `implemented`
|
|
115
|
+
|
|
116
|
+
#### `discover-agents`
|
|
117
|
+
|
|
118
|
+
Query STDM for distinct Agentforce agent API names that have session traces
|
|
119
|
+
|
|
120
|
+
**Call:** `queryCdpAnsiSqlV2` — status: `implemented`
|
|
121
|
+
|
|
122
|
+
**Depends on:** `verify-stdm-availability`
|
|
123
|
+
|
|
124
|
+
#### `resolve-agent-label`
|
|
125
|
+
|
|
126
|
+
Enrich the selected agent API name with a human-readable MasterLabel
|
|
127
|
+
|
|
128
|
+
**Call:** `queryGenAiPlannerDefinition` — status: `implemented`
|
|
129
|
+
|
|
130
|
+
**Inputs:**
|
|
131
|
+
|
|
132
|
+
- `agent_api_name` *(`String`)* — Agent API name selected in discover-agents
|
|
133
|
+
|
|
134
|
+
**Depends on:** `discover-agents`
|
|
135
|
+
|
|
136
|
+
#### `list-available-models`
|
|
137
|
+
|
|
138
|
+
List Einstein LLM models configured in the org to help the user choose a target model
|
|
139
|
+
|
|
140
|
+
**Call:** `queryAiModel` — status: `implemented`
|
|
141
|
+
|
|
142
|
+
#### `find-sessions`
|
|
143
|
+
|
|
144
|
+
Find recent Agentforce sessions in STDM filtered by agent API name and date range
|
|
145
|
+
|
|
146
|
+
**Call:** `queryCdpAnsiSqlV2` — status: `implemented`
|
|
147
|
+
|
|
148
|
+
**Inputs:**
|
|
149
|
+
|
|
150
|
+
- `agent_api_name` *(`String`)* — Agent API name selected in discover-agents
|
|
151
|
+
- `start_date` *(`String`)*
|
|
152
|
+
- `end_date` *(`String`)*
|
|
153
|
+
- `max_sessions` *(`Integer`)*
|
|
154
|
+
|
|
155
|
+
**Depends on:** `verify-stdm-availability`, `discover-agents`
|
|
156
|
+
|
|
157
|
+
#### `get-conversation-details`
|
|
158
|
+
|
|
159
|
+
Fetch interactions (turns) for each session from the STDM Interaction DMO
|
|
160
|
+
|
|
161
|
+
**Call:** `queryCdpAnsiSqlV2` — status: `proposed`
|
|
162
|
+
|
|
163
|
+
**Depends on:** `find-sessions`
|
|
164
|
+
|
|
165
|
+
#### `get-llm-step-details`
|
|
166
|
+
|
|
167
|
+
Fetch interaction steps including LLM inputs and outputs for each interaction
|
|
168
|
+
|
|
169
|
+
**Call:** `queryCdpAnsiSqlV2` — status: `proposed`
|
|
170
|
+
|
|
171
|
+
**Depends on:** `get-conversation-details`
|
|
172
|
+
|
|
173
|
+
#### `replay-turn-prompts`
|
|
174
|
+
|
|
175
|
+
Replay each turn's LLM prompt through the target model via SFAP REST API with structured tool calling
|
|
176
|
+
|
|
177
|
+
**Call:** `sfapChatGenerations` — status: `proposed`
|
|
178
|
+
|
|
179
|
+
**Inputs:**
|
|
180
|
+
|
|
181
|
+
- `target_model` *(`String`)* — Target model ID (llmgateway__ prefix, e.g. llmgateway__OpenAIGPT41)
|
|
182
|
+
|
|
183
|
+
**Depends on:** `get-llm-step-details`, `obtain-sfap-token`
|
|
184
|
+
|
|
185
|
+
#### `score-exact-matches`
|
|
186
|
+
|
|
187
|
+
Compute exact-match scores for topic agreement and function name accuracy
|
|
188
|
+
|
|
189
|
+
**Call:** `computeExactMatchScores` — status: `proposed`
|
|
190
|
+
|
|
191
|
+
**Depends on:** `replay-turn-prompts`
|
|
192
|
+
|
|
193
|
+
#### `judge-function-args`
|
|
194
|
+
|
|
195
|
+
LLM-as-judge scoring of function arguments when function names match (exact or lenient)
|
|
196
|
+
|
|
197
|
+
**Call:** `sfapChatGenerations` — status: `proposed`
|
|
198
|
+
|
|
199
|
+
**Depends on:** `score-exact-matches`, `obtain-sfap-token`
|
|
200
|
+
|
|
201
|
+
#### `judge-text-responses`
|
|
202
|
+
|
|
203
|
+
LLM-as-judge scoring of text responses for turns that end with text output
|
|
204
|
+
|
|
205
|
+
**Call:** `sfapChatGenerations` — status: `proposed`
|
|
206
|
+
|
|
207
|
+
**Depends on:** `replay-turn-prompts`, `obtain-sfap-token`
|
|
208
|
+
|
|
209
|
+
### Write operations
|
|
210
|
+
|
|
211
|
+
#### `generate-csv-report`
|
|
212
|
+
|
|
213
|
+
Generate CSV report with per-turn replay results and aggregate summary scores
|
|
214
|
+
|
|
215
|
+
**Call:** `generateCsvReport` — status: `proposed`
|
|
216
|
+
|
|
217
|
+
**Inputs:**
|
|
218
|
+
|
|
219
|
+
- `output_csv` *(`String`)*
|
|
220
|
+
|
|
221
|
+
**Depends on:** `score-exact-matches`, `judge-function-args`, `judge-text-responses`
|
|
222
|
+
|
|
223
|
+
#### `generate-html-report`
|
|
224
|
+
|
|
225
|
+
Build a self-contained HTML analysis report with verdict badges, scorecards, and failure breakdown
|
|
226
|
+
|
|
227
|
+
**Call:** `generateHtmlReport` — status: `proposed`
|
|
228
|
+
|
|
229
|
+
**Inputs:**
|
|
230
|
+
|
|
231
|
+
- `html_output` *(`String`)*
|
|
232
|
+
|
|
233
|
+
**Depends on:** `generate-csv-report`
|
|
234
|
+
|
|
235
|
+
### Other operations
|
|
236
|
+
|
|
237
|
+
#### `verify-stdm-availability`
|
|
238
|
+
|
|
239
|
+
Verify STDM (Session Trace Data Model) is queryable in Data Cloud
|
|
240
|
+
|
|
241
|
+
**Call:** `queryCdpAnsiSqlV2` — status: `implemented`
|
|
242
|
+
|
|
243
|
+
**Depends on:** `discover-data-space`
|
|
244
|
+
|
|
245
|
+
#### `obtain-sfap-token`
|
|
246
|
+
|
|
247
|
+
Obtain an SFAP JWT token via org session authentication and the /ide/auth endpoint
|
|
248
|
+
|
|
249
|
+
**Call:** `obtainSfapJwt` — status: `proposed`
|
|
250
|
+
|
|
251
|
+
**Inputs:**
|
|
252
|
+
|
|
253
|
+
- `org_alias` *(`String`)* — Authenticated org alias for token resolution
|