-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dataprep CR for NV platform (#388)
Signed-off-by: PeterYang12 <yuhan.yang@intel.com>
- Loading branch information
1 parent
59ce505
commit fa9788d
Showing
1 changed file
with
76 additions
and
0 deletions.
There are no files selected for viewing
76 changes: 76 additions & 0 deletions
76
microservices-connector/config/samples/ChatQnA/chatQnA_dataprep_nv.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 |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# 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: nvidia | ||
name: chatqa | ||
namespace: chatqa | ||
spec: | ||
routerConfig: | ||
name: router | ||
serviceName: router-service | ||
nodes: | ||
root: | ||
routerType: Sequence | ||
steps: | ||
- name: Embedding | ||
internalService: | ||
serviceName: embedding-svc | ||
config: | ||
endpoint: /v1/embeddings | ||
TEI_EMBEDDING_ENDPOINT: tei-embedding-svc | ||
- name: TeiEmbedding | ||
internalService: | ||
serviceName: tei-embedding-svc | ||
isDownstreamService: true | ||
- name: Retriever | ||
data: $response | ||
internalService: | ||
serviceName: retriever-svc | ||
config: | ||
endpoint: /v1/retrieval | ||
REDIS_URL: redis-vector-db | ||
TEI_EMBEDDING_ENDPOINT: tei-embedding-svc | ||
- name: VectorDB | ||
internalService: | ||
serviceName: redis-vector-db | ||
isDownstreamService: true | ||
- name: Reranking | ||
data: $response | ||
internalService: | ||
serviceName: reranking-svc | ||
config: | ||
endpoint: /v1/reranking | ||
TEI_RERANKING_ENDPOINT: tei-reranking-svc | ||
- name: TeiReranking | ||
internalService: | ||
serviceName: tei-reranking-svc | ||
config: | ||
endpoint: /rerank | ||
isDownstreamService: true | ||
- name: Llm | ||
data: $response | ||
internalService: | ||
serviceName: llm-svc | ||
config: | ||
endpoint: /v1/chat/completions | ||
TGI_LLM_ENDPOINT: tgi-service-m | ||
- name: TgiNvidia | ||
internalService: | ||
serviceName: tgi-service-m | ||
config: | ||
endpoint: /generate | ||
isDownstreamService: true | ||
- name: DataPrep | ||
internalService: | ||
serviceName: data-prep-svc | ||
config: | ||
endpoint: /v1/dataprep | ||
REDIS_URL: redis-vector-db | ||
TEI_ENDPOINT: tei-embedding-svc | ||
isDownstreamService: true |