-
Notifications
You must be signed in to change notification settings - Fork 215
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
Update Chinese version #67
base: main
Are you sure you want to change the base?
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"Based on the context provided, there are two books available:\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
根据提供的上下文,我们的图书馆里有两本可供阅读的书:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这部分是代码运行的输出,没办法直接更改
"text": [ | ||
"Based on the context provided, there are two books available:\n", | ||
"\n", | ||
"1. \"Pride and Prejudice\" by Jane Austen\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 简·奥斯丁的《傲慢与偏见》
"Based on the context provided, there are two books available:\n", | ||
"\n", | ||
"1. \"Pride and Prejudice\" by Jane Austen\n", | ||
"2. \"Les Misérables\" by Victor Hugo\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 维克多·雨果的《悲惨世界》
"1. \"Pride and Prejudice\" by Jane Austen\n", | ||
"2. \"Les Misérables\" by Victor Hugo\n", | ||
"\n", | ||
"The context used to derive this answer includes:\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
提供答案的上下文包括:
"\n", | ||
"The context used to derive this answer includes:\n", | ||
"\n", | ||
"* The file path for each book, which provides information about the location of the book files on the computer.\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
每本书的文件路径,这说明了书籍文件在计算机上的具体位置;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you : )
notebooks/zh-CN/agent_rag.ipynb
Outdated
@@ -4,28 +4,30 @@ | |||
"cell_type": "markdown", | |||
"metadata": {}, | |||
"source": [ | |||
"# Agentic RAG: turbocharge your RAG with query reformulation and self-query! 🚀\n", | |||
"_Authored by: [Aymeric Roucher](https://huggingface.co/m-ric)_\n", | |||
"# 智能体 RAG:通过查询重写和自我查询来为你的 RAG 加速!🚀\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
通过查询重构和自查询来增强你的RAG
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
notebooks/zh-CN/agent_rag.ipynb
Outdated
"\n", | ||
"Run the line below to install required dependencies:" | ||
"所以,我们得用点高级的RAG技术!\n", | ||
"- 不直接用用户的提问去搜索,我们自己编一个更接近想要找的资料的句子,就像 [HyDE](https://huggingface.co/papers/2212.10496) 那样\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不直接使用用户的提问去搜索,而是智能体自行制定一个更接近目标文档的参考句子。
notebooks/zh-CN/agent_rag.ipynb
Outdated
"Run the line below to install required dependencies:" | ||
"所以,我们得用点高级的RAG技术!\n", | ||
"- 不直接用用户的提问去搜索,我们自己编一个更接近想要找的资料的句子,就像 [HyDE](https://huggingface.co/papers/2212.10496) 那样\n", | ||
"- 如果需要,我们可以看看已经找到的信息,然后再去找一次,就像 [Self-Query](https://docs.llamaindex.ai/en/stable/examples/evaluation/RetryQuery/) 那样\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
智能体能生成片段并在需要时重新检索
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a few minor adjustments,everything else looks great👍
Thank you for your contribution!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm. Thanks👍
@innovation64 can you resolve merge conflicts and we can merge? |
@innovation64 thanks a lot! lastly, toctree needs to follow a format, for reference English toctree vs the one in this PR: Causes errors with docbuilder:
|
@innovation64 rag_with_hf_and_milvus isn't in toctree, I think that might be why it's failing (though not sure) |
Update all those articles in Chinese version
@adeenayakup @MKhalusova