Skip to content

Commit 50f7464

Browse files
smw-msazure-sdk
authored andcommitted
Fix param casing
1 parent 0a6636e commit 50f7464

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

eng/common/scripts/Invoke-ToolDescriptionEvaluator.ps1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The path to the JSON file containing tool definitions to be evaluated.
1717
.PARAMETER PromptsFilePath
1818
The path to the JSON file containing prompt definitions to be evaluated.
1919
20-
.PARAMETER outputFilePath
20+
.PARAMETER OutputFilePath
2121
The target folder where the generated `results.md` will be moved after the evaluator runs.
2222
2323
.PARAMETER AoaiEndpoint
@@ -28,7 +28,7 @@ The API key used to authenticate with the embedding endpoint. Prefer providing t
2828
secret store or environment variable rather than hard-coding.
2929
3030
.NOTES
31-
- The evaluator emits `results.md` in the evaluator folder; this script moves it to `outputFilePath`.
31+
- The evaluator emits `results.md` in the evaluator folder; this script moves it to `OutputFilePath`.
3232
- Requires .NET SDK available on PATH.
3333
- Set-StrictMode is enabled.
3434
@@ -37,7 +37,7 @@ secret store or environment variable rather than hard-coding.
3737
-EvaluatorPath "C:\work\mcp\eng\tools\ToolDescriptionEvaluator\src" `
3838
-ToolsFilePath "C:\work\azure-sdk-tools\tools\azsdk-cli\azure-sdk-tools.json" `
3939
-PromptsFilePath "C:\work\azure-sdk-tools\tools\azsdk-cli\azure-sdk-prompts.json" `
40-
-outputFilePath "C:\work\azure-sdk-tools\tools\azsdk-cli" `
40+
-OutputFilePath "C:\work\azure-sdk-tools\tools\azsdk-cli" `
4141
-AoaiEndpoint "https://<your-endpoint>/openai/deployments/text-embedding-3-large/embeddings?api-version=2023-05-15" `
4242
-TextEmbeddingApiKey (Get-Secret -Name 'TextEmbeddingApiKey')
4343
@@ -54,7 +54,7 @@ param (
5454
[string] $PromptsFilePath,
5555

5656
[Parameter(Mandatory = $true)]
57-
[string] $outputFilePath,
57+
[string] $OutputFilePath,
5858

5959
# Environment Variables
6060
[Parameter(Mandatory = $true)]
@@ -94,6 +94,6 @@ if (-not (Test-Path -Path $generatedPath -PathType Leaf)) {
9494
throw "Expected output file not found: $generatedPath"
9595
}
9696

97-
Write-Host "Moving Results File: $generatedPath -> $outputFilePath"
98-
Move-Item -Path $generatedPath -Destination $outputFilePath -Force
99-
Write-Host "Successfully moved results file to $outputFilePath"
97+
Write-Host "Moving Results File: $generatedPath -> $OutputFilePath"
98+
Move-Item -Path $generatedPath -Destination $OutputFilePath -Force
99+
Write-Host "Successfully moved results file to $OutputFilePath"

0 commit comments

Comments
 (0)