Files
GenAIExamples/DocSum/kubernetes/docsum_gaudi.yaml
Steve Zhang 290a74fae9 Update all examples yaml files of GMC in GenAIExample (#436)
* Update all examples yaml files of GMC in GenAIExample.
Signed-off-by: zhlsunshine <huailong.zhang@intel.com>
2024-07-23 16:40:51 +08:00

37 lines
923 B
YAML

# 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: docsum
namespace: docsum
spec:
routerConfig:
name: router
serviceName: router-service
nodes:
root:
routerType: Sequence
steps:
- name: DocSum
data: $response
internalService:
serviceName: docsum-llm-uservice
config:
endpoint: /v1/chat/docsum
PORT: "9009"
TGI_LLM_ENDPOINT: tgi-gaudi-svc
- name: TgiGaudi
internalService:
serviceName: tgi-gaudi-svc
config:
LANGCHAIN_TRACING_V2: "false"
LANGCHAIN_PROJECT: "opea-llm-service"
endpoint: /generate
isDownstreamService: true