Skip to content

Commit 72073cf

Browse files
Merge pull request #9 from ibm-client-engineering/adam-updates
Formatting changes
2 parents 0f7f537 + 465c98c commit 72073cf

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

index.qmd

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ When working with certain APIs such as Azure API, the code will use an API with
102102

103103
The Prompt:
104104

105-
```
105+
```bash
106106
Write a bicep to create a keyvault
107107
```
108108

109109
The code output generated by WCA includes the following dated Azure API version:
110110

111-
```
111+
```txt
112112
...
113113
resource keyVault 'Microsoft.KeyVault/vaults@2019-09-01' = {
114114
name: keyVaultName
@@ -117,13 +117,13 @@ resource keyVault 'Microsoft.KeyVault/vaults@2019-09-01' = {
117117

118118
But is that the newest API version available in the training data? We can ask the model:
119119

120-
```
120+
```bash
121121
List only the dates of the KeyVault Azure API available to you.
122122
```
123123

124124
We receive the following output:
125125

126-
```
126+
```txt
127127
Here are the dates for the available Key Vault API versions as of April 2024:
128128
129129
2015-06-01
@@ -141,15 +141,13 @@ Here are the dates for the available Key Vault API versions as of April 2024:
141141

142142
So we can take this information and request that a specific API version is used:
143143

144-
The Prompt:
145-
146-
```
144+
```bash
147145
Write a bicep to create a keyvault using this API version Microsoft.KeyVault/vaults@2023-02-01
148146
```
149147

150-
And the output:
148+
And we receive an output that includes the newest API version data:
151149

152-
```
150+
```txt
153151
...
154152
resource keyVault 'Microsoft.KeyVault/vaults@2023-02-01'
155153
```

0 commit comments

Comments
 (0)