Skip to content

Commit a7d5bbf

Browse files
justindhillonStuartMorrisHitachiSergeyMenshykhmarkwallace-microsoftrogerbarreto
authored
.Net & Python: Fix Broken Links (#5393)
### Description I used [link-inspector](https://github.com/justindhillon/link-inspector) to find and fix broken links in this project. This is an updated PR of #4910, which fixes the merge conflict. Here are the links I have fixed: https://docs.microsoft.com/rest/api/keyvault/getsecrets/getsecrets --> https://learn.microsoft.com/en-us/rest/api/keyvault/secrets/get-secret/get-secret https://docs.microsoft.com/rest/api/keyvault/getkeys/getkeys --> https://learn.microsoft.com/en-us/rest/api/keyvault/keys/get-keys/get-keys https://docs.microsoft.com/rest/api/keyvault/encrypt/encrypt --> https://learn.microsoft.com/en-us/rest/api/keyvault/keys/encrypt/encrypt https://docs.microsoft.com/rest/api/keyvault/decrypt/decrypt --> https://learn.microsoft.com/en-us/rest/api/keyvault/keys/decrypt/decrypt https://docs.microsoft.com/rest/api/keyvault/createkey/createkey --> https://learn.microsoft.com/en-us/rest/api/keyvault/keys/create-key/create-key https://docs.microsoft.com/rest/api/keyvault/getsecretversions/getsecretversions --> https://learn.microsoft.com/en-us/rest/api/keyvault/secrets/get-secret-versions/get-secret-versions https://github.com/microsoft/semantic-kernel/blob/main/python/semantic_kernel/planning/plan.py --> https://github.com/microsoft/semantic-kernel/blob/main/python/semantic_kernel/planners/plan.py https://github.com/microsoft/semantic-kernel/blob/main/python/semantic_kernel/planning/sequential_planner/Plugins/SequentialPlanning/skprompt.txt --> https://github.com/microsoft/semantic-kernel/blob/main/samples/plugins/QAPlugin/Form/skprompt.txt ### Support my work These links were found with [link-inspector](https://github.com/justindhillon/link-inspector). If you find this PR useful, give the repo a ⭐ ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄 --------- Co-authored-by: Stuart Morris <[email protected]> Co-authored-by: SergeyMenshykh <[email protected]> Co-authored-by: Mark Wallace <[email protected]> Co-authored-by: Roger Barreto <[email protected]> Co-authored-by: Jadyn <[email protected]> Co-authored-by: Evan Mattson <[email protected]> Co-authored-by: Chris <[email protected]> Co-authored-by: Eduard van Valkenburg <[email protected]>
1 parent f137bb7 commit a7d5bbf

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

dotnet/samples/KernelSyntaxExamples/Resources/22-openapi.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"paths": {
1313
"/keys": {
1414
"get": {
15-
"description": "List keys in the specified vault. For details, see https://docs.microsoft.com/rest/api/keyvault/getkeys/getkeys.",
15+
"description": "List keys in the specified vault. For details, see https://learn.microsoft.com/en-us/rest/api/keyvault/keys/get-keys/get-keys.",
1616
"operationId": "ListKey",
1717
"parameters": [
1818
{
@@ -86,7 +86,7 @@
8686
},
8787
"/keys/{key-name}": {
8888
"get": {
89-
"description": "Gets the public part of a stored key. If the requested key is symmetric, then no key material is released in the response. For more details, refer: https://docs.microsoft.com/rest/api/keyvault/getkey/getkey.",
89+
"description": "Gets the public part of a stored key. If the requested key is symmetric, then no key material is released in the response. For more details, refer: https://learn.microsoft.com/en-us/rest/api/keyvault/keys/get-key/get-key.",
9090
"operationId": "GetKey",
9191
"parameters": [
9292
{
@@ -186,7 +186,7 @@
186186
},
187187
"/keys/{key-name}/create": {
188188
"post": {
189-
"description": "Creates a new key, stores it, then returns key parameters and attributes. For details, see: https://docs.microsoft.com/rest/api/keyvault/createkey/createkey.",
189+
"description": "Creates a new key, stores it, then returns key parameters and attributes. For details, see: https://learn.microsoft.com/en-us/rest/api/keyvault/keys/create-key/create-key.",
190190
"operationId": "CreateKey",
191191
"parameters": [
192192
{
@@ -331,7 +331,7 @@
331331
},
332332
"/keys/{key-name}/decrypt": {
333333
"post": {
334-
"description": "Decrypts a single block of encrypted data. For details, see: https://docs.microsoft.com/rest/api/keyvault/decrypt/decrypt.",
334+
"description": "Decrypts a single block of encrypted data. For details, see: https://learn.microsoft.com/en-us/rest/api/keyvault/keys/decrypt/decrypt.",
335335
"operationId": "Decrypt",
336336
"parameters": [
337337
{
@@ -401,7 +401,7 @@
401401
},
402402
"/keys/{key-name}/encrypt": {
403403
"post": {
404-
"description": "Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. For details, see: https://docs.microsoft.com/rest/api/keyvault/encrypt/encrypt.",
404+
"description": "Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. For details, see: https://learn.microsoft.com/en-us/rest/api/keyvault/keys/encrypt/encrypt.",
405405
"operationId": "Encrypt",
406406
"parameters": [
407407
{
@@ -471,7 +471,7 @@
471471
},
472472
"/secrets": {
473473
"get": {
474-
"description": "List secrets in a specified key vault. For details, see: https://docs.microsoft.com/rest/api/keyvault/getsecrets/getsecrets.",
474+
"description": "List secrets in a specified key vault. For details, see: https://learn.microsoft.com/en-us/rest/api/keyvault/secrets/get-secret/get-secret.",
475475
"operationId": "ListSecret",
476476
"parameters": [
477477
{
@@ -547,7 +547,7 @@
547547
},
548548
"/secrets/{secret-name}": {
549549
"get": {
550-
"description": "Get a specified secret from a given key vault. For details, see: https://docs.microsoft.com/rest/api/keyvault/getsecret/getsecret.",
550+
"description": "Get a specified secret from a given key vault. For details, see: https://learn.microsoft.com/en-us/rest/api/keyvault/secrets/get-secret/get-secret.",
551551
"operationId": "GetSecret",
552552
"parameters": [
553553
{
@@ -611,7 +611,7 @@
611611
"summary": "Get secret"
612612
},
613613
"put": {
614-
"description": "Sets a secret in a specified key vault. This operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission. For details, see: https://docs.microsoft.com/rest/api/keyvault/setsecret/setsecret.",
614+
"description": "Sets a secret in a specified key vault. This operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission. For details, see: https://learn.microsoft.com/en-us/rest/api/keyvault/secrets/set-secret/set-secret.",
615615
"operationId": "SetSecret",
616616
"parameters": [
617617
{
@@ -703,7 +703,7 @@
703703
},
704704
"/secrets/{secret-name}/versions": {
705705
"get": {
706-
"description": "List all versions of the specified secret. For details, see: https://docs.microsoft.com/rest/api/keyvault/getsecretversions/getsecretversions.",
706+
"description": "List all versions of the specified secret. For details, see: https://learn.microsoft.com/en-us/rest/api/keyvault/secrets/get-secret-versions/get-secret-versions.",
707707
"operationId": "ListSecretVersions",
708708
"parameters": [
709709
{
@@ -773,7 +773,7 @@
773773
},
774774
"/secrets/{secret-name}/{secret-version}": {
775775
"get": {
776-
"description": "Get the value of a specified secret version from a given key vault. For details, see: https://docs.microsoft.com/rest/api/keyvault/getsecret/getsecret.",
776+
"description": "Get the value of a specified secret version from a given key vault. For details, see: https://learn.microsoft.com/en-us/rest/api/keyvault/secrets/get-secret/get-secret.",
777777
"operationId": "GetSecretVersion",
778778
"parameters": [
779779
{

dotnet/src/Functions/Functions.UnitTests/OpenApi/TestPlugins/documentV2_0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"paths": {
1313
"/secrets/{secret-name}": {
1414
"get": {
15-
"description": "Get a specified secret from a given key vault. For details, see: https://docs.microsoft.com/rest/api/keyvault/getsecret/getsecret.",
15+
"description": "Get a specified secret from a given key vault. For details, see: https://learn.microsoft.com/en-us/rest/api/keyvault/secrets/get-secret/get-secret.",
1616
"operationId": "GetSecret",
1717
"parameters": [
1818
{

dotnet/src/Functions/Functions.UnitTests/OpenApi/TestPlugins/documentV3_0.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"/secrets/{secret-name}": {
1515
"get": {
1616
"summary": "Get secret",
17-
"description": "Get a specified secret from a given key vault. For details, see: https://docs.microsoft.com/rest/api/keyvault/getsecret/getsecret.",
17+
"description": "Get a specified secret from a given key vault. For details, see: https://learn.microsoft.com/en-us/rest/api/keyvault/secrets/get-secret/get-secret.",
1818
"operationId": "GetSecret",
1919
"parameters": [
2020
{
@@ -314,15 +314,15 @@
314314
"authorizationCode": {
315315
"authorizationUrl": "https://login.windows.net/common/oauth2/authorize",
316316
"tokenUrl": "https://login.windows.net/common/oauth2/authorize",
317-
"scopes": { }
317+
"scopes": {}
318318
}
319319
}
320320
}
321321
}
322322
},
323323
"security": [
324324
{
325-
"oauth2_auth": [ ]
325+
"oauth2_auth": []
326326
}
327327
]
328328
}

dotnet/src/Functions/Functions.UnitTests/OpenApi/TestPlugins/documentV3_1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ paths:
99
'/secrets/{secret-name}':
1010
get:
1111
summary: Get secret
12-
description: 'Get a specified secret from a given key vault. For details, see: https://docs.microsoft.com/rest/api/keyvault/getsecret/getsecret.'
12+
description: 'Get a specified secret from a given key vault. For details, see: https://learn.microsoft.com/en-us/rest/api/keyvault/secrets/get-secret/get-secret.'
1313
operationId: GetSecret
1414
parameters:
1515
- name: secret-name

python/notebooks/05-using-the-planner.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
"source": [
342342
"To build more advanced planners, we need to introduce a proper Plan object that can contain all the necessary state and information needed for high quality plans.\n",
343343
"\n",
344-
"To see what that object model is, look at (https://github.com/microsoft/semantic-kernel/blob/main/python/semantic_kernel/planning/plan.py)\n"
344+
"To see what that object model is, look at (https://github.com/microsoft/semantic-kernel/blob/main/python/semantic_kernel/planners/plan.py)\n"
345345
]
346346
},
347347
{
@@ -357,7 +357,7 @@
357357
"id": "a1c66d83",
358358
"metadata": {},
359359
"source": [
360-
"The sequential planner is an XML-based step-by-step planner. You can see the prompt used for it here (https://github.com/microsoft/semantic-kernel/blob/main/python/semantic_kernel/planners/sequential_planner/Plugins/SequentialPlanning/skprompt.txt))\n"
360+
"The sequential planner is an XML-based step-by-step planner. You can see the prompt used for it here (https://github.com/microsoft/semantic-kernel/blob/main/python/semantic_kernel/planners/sequential_planner/Plugins/SequentialPlanning/skprompt.txt)\n"
361361
]
362362
},
363363
{

0 commit comments

Comments
 (0)