Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ When working with certain APIs such as Azure API, the code will use an API with

The Prompt:

```
```bash
Write a bicep to create a keyvault
```

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

```
```txt
...
resource keyVault 'Microsoft.KeyVault/vaults@2019-09-01' = {
name: keyVaultName
Expand All @@ -117,13 +117,13 @@ resource keyVault 'Microsoft.KeyVault/vaults@2019-09-01' = {

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

```
```bash
List only the dates of the KeyVault Azure API available to you.
```

We receive the following output:

```
```txt
Here are the dates for the available Key Vault API versions as of April 2024:

2015-06-01
Expand All @@ -141,15 +141,13 @@ Here are the dates for the available Key Vault API versions as of April 2024:

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

The Prompt:

```
```bash
Write a bicep to create a keyvault using this API version Microsoft.KeyVault/vaults@2023-02-01
```

And the output:
And we receive an output that includes the newest API version data:

```
```txt
...
resource keyVault 'Microsoft.KeyVault/vaults@2023-02-01'
```
Expand Down