-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed some bugs for GMC yaml files. (#307)
Signed-off-by: zhlsunshine <[email protected]>
- Loading branch information
1 parent
656dcc6
commit 112295a
Showing
4 changed files
with
114 additions
and
118 deletions.
There are no files selected for viewing
114 changes: 57 additions & 57 deletions
114
microservices-connector/config/samples/audioQnA_gaudi.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: gmc.opea.io/v1alpha3 | ||
kind: GMConnector | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: gmconnector | ||
app.kubernetes.io/managed-by: kustomize | ||
gmc/platform: gaudi | ||
name: audioqa | ||
namespace: audioqa | ||
spec: | ||
routerConfig: | ||
name: router | ||
serviceName: router-service | ||
nodes: | ||
root: | ||
routerType: Sequence | ||
steps: | ||
- name: Asr | ||
internalService: | ||
serviceName: asr-svc | ||
config: | ||
endpoint: /v1/audio/transcriptions | ||
ASR_ENDPOINT: whisper-gaudi-svc | ||
- name: WhisperGaudi | ||
internalService: | ||
serviceName: whisper-gaudi-svc | ||
config: | ||
endpoint: /v1/asr | ||
isDownstreamService: true | ||
- name: Llm | ||
data: $response | ||
internalService: | ||
serviceName: llm-svc | ||
config: | ||
endpoint: /v1/chat/completions | ||
TGI_LLM_ENDPOINT: tgi-gaudi-svc | ||
- name: TgiGaudi | ||
internalService: | ||
serviceName: tgi-gaudi-svc | ||
config: | ||
endpoint: /generate | ||
isDownstreamService: true | ||
- name: Tts | ||
data: $response | ||
internalService: | ||
serviceName: tts-svc | ||
config: | ||
endpoint: /v1/audio/speech | ||
TTS_ENDPOINT: speecht5-gaudi-svc | ||
- name: SpeechT5Gaudi | ||
internalService: | ||
serviceName: speecht5-gaudi-svc | ||
config: | ||
endpoint: /v1/tts | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: gmc.opea.io/v1alpha3 | ||
kind: GMConnector | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: gmconnector | ||
app.kubernetes.io/managed-by: kustomize | ||
gmc/platform: gaudi | ||
name: audioqa | ||
namespace: audioqa | ||
spec: | ||
routerConfig: | ||
name: router | ||
serviceName: router-service | ||
nodes: | ||
root: | ||
routerType: Sequence | ||
steps: | ||
- name: Asr | ||
internalService: | ||
serviceName: asr-svc | ||
config: | ||
endpoint: /v1/audio/transcriptions | ||
ASR_ENDPOINT: whisper-gaudi-svc | ||
- name: WhisperGaudi | ||
internalService: | ||
serviceName: whisper-gaudi-svc | ||
config: | ||
endpoint: /v1/asr | ||
isDownstreamService: true | ||
- name: Llm | ||
data: $response | ||
internalService: | ||
serviceName: llm-svc | ||
config: | ||
endpoint: /v1/chat/completions | ||
TGI_LLM_ENDPOINT: tgi-gaudi-svc | ||
- name: TgiGaudi | ||
internalService: | ||
serviceName: tgi-gaudi-svc | ||
config: | ||
endpoint: /generate | ||
isDownstreamService: true | ||
- name: Tts | ||
data: $response | ||
internalService: | ||
serviceName: tts-svc | ||
config: | ||
endpoint: /v1/audio/speech | ||
TTS_ENDPOINT: speecht5-gaudi-svc | ||
- name: SpeechT5Gaudi | ||
internalService: | ||
serviceName: speecht5-gaudi-svc | ||
config: | ||
endpoint: /v1/tts | ||
isDownstreamService: true |
114 changes: 57 additions & 57 deletions
114
microservices-connector/config/samples/audioQnA_xeon.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: gmc.opea.io/v1alpha3 | ||
kind: GMConnector | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: gmconnector | ||
app.kubernetes.io/managed-by: kustomize | ||
gmc/platform: xeon | ||
name: audioqa | ||
namespace: audioqa | ||
spec: | ||
routerConfig: | ||
name: router | ||
serviceName: router-service | ||
nodes: | ||
root: | ||
routerType: Sequence | ||
steps: | ||
- name: Asr | ||
internalService: | ||
serviceName: asr-svc | ||
config: | ||
endpoint: /v1/audio/transcriptions | ||
ASR_ENDPOINT: whisper-svc | ||
- name: Whisper | ||
internalService: | ||
serviceName: whisper-svc | ||
config: | ||
endpoint: /v1/asr | ||
isDownstreamService: true | ||
- name: Llm | ||
data: $response | ||
internalService: | ||
serviceName: llm-svc | ||
config: | ||
endpoint: /v1/chat/completions | ||
TGI_LLM_ENDPOINT: tgi-svc | ||
- name: Tgi | ||
internalService: | ||
serviceName: tgi-svc | ||
config: | ||
endpoint: /generate | ||
isDownstreamService: true | ||
- name: Tts | ||
data: $response | ||
internalService: | ||
serviceName: tts-svc | ||
config: | ||
endpoint: /v1/audio/speech | ||
TTS_ENDPOINT: speecht5-svc | ||
- name: SpeechT5 | ||
internalService: | ||
serviceName: speecht5-svc | ||
config: | ||
endpoint: /v1/tts | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: gmc.opea.io/v1alpha3 | ||
kind: GMConnector | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: gmconnector | ||
app.kubernetes.io/managed-by: kustomize | ||
gmc/platform: xeon | ||
name: audioqa | ||
namespace: audioqa | ||
spec: | ||
routerConfig: | ||
name: router | ||
serviceName: router-service | ||
nodes: | ||
root: | ||
routerType: Sequence | ||
steps: | ||
- name: Asr | ||
internalService: | ||
serviceName: asr-svc | ||
config: | ||
endpoint: /v1/audio/transcriptions | ||
ASR_ENDPOINT: whisper-svc | ||
- name: Whisper | ||
internalService: | ||
serviceName: whisper-svc | ||
config: | ||
endpoint: /v1/asr | ||
isDownstreamService: true | ||
- name: Llm | ||
data: $response | ||
internalService: | ||
serviceName: llm-svc | ||
config: | ||
endpoint: /v1/chat/completions | ||
TGI_LLM_ENDPOINT: tgi-svc | ||
- name: Tgi | ||
internalService: | ||
serviceName: tgi-svc | ||
config: | ||
endpoint: /generate | ||
isDownstreamService: true | ||
- name: Tts | ||
data: $response | ||
internalService: | ||
serviceName: tts-svc | ||
config: | ||
endpoint: /v1/audio/speech | ||
TTS_ENDPOINT: speecht5-svc | ||
- name: SpeechT5 | ||
internalService: | ||
serviceName: speecht5-svc | ||
config: | ||
endpoint: /v1/tts | ||
isDownstreamService: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters