Skip to content
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

Add Multi-Language Support (Chinese) #21

Merged
merged 8 commits into from
May 15, 2024
Merged

Conversation

ruixing76
Copy link
Contributor

@ruixing76 ruixing76 commented May 13, 2024

Add support for Fact-checking in Chinese:

  • chatgpt_prompt_zh add prompt in Chinese for claim decomposition, check-worthy detection, query generation and verification.
  • logger.py add utf-8 encoding to enable logging non-ascii characters (to avoid "UnicodeDecodeError: 'charmap' codec can't decode byte" using reverse_geocoder).
  • minimal_test.py add support for multi-lingual minimal test, default is english.
  • minimal_test_en.json rename from original minimal_test.json.
  • minimal_test_zh.json add test cases for Chinese.
  • fix fake8 error.
  • All minimal tests passed ✅.

@haonan-li
Copy link
Member

Hi @ruixing76,
Thanks for your contribution. We just update the documents for PR, with a new requirement to do code-style check.
Can you please do it to ensure a smooth workflows?

@ruixing76
Copy link
Contributor Author

Hi @ruixing76, Thanks for your contribution. We just update the documents for PR, with a new requirement to do code-style check. Can you please do it to ensure a smooth workflows?

Sure, let me do this. Thanks for the reminder.

@haonan-li haonan-li merged commit bce168c into Libr-AI:main May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants