Skip to content

Commit 3432624

Browse files
fix: change "GenAiPlanner" to "GenAiPlannerBundle" in docs
1 parent ddb463c commit 3432624

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

messages/agent.create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ API name of the new agent
3434

3535
# flags.planner-id.summary
3636

37-
An existing GenAiPlanner ID to associate with the agent.
37+
An existing GenAiPlannerBundle ID to associate with the agent.
3838

3939
# error.missingRequiredFlags
4040

src/commands/agent/generate/test-spec.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function castArray<T>(value: T | T[]): T[] {
3636
* Prompts the user for test case information through interactive prompts.
3737
*
3838
* @param genAiPlugins - Record mapping topic names to GenAiPlugin XML file paths (used to find the related actions)
39-
* @param genAiFunctions - Array of GenAiFunction names from the GenAiPlanner
39+
* @param genAiFunctions - Array of GenAiFunction names from the GenAiPlannerBundle
4040
* @returns Promise resolving to a TestCase object containing:
4141
* - utterance: The user input string
4242
* - expectedTopic: The expected topic for classification
@@ -46,8 +46,8 @@ function castArray<T>(value: T | T[]): T[] {
4646
* @remarks
4747
* This function guides users through creating a test case by:
4848
* 1. Prompting for an utterance
49-
* 2. Selecting an expected topic (from GenAiPlugins specified in the Bot's GenAiPlanner)
50-
* 3. Choosing expected actions (from GenAiFunctions in the GenAiPlanner or GenAiPlugin)
49+
* 2. Selecting an expected topic (from GenAiPlugins specified in the Bot's GenAiPlannerBundle)
50+
* 3. Choosing expected actions (from GenAiFunctions in the GenAiPlannerBundle or GenAiPlugin)
5151
* 4. Defining an expected outcome
5252
*/
5353
async function promptForTestCase(genAiPlugins: Record<string, string>, genAiFunctions: string[]): Promise<TestCase> {
@@ -63,7 +63,7 @@ async function promptForTestCase(genAiPlugins: Record<string, string>, genAiFunc
6363
theme,
6464
});
6565

66-
// GenAiFunctions (aka actions) can be defined in the GenAiPlugin or GenAiPlanner
66+
// GenAiFunctions (aka actions) can be defined in the GenAiPlugin or GenAiPlannerBundle
6767
// the actions from the planner are passed in as an argument to this function
6868
// the actions from the plugin are read from the GenAiPlugin file
6969
let actions: string[] = [];
@@ -132,19 +132,19 @@ function getMetadataFilePaths(cs: ComponentSet, type: string): Record<string, st
132132
}
133133

134134
/**
135-
* Retrieves GenAIPlugins and GenAiFunctions from a Bot's GenAiPlanner
135+
* Retrieves GenAIPlugins and GenAiFunctions from a Bot's GenAiPlannerBundle
136136
*
137137
* We have to get the bot version and planner for the selected bot so that we can get
138138
* the actions (GenAiFunctions) and topics (GenAiPlugins) that can be selected for the
139139
* test cases.
140140
*
141-
* The BotVersion tells us which GenAiPlanner to use, and the GenAiPlanner
141+
* The BotVersion tells us which GenAiPlannerBundle to use, and the GenAiPlannerBundle
142142
* tells us which GenAiPlugins and GenAiFunctions are available. More GenAiFunctions
143143
* might be available in the GenAiPlugin, so we read those later when the user
144144
* has selected a GenAiPlugin/topic - inside of `promptForTestCase`.
145145
*
146146
* @param subjectName - The name of the Bot to analyze
147-
* @param cs - ComponentSet containing Bot, GenAiPlanner, and GenAiPlugin components
147+
* @param cs - ComponentSet containing Bot, GenAiPlannerBundle, and GenAiPlugin components
148148
*
149149
* @returns Object containing:
150150
* - genAiPlugins: Record of plugin names to their file paths

0 commit comments

Comments
 (0)