opea-project / GenAIInfra

Containerization and cloud native suite for OPEA
Apache License 2.0
16 stars 22 forks source link

Add the example of ChatQnA on gaudi node #119

Closed zhlsunshine closed 1 week ago

zhlsunshine commented 1 week ago

Description

It's okay now for example of ChatQnA on both xeon and gaudi platform, and I also add the platform switcher on matedata label with label gmc/platform. Test section contains the deployment snapshots.

Moreover, I also validate the example by sending validated requests for them.

Issues

https://github.com/opea-project/GenAIInfra/issues/118

Type of change

List the type of change like below. Please delete options that are not relevant.

Dependencies

n/a

Tests

image

Xeon version:

$ curl http://router-service.chatqa.svc.cluster.local:8080  \
>   -X POST \
>   -d '{"text":"What is the revenue of Nike in 2023?"}' \
>   -H 'Content-Type: application/json'
data: <br/>

data: An

data: swer

data: :

data: @#$In

data: @#$fiscal

data: @#$

data: 2

data: 0

data: 2

data: 3

data: ,

data: @#$N

data: I

data: KE

data: ,

data: @#$Inc

data: .

data: @#$achieved

data: @#$record

data: @#$Rev

data: en

data: ues

data: @#$of

data: @#$$

data: 5

data: 1

data: .

data: 2

data: @#$billion

data: .

data: [DONE]

Gaudi version:

$ curl http://router-service.chatqa-gaudi.svc.cluster.local:8080  \
>   -X POST \
>   -d '{"text":"What is the revenue of Nike in 2023?"}' \
>   -H 'Content-Type: application/json'
data: <br/>

data: An

data: swer

data: :

data: @#$In

data: @#$fiscal

data: @#$

data: 2

data: 0

data: 2

data: 3

data: ,

data: @#$N

data: I

data: KE

data: ,

data: @#$Inc

data: .

data: @#$achieved

data: @#$record

data: @#$Rev

data: en

data: ues

data: @#$of

data: @#$$

data: 5

data: 1

data: .

data: 2

data: @#$billion

data: .

data: [DONE]