Skip to content

Other language support #13

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No 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? No Sign in to your account

Closed
xingfanxia opened this issue Mar 22, 2023 · 6 comments
Closed

Other language support #13

xingfanxia opened this issue Mar 22, 2023 · 6 comments

Comments

@xingfanxia
Copy link

Is it possible to interact with chatbot in other languages with a notion db of posts in other languages in English?
I tried Chinese it won't find any answers

@xingfanxia
Copy link
Author

It works well with English

❯ python3 qa.py "how to add another git remote"                                                ─╯
Answer:  To add another git remote, use the command `git remote add other https://example.link/repository.git` and then `git fetch other`.

Sources: Notion_DB/Cubox 0087f2b099b644d9bf88c9b2de3e673f/Collections 07c81d214b5c4524950139cdaeaef653/Is it possible to cherry-pick a commit from anothe a98593fa23fc414d92b2cb8a7562d956.md

@xingfanxia
Copy link
Author

But not Chinese

❯ python3 qa.py "中东谁亏钱了"                                                                 ─╯
Answer:  I don't know.

Sources: Notion_DB/Cubox 0087f2b099b644d9bf88c9b2de3e673f/Collections 07c81d214b5c4524950139cdaeaef653/Tech layoffs now hit Amazon Workers in 'unprofitab 2ecdb20d929d4726b64a3b95a0e83aae.md, Notion_DB/Cubox 0087f2b099b644d9bf88c9b2de3e673f/Collections 07c81d214b5c4524950139cdaeaef653/XIA, Xingfan_6540798- Airbnb Inc EVL docx pdf aeb6df3c513e4284baef6c943a1a44ed.md, Notion_DB/Cubox 0087f2b099b644d9bf88c9b2de3e673f/Collections 07c81d214b5c4524950139cdaeaef653/mp weixin qq com 78b9af5783ab429a87

@nameless0704
Copy link

How did you solve this?

@xingfanxia
Copy link
Author

How did you solve this?

You can fix this by updating the project to latest versions of lang-chain, there's some related code change due to the dep update

@redcpp
Copy link

redcpp commented Mar 30, 2023

@nameless0704 My latest PR should fix it. Tested it with the Spanish language.

@JaxGG
Copy link

JaxGG commented Jun 25, 2023

@xingfanxia If you question is Chinese, and the answer is Chinese?

No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants