-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ChatQnA demo yaml files integration between GMC and Oneclick (#72)
* demo yaml files integration between gmc and oneclick. Signed-off-by: zhlsunshine <huailong.zhang@intel.com> remove bin files * change code based on comments. Signed-off-by: zhlsunshine <huailong.zhang@intel.com> * update redis service name. Signed-off-by: zhlsunshine <huailong.zhang@intel.com> * change yaml files based on comments. Signed-off-by: zhlsunshine <huailong.zhang@intel.com> * change redis vectorDB svc name. Signed-off-by: zhlsunshine <huailong.zhang@intel.com> * integrate with oneclick and complete the test on stag-opea-07. Signed-off-by: zhlsunshine <huailong.zhang@intel.com> --------- Signed-off-by: zhlsunshine <huailong.zhang@intel.com>
- Loading branch information
Steve Zhang
authored
Jun 5, 2024
1 parent
6f687ef
commit 0208998
Showing
21 changed files
with
151 additions
and
1,135 deletions.
There are no files selected for viewing
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
File renamed without changes.
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 |
---|---|---|
|
@@ -29,6 +29,7 @@ rules: | |
resources: | ||
- services | ||
- secrets | ||
- configmaps | ||
verbs: | ||
- create | ||
- delete | ||
|
This file was deleted.
Oops, something went wrong.
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,62 @@ | ||
# 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 | ||
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 | ||
- name: TeiEmbedding | ||
internalService: | ||
serviceName: tei-embedding-svc | ||
isDownstreamService: true | ||
- name: Retriever | ||
data: $response | ||
internalService: | ||
serviceName: retriever-svc | ||
config: | ||
endpoint: /v1/retrieval | ||
- name: VectorDB | ||
internalService: | ||
serviceName: redis-vector-db | ||
isDownstreamService: true | ||
- name: Reranking | ||
data: $response | ||
internalService: | ||
serviceName: reranking-svc | ||
config: | ||
endpoint: /v1/reranking | ||
- 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 | ||
- name: Tgi | ||
internalService: | ||
serviceName: tgi-svc | ||
config: | ||
endpoint: /generate | ||
isDownstreamService: true |
82 changes: 0 additions & 82 deletions
82
microservices-connector/config/samples/gmc_v1alpha3_gmconnector.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.