-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChatQnA demo yaml files integration between GMC and Oneclick #72
Merged
Merged
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
fd96c70
demo yaml files integration between gmc and oneclick.
07a6c21
change code based on comments.
bc1c01c
Merge branch 'main' of https://github.com/zhlsunshine/GenAIInfra into…
637871a
update redis service name.
baefcac
change yaml files based on comments.
47a20bb
change redis vectorDB svc name.
0e4ad6a
integrate with oneclick and complete the test on stag-opea-07.
db08a2c
handle the conflicts for other PR.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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,71 @@ | ||
# 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 | ||
nameSpace: chatqa | ||
serviceName: router-service | ||
nodes: | ||
root: | ||
routerType: Sequence | ||
steps: | ||
- name: Embedding | ||
internalService: | ||
nameSpace: chatqa | ||
serviceName: embedding-svc | ||
config: | ||
endpoint: /v1/embeddings | ||
- name: TeiEmbedding | ||
internalService: | ||
nameSpace: chatqa | ||
serviceName: tei-embedding-svc | ||
isDownstreamService: true | ||
- name: Retriever | ||
data: $response | ||
internalService: | ||
nameSpace: chatqa | ||
serviceName: retriever-svc | ||
config: | ||
endpoint: /v1/retrieval | ||
- name: VectorDB | ||
internalService: | ||
nameSpace: chatqa | ||
serviceName: redis-vector-db | ||
isDownstreamService: true | ||
- name: Reranking | ||
data: $response | ||
internalService: | ||
nameSpace: chatqa | ||
serviceName: reranking-svc | ||
config: | ||
endpoint: /v1/reranking | ||
- name: TeiReranking | ||
internalService: | ||
nameSpace: chatqa | ||
serviceName: tei-reranking-svc | ||
config: | ||
endpoint: /rerank | ||
isDownstreamService: true | ||
- name: Llm | ||
data: $response | ||
internalService: | ||
nameSpace: chatqa | ||
serviceName: llm-svc | ||
config: | ||
endpoint: /v1/chat/completions | ||
- name: Tgi | ||
internalService: | ||
nameSpace: chatqa | ||
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's delete the old one and make this chatQnA.yaml, what do you say?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will need two version: (one for gaudi, and one for xeon). for current one, Let's call it chatQnA-xeon.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we not put the yaml in GenAIExamples? Or are you thinking of a copy here for completeness. Is it possible instead to give a link to a file in another sub-project so we do not run into the issue of keeping things in sync?