-
Notifications
You must be signed in to change notification settings - Fork 192
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
react-ui: Add support to display Chinese #713
Conversation
@chensuyue @lvliang-intel Hi Suyue, Liang, I see the following errors from CI run-test:
But I don't think it's related to the code I changed. Could you please help take a look and let me know if anything I missed. |
llm-tgi microservice from GenAIComps has encoded each text, so Chinese response will be shown as hexadecimal in react UI. Add support to decode and display the response in Chinese. Also return raw response if no pattern found. Signed-off-by: Cathy Zhang <cathy.zhang@intel.com> Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
for more information, see https://pre-commit.ci
adaecab
to
846d278
Compare
* react-ui: Add support to display Chinese llm-tgi microservice from GenAIComps has encoded each text, so Chinese response will be shown as hexadecimal in react UI. Add support to decode and display the response in Chinese. Also return raw response if no pattern found. Signed-off-by: Cathy Zhang <cathy.zhang@intel.com> Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Cathy Zhang <cathy.zhang@intel.com> Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* react-ui: Add support to display Chinese llm-tgi microservice from GenAIComps has encoded each text, so Chinese response will be shown as hexadecimal in react UI. Add support to decode and display the response in Chinese. Also return raw response if no pattern found. Signed-off-by: Cathy Zhang <cathy.zhang@intel.com> Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Cathy Zhang <cathy.zhang@intel.com> Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
llm-tgi microservice from GenAIComps has encoded each output text, so Chinese response will be shown as hexadecimal in react UI. Add support to decode and display the response in Chinese correctly.