Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Add Code Snippets to Spec Files
Browse files Browse the repository at this point in the history
  • Loading branch information
DX-Bandwidth committed Oct 12, 2023
1 parent a46efaa commit 4c8835a
Showing 1 changed file with 35 additions and 37 deletions.
72 changes: 35 additions & 37 deletions site/specs/ai-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1531,11 +1531,6 @@ components:
googleCredentials:
$ref: '#/components/schemas/googleProviderCredentials'
googleEsProviderResponse:
required:
- region
- location
- environment
- projectId
description: Google Provider is required
properties:
region:
Expand All @@ -1549,13 +1544,6 @@ components:
googleCredentials:
$ref: '#/components/schemas/googleProviderCredentials'
googleCxProviderResponse:
required:
- googleProvider
- region
- location
- environment
- projectId
- agentId
description: Google Provider is required
properties:
region:
Expand All @@ -1571,29 +1559,39 @@ components:
googleCredentials:
$ref: '#/components/schemas/googleProviderCredentials'
googleSpeechToTextBot:
required:
- provider
- language
description: Google Bot is required
properties:
provider:
$ref: '#/components/schemas/provider'
language:
$ref: '#/components/schemas/language'
googleTextToSpeechBot:
required:
- provider
googleTextToSpeechBot:
- language
description: Google Bot is required
properties:
provider:
$ref: '#/components/schemas/provider'
language:
$ref: '#/components/schemas/language'
awsSpeechToTextBot:
required:
- provider
awsSpeechToTextBot:
description: Aws Bot is required
description: Google Bot is required
properties:
provider:
$ref: '#/components/schemas/provider'
required:
- provider
language:
$ref: '#/components/schemas/language'
awsTextToSpeechBot:
required:
- provider
- voiceName
- language
description: Google Bot is required
properties:
provider:
Expand Down Expand Up @@ -1879,11 +1877,11 @@ components:
transferTarget: tel:+19195554321
sttProvider:
provider: a6dj3e72-a850-4f38-98d4-5422cacd3f0f
language: en-US
ttsProvider:
provider:
provider: a6dj3d72-a850-4f38-98d4-5022cacd3f0f
voiceName: Jill
language: en-US
voiceName: Jill
- id: b64b5e72-a850-4f38-98d4-5022cacd3f0r
displayName: Bot
provider:
Expand All @@ -1894,10 +1892,10 @@ components:
transferTarget: tel:+19195554321
sttProvider:
provider: a6dj3e72-a850-4f38-98d4-5022cacd3f0f
language: en-US
ttsProvider:
provider: a6dj3e72-a850-4f38-98d4-5022cacd3f0f
voiceName: Jill
language: en-US
voiceName: Jill
errors: null
googleEsProviderExample:
summary: An example of a Google-ES provider
Expand Down Expand Up @@ -1948,10 +1946,10 @@ components:
transferTarget: tel:+19195554321
sttProvider:
provider: a6dj3e72-a850-4f38-98d4-5022cacd3f0f
language: en-US
ttsProvider:
provider: a6dj3e72-a850-4f38-98d4-5022cacd3f0f
voiceName: Jill
language: en-US
voiceName: Jill
googleBotExample:
summary: An example of a Google bot
value:
Expand All @@ -1964,10 +1962,10 @@ components:
transferTarget: tel:+19195554321
sttProvider:
provider: a6dj3e72-a850-4f38-98d4-5422cacd3f0f
language: en-US
ttsProvider:
provider: a6dj3d72-a850-4f38-98d4-5022cacd3f0f
voiceName: Jill
language: en-US
voiceName: Jill
googleBotResponseExample:
summary: An example of a Google bot
value:
Expand All @@ -1980,10 +1978,10 @@ components:
transferTarget: tel:+19195554321
sttProvider:
provider: a6dj3e72-a850-4f38-98d4-5422cacd3f0f
language: en-US
ttsProvider:
provider: a6dj3d72-a850-4f38-98d4-5022cacd3f0f
voiceName: Jill
language: en-US
voiceName: Jill
googleEsProviderGetResponseExample:
summary: An example of a Google-ES provider get response
value:
Expand Down Expand Up @@ -2083,10 +2081,10 @@ components:
transferTarget: tel:+19195554321
sttProvider:
provider: a6dj3e72-a850-4f38-98d4-5022cacd3f0f
language: en-US
ttsProvider:
provider: a6dj3e72-a850-4f38-98d4-5022cacd3f0f
language: en-US
voiceName: Jill
voiceName: Jill
errors: []
googleEsProviderPostResponseExample:
summary: An example of a Google-ES provider post response
Expand Down Expand Up @@ -2159,10 +2157,10 @@ components:
transferTarget: tel:+19195554321
sttProvider:
provider: a6dj3e72-a850-4f38-98d4-5022cacd3f0f
language: en-US
ttsProvider:
provider: a6dj3e72-a850-4f38-98d4-5022cacd3f0f
voiceName: Jill
language: en-US
voiceName: Jill
errors: []
googleEsProviderPutResponseExample:
summary: An example of a provider put response
Expand Down Expand Up @@ -2312,10 +2310,10 @@ components:
transferTarget: tel:+19195554321
sttProvider:
provider: a6dj3e72-a850-4f38-98d4-5422cacd3f0f
language: en-US
ttsProvider:
provider: a6dj3d72-a850-4f38-98d4-5022cacd3f0f
voiceName: Jill
language: en-US
voiceName: Jill
awsProviderGetResponseExample:
summary: An example of an AWS provider get response
value:
Expand Down Expand Up @@ -2698,10 +2696,10 @@ components:
transferTarget: tel:+19195554321
sttProvider:
provider: a6dj3e72-a850-4f38-98d4-5422cacd3f0f
language: en-US
ttsProvider:
provider: a6dj3d72-a850-4f38-98d4-5022cacd3f0f
voiceName: Jill
language: en-US
voiceName: Jill
- id: b64b5e72-a850-4f38-98d4-5022cacd3f0r
displayName: Bot
provider:
Expand All @@ -2712,10 +2710,10 @@ components:
transferTarget: tel:+19195554321
sttProvider:
provider: a6dj3e72-a850-4f38-98d4-5022cacd3f0f
language: en-US
ttsProvider:
provider: a6dj3e72-a850-4f38-98d4-5022cacd3f0f
voiceName: Jill
language: en-US
voiceName: Jill
roleExample:
summary: >-
An array of roles that say what function(s) an AIBridge Integration can
Expand Down

0 comments on commit 4c8835a

Please sign in to comment.