Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Conversation

@letonghan
Copy link
Contributor

Type of Change

feature
API parameters change for /v1/askdoc/chat.
API added: /v1/askdoc/translate

Description

Support language detection & translation for RAG chat.
Add new translate API for Askdoc.
JIRA ticket: https://jira.devtools.intel.com/browse/NLPTOOLKIU-1285

Expected Behavior & Potential Risk

API /v1/askdoc/chat will be able to detect and translate language automatically.

How has this PR been tested?

Local tested on SPR.
Integrate tested with frontend.

Dependency Change?

None.

Signed-off-by: LetongHan <letong.han@intel.com>
Signed-off-by: LetongHan <letong.han@intel.com>
@github-actions
Copy link

github-actions bot commented Mar 11, 2024

⚡ Required checks status: All passing 🟢

Groups summary

🟢 Format Scan Tests workflow
Check ID Status Error details
format-scan (pylint) success
format-scan (bandit) success
format-scan (cloc) success
format-scan (cpplint) success

These checks are required after the changes to intel_extension_for_transformers/neural_chat/server/restful/retrieval_api.py, intel_extension_for_transformers/neural_chat/tests/ci/server/test_askdoc_server.py.

🟢 NeuralChat Unit Test
Check ID Status Error details
neuralchat-unit-test-baseline success
neuralchat-unit-test-PR-test success
Generate-NeuralChat-Report success

These checks are required after the changes to .github/workflows/unit-test-neuralchat.yml, intel_extension_for_transformers/neural_chat/server/restful/retrieval_api.py, intel_extension_for_transformers/neural_chat/tests/ci/server/test_askdoc_server.py.

🟢 Chat Bot Test workflow
Check ID Status Error details
call-inference-llama-2-7b-chat-hf / inference test success
call-inference-mpt-7b-chat / inference test success

These checks are required after the changes to intel_extension_for_transformers/neural_chat/server/restful/retrieval_api.py.


Thank you for your contribution! 💜

Note
This comment is automatically generated and will be updates every 180 seconds within the next 6 hours. If you have any other questions, contact VincyZhang or XuehaoSun for help.

@letonghan letonghan requested a review from VincyZhang as a code owner March 18, 2024 06:07
letonghan and others added 9 commits March 18, 2024 15:35
@VincyZhang VincyZhang merged commit 99df35d into main Mar 25, 2024
@VincyZhang VincyZhang deleted the letong/askdoc_translate branch March 25, 2024 08:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants