a tool without connection (eg web search)
yaml:
description: >
web-search only
tools:
azd command: azd ai toolbox create wstest --from-file C:\Temp\ws.yaml `
--project-endpoint https://hengyl-aif-wus2.services.ai.azure.com/api/projects/projectcgnp
error: ERROR: invalid YAML in "C:\Temp\ws-only.yaml": yaml: unmarshal errors:
line 3: field tools not found in type cmd.toolboxCreateFile
Suggestion: fix the file and retry; see azd ai toolbox create --help or
azd ai toolbox connection add --help for the supported file shape
exit=1
guardtail/rai policy
yaml:
description: probe v2 policies.rai_config
policies:
rai_config:
name: Microsoft.Default
connections:
azd command: azd ai toolbox create wstest --from-file C:\Temp\ws.yaml `
--project-endpoint https://hengyl-aif-wus2.services.ai.azure.com/api/projects/projectcgnp
error: line 2: field policies not found in type cmd.toolboxCreateFile
a tool without connection (eg web search)
yaml:
description: >
web-search only
tools:
azd command: azd ai toolbox create wstest --from-file C:\Temp\ws.yaml `
--project-endpoint https://hengyl-aif-wus2.services.ai.azure.com/api/projects/projectcgnp
error: ERROR: invalid YAML in "C:\Temp\ws-only.yaml": yaml: unmarshal errors:
line 3: field tools not found in type cmd.toolboxCreateFile
Suggestion: fix the file and retry; see
azd ai toolbox create --helporazd ai toolbox connection add --helpfor the supported file shapeexit=1
guardtail/rai policy
yaml:
description: probe v2 policies.rai_config
policies:
rai_config:
name: Microsoft.Default
connections:
azd command: azd ai toolbox create wstest --from-file C:\Temp\ws.yaml `
--project-endpoint https://hengyl-aif-wus2.services.ai.azure.com/api/projects/projectcgnp
error: line 2: field policies not found in type cmd.toolboxCreateFile