Skip to content
This repository was archived by the owner on Dec 28, 2025. It is now read-only.

docs: refactor documentation structure and add new content#1

Closed
weijinglin wants to merge 18 commits intomasterfrom
doc
Closed

docs: refactor documentation structure and add new content#1
weijinglin wants to merge 18 commits intomasterfrom
doc

Conversation

@weijinglin
Copy link
Collaborator

@weijinglin weijinglin commented Jun 10, 2025

This PR refactors the documentation structure and adds new content to improve the overall documentation organization. Here are the key changes:

Documentation Structure Changes

  • Reorganized quickstart documentation into logical sections:
    • Client
    • Computing
    • HugeGraph Core
    • ToolChain
    • HugeGraph-AI

Content Updates

  • Added new documentation sections for:
    • HugeGraph Client
    • HugeGraph Computing (Computer and Vermeer)
    • HugeGraph Core components (Server, HStore, PD)
    • ToolChain components (Hubble, Loader, Tools)

AI Documentation Enhancement

  • Updated HugeGraph-AI documentation
  • Added DeepWiki badge for AI documentation summary
  • Added reference to AI repository README for latest updates

Language Support

  • Added parallel documentation in both English and Chinese
  • Ensured consistent structure across language versions

Technical Details

  • Added proper frontmatter for all documentation pages
  • Maintained consistent weight ordering for navigation
  • Updated cross-references and links

Please review the changes and provide feedback. Screenshots of the documentation before and after the changes are attached for comparison.

TODO

  • Adding mermaid-supported parameters in hugegraph-ai document.

image

Summary by CodeRabbit

Summary by CodeRabbit

  • 新功能
    • 新增 HugeGraph-AI、HugeGraph、HugeGraph-Store、HugeGraph-PD、HugeGraph Client、HugeGraph Computing、HugeGraph ToolChain 等相关模块的中英文快速入门文档及索引页面。
    • HugeGraph-AI 快速入门文档详细介绍了 RAG 流程、Text2Gremlin、图工具等功能,配有流程图和界面截图。
    • 新增 HugeGraph Client Go 和 Python SDK 的快速入门文档,包含安装、使用示例及 API 说明。
    • HugeGraph-Store 和 HugeGraph-PD 新增了分布式存储和元数据管理的部署、配置及多节点集群操作指南。
  • 文档
    • 优化和重构 HugeGraph-AI 相关文档内容,补充环境要求、部署方式、配置说明及示例代码,提升可读性和完整性。
    • 修正和规范了大量文档中的超链接路径,统一了中英文文档的目录结构和引用路径,提升文档导航体验。
    • 调整了部分文档的权重属性,优化文档展示顺序。
    • 细化并翻译了 HugeGraph 示例文档,提升中英文版本的表达准确性和可读性。
    • 更新 HugeGraph-Client 相关文档,增加对多语言支持的说明及链接路径调整。

@coderabbitai
Copy link

coderabbitai bot commented Jun 10, 2025

Walkthrough

本次更新主要新增和完善了 HugeGraph 及其相关组件(如 HugeGraph-AI、HugeGraph-PD、HugeGraph-Store、ToolChain 等)的中英文快速入门文档。内容涵盖分布式存储引擎的配置与部署、AI 模块的核心逻辑与操作流程、各组件的部署方法、配置参数、启动与验证步骤,以及界面操作说明。部分文档对原有内容进行了结构优化和细节补充。

Changes

文件/路径分组 变更摘要
content/{en,cn}/docs/quickstart/client/_index.md
content/{en,cn}/docs/quickstart/computing/_index.md
content/{en,cn}/docs/quickstart/hugegraph/_index.md
content/{en,cn}/docs/quickstart/toolchain/_index.md
新增文档索引文件,仅含元数据 front matter,无正文内容。
content/{en,cn}/docs/quickstart/hugegraph-ai/_index.md HugeGraph-AI 快速入门索引文档大幅重写,完善项目简介、环境要求、部署与运行流程,优化示例与格式。
content/{en,cn}/docs/quickstart/hugegraph-ai/quick_start.md 新增 HugeGraph-AI 详细快速入门指南,介绍核心逻辑、RAG 流程、用户查询、Text2Gremlin、图工具等,配流程图与截图。
content/{en,cn}/docs/quickstart/hugegraph/hugegraph-hstore.md 修改文档权重属性,从11调整为3,优化文档排序,调整端口格式,无其他内容变更。
content/{en,cn}/docs/quickstart/hugegraph/hugegraph-pd.md 修改文档权重属性,从10调整为2,优化文档排序,无其他内容变更。
content/{en,cn}/docs/quickstart/hugegraph/hugegraph-server.md 修正内部超链接路径,更新 Java 8 使用建议,调整快速入门链接路径,无其他内容变更。
content/{en,cn}/docs/quickstart/computing/hugegraph-computer.md 修改文档权重属性,从6调整为2,扩展描述支持 Kubernetes 和大规模图数据,调整格式和标点,无内容变更。
content/{en,cn}/docs/quickstart/computing/hugegraph-vermeer.md 修改文档权重属性,从7调整为1,更新链接标题,无内容变更。
content/{en,cn}/docs/quickstart/toolchain/hugegraph-hubble.md 修改文档权重属性,从3调整为1,修正两处 hugegraph-loader 文档链接路径。
content/{en,cn}/docs/quickstart/toolchain/hugegraph-tools.md 修改文档权重属性,从5调整为3,优化文档排序,无其他内容变更。
content/{en,cn}/docs/quickstart/toolchain/hugegraph-loader.md 修正文档中指向 HugeGraph-Server 快速入门及 hugegraph-loader 参数说明的链接路径。
content/{en,cn}/docs/clients/gremlin-console.md 修正启动步骤中 HugeGraph-Server 快速入门链接路径。
content/{en,cn}/docs/clients/hugegraph-client.md 修正示例链接路径,调整中文文档客户端示例链接为本地化路径,英文文档调整为统一路径。
content/{en,cn}/docs/clients/restful-api/_index.md 修正 Swagger UI 示例链接路径,增加目录层级。
content/{en,cn}/docs/clients/restful-api/task.md 修正 Gremlin API 链接路径为绝对路径。
content/{en,cn}/docs/guides/architectural.md 更新应用层组件及图引擎层的文档链接路径,调整描述文字以提升表达清晰度。
content/{en,cn}/docs/guides/backup-restore.md 修正备份恢复命令相关 hugegraph-tools 链接路径,调整部分描述文字。
content/{en,cn}/docs/introduction/README.md 更新多个组件文档链接路径,调整为更细化的目录结构。
content/{en,cn}/docs/performance/hugegraph-loader-performance.md 修正 HugeGraph-Loader 工具链接路径。
content/cn/docs/clients/hugegraph-client-go.md 新增 HugeGraph Go Client 快速入门文档,包含架构介绍、安装、示例代码及版本信息结构体定义。
content/en/docs/quickstart/client/hugegraph-client-go.md 新增 HugeGraph Go Client 快速入门文档,包含架构介绍、安装、示例代码及版本信息结构体定义。
content/cn/docs/quickstart/client/hugegraph-client-python.md 新增 HugeGraph Python Client 快速入门文档,包含安装说明、API 使用示例、CRUD 操作及 Gremlin 查询示例。
content/en/docs/quickstart/client/hugegraph-client-python.md 新增 HugeGraph Python Client 快速入门文档,包含安装说明、API 使用示例、CRUD 操作及 Gremlin 查询示例。
content/cn/docs/language/hugegraph-example.md 优化中文 HugeGraph 示例文档的语言表达、格式及链接路径,提升可读性,无功能变更。
content/en/docs/language/hugegraph-example.md 优化英文 HugeGraph 示例文档的语言表达、格式及链接路径,提升可读性,无功能变更。
content/cn/docs/clients/hugegraph-client.md 调整中文客户端文档标题及说明,新增 Go 和 Python 语言支持说明。

Sequence Diagram(s)

sequenceDiagram
    participant 用户
    participant HugeGraph-AI
    participant 向量数据库
    participant HugeGraph-Server
    participant LLM

    用户->>HugeGraph-AI: 上传文档/Schema/Prompt
    HugeGraph-AI->>LLM: 文本分割与向量化
    HugeGraph-AI->>向量数据库: 写入文本块向量
    HugeGraph-AI->>LLM: 图谱抽取
    HugeGraph-AI->>HugeGraph-Server: 写入图结构
    HugeGraph-AI->>LLM: 节点向量化
    HugeGraph-AI->>向量数据库: 写入节点向量

    用户->>HugeGraph-AI: 发起自然语言查询
    HugeGraph-AI->>LLM: 向量化问题
    HugeGraph-AI->>向量数据库: 检索相关文本/节点
    HugeGraph-AI->>HugeGraph-Server: 关键词/Gremlin 查询
    HugeGraph-AI->>LLM: 综合生成答案
    HugeGraph-AI->>用户: 返回最终答案
Loading

Poem

新增文档兔儿忙,分布式存储齐登场。
AI 快速入门详,流程图解更明亮。
配置启动有指南,查询流程不迷茫。
代码兔子把关强,文档世界更辉煌!
🐇📚✨
✨ Finishing Touches
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Commit Unit Tests in branch doc
  • Post Copyable Unit Tests in Comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 8

🔭 Outside diff range comments (1)
content/en/docs/quickstart/hugegraph/hugegraph-server.md (1)

422-428: ⚠️ Potential issue

后台配置注释错误
ScyllaDB 部分块的注释仍写为 # cassandra backend config,应修正为 # scylladb backend config,避免误导。

- # cassandra backend config
+ # scylladb backend config
🧹 Nitpick comments (21)
content/cn/docs/quickstart/hugegraph/hugegraph-pd.md (2)

1-5: 文档标题本地化建议
title 字段仍为英文,与其余中文页面不一致。建议将

title: "HugeGraph-PD Quick Start"

修改为

title: "HugeGraph-PD 快速开始"

以保持中文文档风格统一。


118-120: 补充代码块语言标记
日志示例的 fenced code block 缺少语言声明,建议改为:

- ```
+ ```text
  2024-xx-xx xx:xx:xx [main] [INFO] o.a.h.p.b.HugePDServer - Started HugePDServer in x.xxx seconds (JVM running for x.xxx)

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 markdownlint-cli2 (0.17.2)</summary>

118-118: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

</details>

</details>

</blockquote></details>
<details>
<summary>content/cn/docs/quickstart/hugegraph/hugegraph-hstore.md (2)</summary><blockquote>

`1-5`: **文档标题本地化建议**  
title 字段仍为英文,建议将  
```yaml
title: "HugeGraph-Store Quick Start"

修改为

title: "HugeGraph-Store 快速开始"

title: "HugeGraph-Store 快速入门"

以保持中文页面的一致性。


118-120: 补充日志代码块语言标记
日志示例代码块缺少语言声明,建议使用 textconsole

- ```
+ ```text
  2024-xx-xx xx:xx:xx [main] [INFO] o.a.h.s.n.StoreNodeApplication - Started StoreNodeApplication in x.xxx seconds (JVM running for x.xxx)

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 markdownlint-cli2 (0.17.2)</summary>

118-118: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

</details>

</details>

</blockquote></details>
<details>
<summary>content/cn/docs/quickstart/computing/_index.md (1)</summary><blockquote>

`1-5`: **中文文档导航项未本地化**  
当前 `content/cn` 下的 front matter `title` 和 `linkTitle` 均为英文,建议将其翻译为中文,以匹配页面语言环境。

</blockquote></details>
<details>
<summary>content/cn/docs/quickstart/hugegraph/_index.md (1)</summary><blockquote>

`1-5`: **中文文档导航项未本地化**  
当前 `content/cn` 下的 front matter `title` 和 `linkTitle` 仍为英文,建议翻译为中文,提升文档一致性。

</blockquote></details>
<details>
<summary>content/en/docs/quickstart/hugegraph/hugegraph-pd.md (1)</summary><blockquote>

`15-15`: **术语大小写**  
“MacOS” 建议改为 Apple 官方标准写法 “macOS”。  
  
```diff
- Operating System: Linux or MacOS (Windows has not been fully tested)
+ Operating System: Linux or macOS (Windows has not been fully tested)
🧰 Tools
🪛 LanguageTool

[grammar] ~15-~15: The operating system from Apple is written “macOS”.
Context: ...uirements - Operating System: Linux or MacOS (Windows has not been fully tested) - J...

(MAC_OS)

content/en/docs/quickstart/hugegraph/hugegraph-server.md (1)

243-243: 用词重复
此处 “Also, you need to modify...” 与前文多次表述相似,建议改为 “此外,请修改...” 以提升可读性。

content/en/docs/quickstart/hugegraph/hugegraph-hstore.md (4)

7-10: 建议简化措辞
“works in conjunction with” 可替换为更简洁的 “works with” 以提升可读性。

🧰 Tools
🪛 LanguageTool

[style] ~9-~9: ‘in conjunction with’ might be wordy. Consider a shorter alternative.
Context: ...oring and managing graph data. It works in conjunction with HugeGraph-PD to form HugeGraph's distri...

(EN_WORDINESS_PREMIUM_IN_CONJUNCTION_WITH)


15-17: 操作系统名称格式
“MacOS” 建议统一写为 “macOS”,与官方命名保持一致。

🧰 Tools
🪛 LanguageTool

[grammar] ~15-~15: The operating system from Apple is written “macOS”.
Context: ...uirements - Operating System: Linux or MacOS (Windows has not been fully tested) - J...

(MAC_OS)


117-121: 指定日志示例代码块语言
当前日志示例使用无语言标记的 ,建议改为 text 或 ```console,以便渲染和高亮。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

118-118: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


149-189: 多节点示例代码块缺少语言标记
以下 YAML 配置示例块均使用无语言标记的 ,建议改为 yaml 以增强可读性。

content/cn/docs/quickstart/hugegraph-ai/quick_start.md (2)

7-8: 区块引用格式
在单行 > 引用后出现空行,建议移除空行或在下一行也加上 >,以符合 Markdown 风格指南。


24-25: 图片替换为描述性 Alt 文本
当前所有 ![image] 建议替换为更具语义的描述,如 ![RAG 构建流程示意图],提高可访问性。

content/cn/docs/quickstart/hugegraph-ai/_index.md (3)

7-10: 引用链接清晰度
第一段中提示用户参考 README,可考虑将“请参考 AI 仓库的 README”改为“请参考 HugeGraph-AI 项目仓库的 README”,以免歧义。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


69-72: 指定代码块语言
bash 之后的示例在少数场景中使用无语言标记的 ,建议统一标注为 bash。


115-119: 指定 Shell 代码块语言
python -m hugegraph_llm.config.generate --update 代码块前使用无语言标记的 ,建议改为 bash 增强渲染。

content/en/docs/quickstart/hugegraph-ai/_index.md (2)

7-7: 移除尾部多余波浪号
Blockquote 末尾的 “~” 似为编辑遗留,应删除以保持专业和一致。


13-15: 删除多余定冠词
将 “The hugegraph-llm is a tool” 改为 “hugegraph-llm 是一个工具”,去掉英文中的多余 “The”。

content/en/docs/quickstart/hugegraph-ai/quick_start.md (2)

7-8: 区块引用格式
同样在这份文档中,单行 > 后出现空行,建议移除以统一样式。


24-25: 补充图片 Alt 文本
建议为所有 ![image] 添加更具语义的 Alt 文本,如 ![构建流程示意],提升可访问性。

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 53532bd and 7423970.

📒 Files selected for processing (18)
  • content/cn/docs/quickstart/client/_index.md (1 hunks)
  • content/cn/docs/quickstart/computing/_index.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph-ai/_index.md (4 hunks)
  • content/cn/docs/quickstart/hugegraph-ai/quick_start.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph/_index.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph/hugegraph-hstore.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph/hugegraph-pd.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph/hugegraph-server.md (7 hunks)
  • content/cn/docs/quickstart/toolchain/_index.md (1 hunks)
  • content/en/docs/quickstart/client/_index.md (1 hunks)
  • content/en/docs/quickstart/computing/_index.md (1 hunks)
  • content/en/docs/quickstart/hugegraph-ai/_index.md (5 hunks)
  • content/en/docs/quickstart/hugegraph-ai/quick_start.md (1 hunks)
  • content/en/docs/quickstart/hugegraph/_index.md (1 hunks)
  • content/en/docs/quickstart/hugegraph/hugegraph-hstore.md (1 hunks)
  • content/en/docs/quickstart/hugegraph/hugegraph-pd.md (1 hunks)
  • content/en/docs/quickstart/hugegraph/hugegraph-server.md (5 hunks)
  • content/en/docs/quickstart/toolchain/_index.md (1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
content/cn/docs/quickstart/hugegraph/hugegraph-pd.md

118-118: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

content/en/docs/quickstart/hugegraph/hugegraph-pd.md

118-118: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

content/cn/docs/quickstart/hugegraph/hugegraph-hstore.md

118-118: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

content/en/docs/quickstart/hugegraph/hugegraph-hstore.md

118-118: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

content/cn/docs/quickstart/hugegraph-ai/_index.md

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


57-57: Bare URL used
null

(MD034, no-bare-urls)


99-99: Bare URL used
null

(MD034, no-bare-urls)


108-108: Bare URL used
null

(MD034, no-bare-urls)


123-123: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


123-123: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)

🪛 LanguageTool
content/en/docs/quickstart/hugegraph/hugegraph-pd.md

[grammar] ~15-~15: The operating system from Apple is written “macOS”.
Context: ...uirements - Operating System: Linux or MacOS (Windows has not been fully tested) - J...

(MAC_OS)

content/en/docs/quickstart/hugegraph/hugegraph-hstore.md

[style] ~9-~9: ‘in conjunction with’ might be wordy. Consider a shorter alternative.
Context: ...oring and managing graph data. It works in conjunction with HugeGraph-PD to form HugeGraph's distri...

(EN_WORDINESS_PREMIUM_IN_CONJUNCTION_WITH)


[grammar] ~15-~15: The operating system from Apple is written “macOS”.
Context: ...uirements - Operating System: Linux or MacOS (Windows has not been fully tested) - J...

(MAC_OS)

content/cn/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~114-~114: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:最新"地"更改
Context: ...存到配置文件中。你也可以直接修改文件而无需重启应用程序;只需刷新页面即可加载最新的更改。 (可选)要重新生成配置文件,您可以将 `config.gener...

(wb4)

content/en/docs/quickstart/hugegraph/hugegraph-server.md

[style] ~244-~244: You have already used this phrasing in nearby sentences. Consider replacing it to add variety to your writing.
Context: ...ver-2 server.role=worker ``` Also, you need to modify the port configuration in `greml...

(REP_NEED_TO_VB)

content/en/docs/quickstart/hugegraph-ai/quick_start.md

[style] ~22-~22: ‘vid’ is informal. Consider replacing it.
Context: ...nowledge graph, chunk vector, and graph vid vector from the text. ![image](https:/...

(VID)


[style] ~61-~61: ‘Vid’ is informal. Consider replacing it.
Context: ...** Clear chunk vector - Clear Graph Vid Vector Index: Clear graph vid vector ...

(VID)


[style] ~61-~61: ‘vid’ is informal. Consider replacing it.
Context: ...r Graph Vid Vector Index**: Clear graph vid vector - Clear Graph Data: Clear ...

(VID)


[style] ~65-~65: ‘Vid’ is informal. Consider replacing it.
Context: ...he database (automatically calls Update Vid Embedding to store vectors in the vecto...

(VID)


[style] ~66-~66: ‘Vid’ is informal. Consider replacing it.
Context: ...tors in the vector database) - Update Vid Embedding: Convert graph vid into vec...

(VID)


[style] ~66-~66: ‘vid’ is informal. Consider replacing it.
Context: ...Update Vid Embedding: Convert graph vid into vectors ### Execution Flow: 1. I...

(VID)


[style] ~74-~74: ‘Vid’ is informal. Consider replacing it.
Context: ...base (this automatically calls Update Vid Embedding to store the vectors in the...

(VID)


[style] ~75-~75: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...the vectors in the vector database). 6. Click the Update Vid Embedding bu...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~75-~75: ‘Vid’ is informal. Consider replacing it.
Context: ...or database). 6. Click the Update Vid Embedding button to vectorize the...

(VID)


[style] ~79-~79: ‘Vid’ is informal. Consider replacing it.
Context: ...(chunks) into vectors, and the Update Vid Embedding button converts graph vid i...

(VID)


[style] ~79-~79: ‘vid’ is informal. Consider replacing it.
Context: ...e Vid Embedding** button converts graph vid into vectors. These vectors are stored ...

(VID)


[duplication] ~109-~109: Possible typo: you repeated a word.
Context: ...nput Fields: - Question: Input the query - Query Prompt: The prompt template used ...

(ENGLISH_WORD_REPEAT_RULE)


[style] ~118-~118: ‘vid’ is informal. Consider replacing it.
Context: ...ly graph-based retrieval (queries graph vid vectors in the vector database and the ...

(VID)


[style] ~136-~136: ‘vid’ is informal. Consider replacing it.
Context: ...zzy match in the vector database (graph vid vector) to retrieve relevant vertices. ...

(VID)


[uncategorized] ~138-~138: Possible missing comma found.
Context: ...nterface, using the matched vertices as entities to convert the question into a Grem...

(AI_HYDRA_LEO_MISSING_COMMA)

content/en/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~66-~66: Possible missing preposition found.
Context: ...ost:8001 ### 3.2 Build from Source 1. Start the HugeGraph database, you can run it ...

(AI_HYDRA_LEO_MISSING_TO)


[uncategorized] ~91-~91: Possible missing preposition found.
Context: ...ify hugegraph-llm/pyproject.toml. 5. Start the gradio interactive demo of **Graph ...

(AI_HYDRA_LEO_MISSING_TO)

content/cn/docs/quickstart/hugegraph-ai/quick_start.md

[uncategorized] ~59-~59: 您的意思是“"不"和”?
Context: ...图数据 (1):** 基于 Schema 从文档中提取图数据,使用图提取提示词头部和分块内容作为提示词 - 加载到图数据库 (2): 将提取的图数据存储到...

(BU)

🔇 Additional comments (14)
content/cn/docs/quickstart/hugegraph/hugegraph-pd.md (3)

30-35: 代码块语言标记正确
下载并解压示例使用了 bash 语言标记,命令清晰易读,无需修改。


56-62: YAML 配置块标记正确
主要配置示例已使用 yaml 语言标记,格式和内容都很清晰。


135-137: bash 代码块标记正确
curl 验证示例已使用 bash 语言标记,展示充分且无需调整。

content/cn/docs/quickstart/hugegraph/hugegraph-server.md (4)

311-311: HBase 后端编号更新正确
RocksDB 前移后,HBase 已从 5.1.2 升级为 5.1.3,编号调整合理且文档连贯。


456-456: Memory 后端编号更新正确
Memory 部分已由 5.1.5 调整至 5.1.6,与新增分布式存储节保持一致。


482-482: ScyllaDB 后端编号更新正确
ScyllaDB 已从 5.1.6 调整至 5.1.7,编号无误且顺序合理。


526-526: 示例图创建编号更新正确
示例图创建部分已从 5.1.7 调整为 5.1.8,编号连续且文档结构清晰。

content/en/docs/quickstart/hugegraph/_index.md (1)

1-5: Front matter 配置正确
英文文档的 titlelinkTitleweight 设置符合规范,无需修改。

content/en/docs/quickstart/hugegraph/hugegraph-pd.md (1)

1-5:

Details

✅ Verification successful

请确认权重与同级文档的一致性
当前 weight: 10 可能导致在 Quick Start → HugeGraph 目录下排序异常,请核对与其他组件(如 hstore、server 等)的权重值是否符合预期。


🏁 Script executed:

#!/bin/bash
# 列出 content/en/docs/quickstart/hugegraph 目录下所有 md 文件的 weight
rg -Hn 'content/en/docs/quickstart/hugegraph/.*\.md' -e '^weight:' 

Length of output: 152


🏁 Script executed:

#!/bin/bash
# 使用正确的语法列出 content/en/docs/quickstart/hugegraph 目录下所有 md 文件的 weight
rg -Hn '^weight:' content/en/docs/quickstart/hugegraph/*.md

Length of output: 497


HugeGraph-PD 权重无需调整
经检查 content/en/docs/quickstart/hugegraph 目录下各文件的 weight 值如下:

  • hugegraph-server.md:1
  • _index.md:3
  • hugegraph-pd.md:10
  • hugegraph-hstore.md:11

PD 的权重 10 已正确排在 server(1)与 hstore(11)之间,顺序符合预期,无需更改。

content/en/docs/quickstart/hugegraph/hugegraph-hstore.md (1)

1-5: Frontmatter 校验通过
YAML frontmatter 完整且格式正确,无需修改。

content/cn/docs/quickstart/hugegraph-ai/quick_start.md (1)

1-5: Frontmatter 校验通过
文档头部元数据齐全且正确。

content/en/docs/quickstart/hugegraph-ai/_index.md (2)

151-161: 验证初始化方法签名
示例中由 LLMs().get_llm() 改为 LLMs().get_chat_llm(),请确认 KgBuilder 构造函数已支持该方法,并同步更新 API 文档。


216-217: 校对参数名一致性
示例中使用 max_graph_items=30 替代旧的 max_items,请确保源码或客户端 API 与此参数名称保持一致。

content/en/docs/quickstart/hugegraph-ai/quick_start.md (1)

1-5: Frontmatter 校验通过
头部元数据正确,结构清晰。

@imbajin imbajin requested a review from Copilot June 11, 2025 08:09
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR restructures the quickstart documentation by adding new index pages in both English and Chinese and enhances the HugeGraph-AI content with updated frontmatter and expanded instructions.

  • Added frontmatter for new quickstart sections (Client, Computing, HugeGraph, ToolChain) in English and Chinese
  • Updated Chinese HugeGraph-AI index and quick start pages with expanded Docker/source build guides and badges
  • Ensured parallel English/Chinese documentation structure and links

Reviewed Changes

Copilot reviewed 30 out of 30 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
content/en/docs/quickstart/computing/_index.md Added frontmatter for the Computing quickstart
content/en/docs/quickstart/client/_index.md Added frontmatter for the Client quickstart
content/cn/docs/quickstart/toolchain/_index.md Added Chinese frontmatter for the ToolChain section
content/cn/docs/quickstart/hugegraph/_index.md Added Chinese frontmatter for the HugeGraph section
content/cn/docs/quickstart/hugegraph-ai/quick_start.md Added full Chinese quick start content for AI
content/cn/docs/quickstart/hugegraph-ai/_index.md Updated Chinese AI index page with new badges/links
content/cn/docs/quickstart/computing/_index.md Added Chinese frontmatter for the Computing section
content/cn/docs/quickstart/client/_index.md Added Chinese frontmatter for the Client section
Comments suppressed due to low confidence (2)

content/cn/docs/quickstart/client/_index.md:2

  • [nitpick] The title in the Chinese documentation remains in English; consider translating it into Chinese for consistency (e.g., 'HugeGraph 客户端').
title: "HugeGraph Client"

content/cn/docs/quickstart/computing/_index.md:2

  • [nitpick] The title in the Chinese documentation remains in English; consider translating it into Chinese for consistency (e.g., 'HugeGraph 计算模块').
title: "HugeGraph Computing"

@imbajin
Copy link

imbajin commented Jun 11, 2025

@codecov-ai-reviewer review

@codecov-ai
Copy link

codecov-ai bot commented Jun 11, 2025

On it! We are reviewing the PR and will provide feedback shortly.

@codecov-ai
Copy link

codecov-ai bot commented Jun 11, 2025

PR Description

This pull request focuses on reorganizing and enhancing the documentation for the HugeGraph project, particularly concerning the integration of Large Language Models (LLMs) via the HugeGraph-AI component. The primary goal is to improve discoverability, clarity, and maintainability of the documentation, making it easier for users to understand and utilize HugeGraph's AI capabilities.

Click to see more

Key Technical Changes

  1. Directory Restructuring: Documentation files have been moved into a more structured directory layout, creating subdirectories for 'client', 'computing', 'hugegraph', and 'toolchain'. This improves organization and allows for easier navigation.
  2. Introduction of _index.md files: Each new subdirectory includes an _index.md file, serving as an entry point and providing a high-level overview of the content within that section.
  3. HugeGraph-AI Documentation Enhancement: The hugegraph-ai documentation has been significantly expanded, providing more detailed instructions, examples, and explanations of key concepts such as Graph RAG and Text2Gremlin.
  4. Quick Start Guide Addition: A new quick_start.md file has been added to the hugegraph-ai section, offering a streamlined guide for users to quickly get started with the component.
  5. Dependency Updates: The documentation now reflects the updated dependencies, including Python 3.10+, HugeGraph-Server 1.3+, and uv 0.7+.
  6. Docker Deployment Instructions: Detailed instructions for Docker deployment have been added, including the use of pre-built images for RAG functionality.

Architecture Decisions

The architectural decisions primarily involve the organization of documentation content. The decision to create separate subdirectories for different components reflects a modular approach, making it easier to maintain and update documentation for specific areas without affecting others. The use of _index.md files follows a common pattern for documentation sites, providing a clear entry point for each section.

Dependencies and Interactions

This pull request primarily affects the documentation. However, the updated dependency information and Docker deployment instructions directly relate to the HugeGraph-AI component and its interaction with the core HugeGraph database. The documentation also references external resources such as the HugeGraph-AI repository README and the Litellm documentation, indicating a dependency on these external sources for up-to-date information.

Risk Considerations

  1. Broken Links: Moving documentation files could potentially break existing links to those files. It's important to ensure that all internal links are updated to reflect the new directory structure.
  2. Image Accessibility: The quick_start.md files use GitHub user attachment links for images, which may not be reliable long-term. These images should be migrated to a more stable hosting solution.
  3. Mermaid Diagram Rendering: The mermaid diagrams in the quick_start.md files may not render correctly on all documentation platforms. It's important to verify that these diagrams display properly on the target platform.
  4. Version Incompatibilities: While the documentation specifies version requirements, users may still encounter issues with version incompatibilities. A troubleshooting section addressing common version-related problems could be beneficial.

Notable Implementation Details

  1. The use of mermaid diagrams to visualize data flows and processes in the quick_start.md files.
  2. The inclusion of detailed Docker deployment instructions, including the use of pre-built images.
  3. The emphasis on using uv for environment setup, reflecting a shift towards more modern package management tools.
  4. The addition of a link to DeepWiki for AI-summarized project documentation, showcasing the integration of AI tools with the documentation process.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (20)
content/en/docs/guides/backup-restore.md (2)

29-29: 确认链接路径正确,但建议修正动词形式
链接已正确指向新的 /docs/quickstart/toolchain/hugegraph-tools 路径。但“backup”用作动词时应拆分为 “back up”。
使用以下 diff 进行修正:

- You can use [hugegraph-tools](/docs/quickstart/toolchain/hugegraph-tools) to backup and restore the graph.
+ You can use [hugegraph-tools](/docs/quickstart/toolchain/hugegraph-tools) to back up and restore the graph.
🧰 Tools
🪛 LanguageTool

[grammar] ~29-~29: The word “backup” is a noun. The verb is spelled with a space.
Context: ...uickstart/toolchain/hugegraph-tools) to backup and restore the graph. #### Backup ``...

(NOUN_VERB_CONFUSION)


76-76: 确认链接路径正确,但建议修正动词形式
帮助链接已正确更新。但同样“backup”作为动词时应拆分为 “back up”。
建议应用以下 diff:

- For detailed usage of backup and restore commands, please refer to the [hugegraph-tools documentation](/docs/quickstart/toolchain/hugegraph-tools).
+ For detailed usage of back up and restore commands, please refer to the [hugegraph-tools documentation](/docs/quickstart/toolchain/hugegraph-tools).
content/cn/docs/quickstart/hugegraph-ai/quick_start.md (5)

7-7: 精简致谢语
建议删除“欢迎随时更新和改进,谢谢”中的“谢谢”或调整为更正式的用语,以保持专业一致的文档风格。


9-20: 统一标题层级
当前一级标题(# 1. …)与二级/三级标题混用,建议将主要章节(1–5)使用二级标题(##),子模块使用三级标题(###),以保持文档结构清晰。


40-46: 统一输入字段列表格式
建议统一使用 - **项**:描述 格式,避免在列表中出现混合缩进或额外空格,以提高可读性。


48-57: 按钮命名样式一致性
各按钮名称建议统一加粗或使用“**按钮名称**”格式,保持列表条目风格统一。


63-71: 规范步骤编号格式
建议在“执行流程”中使用统一缩进和数字编号,每行前增加适当缩进,并保持与其他文档一致的风格。

content/en/docs/quickstart/hugegraph-ai/_index.md (2)

7-7: 移除多余波浪号
引用说明末尾出现 ~.,建议删除波浪号,以符合 Markdown 语法并提高可读性。


19-22: 优化有序列表缩进
在段落后直接使用数字列表时,请保持列表项与段落同级缩进,并使用一致格式,避免解析歧义。

content/cn/docs/quickstart/hugegraph-ai/_index.md (11)

7-10: 优化块引用语法与格式

  • 删除第 8 行无 > 的空行或在其前添加 >,避免块引用中出现空行。
  • “定期更新和同步” 建议改为 “定期地更新和同步” 以符合中文副词修饰习惯。
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


12-14: 审校概述段落表达
首句已清晰说明项目定位,第二句“众所周知,图系统可以帮助大模型解决时效性和幻觉等挑战,而大模型可以帮助图系统解决成本相关的问题。”表述略显冗长,可精简为“图系统可解决大模型的时效性与幻觉问题,大模型可降低图系统的成本”。


29-38: 精简 Docker 部署标题重复
“#### 3.1 Docker部署” 与下方 **Docker部署** 重复,建议移除粗体或将标题降级,避免重复。


52-56: 补充容器内运行上下文
第二部分直接执行 ./app.dist/app.bin,建议在命令前说明“切换到应用安装目录”,以免用户不清楚当前路径。


57-57: 将访问链接代码化或超链接化
http://localhost:8001 建议用 `http://localhost:8001`[http://localhost:8001](http://localhost:8001) 包裹,以符合 Markdown 规范。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

57-57: Bare URL used
null

(MD034, no-bare-urls)


59-67: 第 3.2 节第 1 步说明完善
“1. 启动HugeGraph数据库” 建议补充“在本地或 Docker 环境中运行”,并确保 docker run 命令的缩进与前后保持一致。


94-94: 步骤编号与格式统一
“6. 进入项目目录” 与其他步骤样式略有不同,建议统一列表缩进或将序号段落改为二级标题。


99-106: Graph RAG 演示示例整合
示例中首次运行与再次运行的命令重复,可合并为一个代码块,并在前面注明“在宿主机或容器中运行”。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

99-99: Bare URL used
null

(MD034, no-bare-urls)


108-110: 移除英文与 Emoji 标记
“(🚧ing)” 建议替换为中文 “(进行中)” 或删除,以保持文档语言环境一致。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

108-108: Bare URL used
null

(MD034, no-bare-urls)


119-119: Litellm 官方文档链接注释
[litellm.ai](https://docs.litellm.ai/docs/providers) 可注明为 “Litellm 官方提供商配置文档”,并建议锁定版本。


123-126: 规范强调语法
第 11 步中使用 __可选__ 建议替换为 **可选**,符合 Markdown 推荐的强强调写法。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

123-123: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


123-123: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7423970 and c6f690e.

📒 Files selected for processing (36)
  • content/cn/docs/changelog/hugegraph-0.2-release-notes.md (1 hunks)
  • content/cn/docs/clients/gremlin-console.md (1 hunks)
  • content/cn/docs/clients/hugegraph-client.md (1 hunks)
  • content/cn/docs/clients/restful-api/_index.md (1 hunks)
  • content/cn/docs/clients/restful-api/task.md (1 hunks)
  • content/cn/docs/guides/architectural.md (1 hunks)
  • content/cn/docs/guides/backup-restore.md (2 hunks)
  • content/cn/docs/introduction/README.md (1 hunks)
  • content/cn/docs/performance/hugegraph-loader-performance.md (1 hunks)
  • content/cn/docs/quickstart/client/_index.md (1 hunks)
  • content/cn/docs/quickstart/computing/hugegraph-computer.md (1 hunks)
  • content/cn/docs/quickstart/computing/hugegraph-vermeer.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph-ai/_index.md (4 hunks)
  • content/cn/docs/quickstart/hugegraph-ai/quick_start.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph/_index.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph/hugegraph-hstore.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph/hugegraph-pd.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph/hugegraph-server.md (3 hunks)
  • content/cn/docs/quickstart/toolchain/_index.md (1 hunks)
  • content/cn/docs/quickstart/toolchain/hugegraph-hubble.md (3 hunks)
  • content/cn/docs/quickstart/toolchain/hugegraph-loader.md (2 hunks)
  • content/cn/docs/quickstart/toolchain/hugegraph-tools.md (1 hunks)
  • content/en/docs/clients/gremlin-console.md (1 hunks)
  • content/en/docs/clients/hugegraph-client.md (1 hunks)
  • content/en/docs/clients/restful-api/_index.md (1 hunks)
  • content/en/docs/clients/restful-api/task.md (1 hunks)
  • content/en/docs/contribution-guidelines/hugegraph-server-idea-setup.md (2 hunks)
  • content/en/docs/guides/architectural.md (1 hunks)
  • content/en/docs/guides/backup-restore.md (2 hunks)
  • content/en/docs/introduction/README.md (1 hunks)
  • content/en/docs/quickstart/client/hugegraph-client.md (2 hunks)
  • content/en/docs/quickstart/hugegraph-ai/_index.md (5 hunks)
  • content/en/docs/quickstart/hugegraph-studio.md (1 hunks)
  • content/en/docs/quickstart/hugegraph/hugegraph-server.md (2 hunks)
  • content/en/docs/quickstart/toolchain/hugegraph-hubble.md (2 hunks)
  • content/en/docs/quickstart/toolchain/hugegraph-loader.md (2 hunks)
✅ Files skipped from review due to trivial changes (26)
  • content/cn/docs/quickstart/toolchain/hugegraph-tools.md
  • content/cn/docs/clients/restful-api/task.md
  • content/cn/docs/quickstart/toolchain/hugegraph-loader.md
  • content/en/docs/clients/hugegraph-client.md
  • content/cn/docs/quickstart/hugegraph/hugegraph-pd.md
  • content/en/docs/quickstart/toolchain/hugegraph-hubble.md
  • content/cn/docs/quickstart/computing/hugegraph-computer.md
  • content/cn/docs/changelog/hugegraph-0.2-release-notes.md
  • content/cn/docs/performance/hugegraph-loader-performance.md
  • content/cn/docs/quickstart/computing/hugegraph-vermeer.md
  • content/cn/docs/guides/backup-restore.md
  • content/en/docs/quickstart/hugegraph-studio.md
  • content/en/docs/clients/gremlin-console.md
  • content/en/docs/clients/restful-api/_index.md
  • content/en/docs/contribution-guidelines/hugegraph-server-idea-setup.md
  • content/cn/docs/clients/hugegraph-client.md
  • content/en/docs/quickstart/client/hugegraph-client.md
  • content/en/docs/quickstart/toolchain/hugegraph-loader.md
  • content/en/docs/quickstart/hugegraph/hugegraph-server.md
  • content/cn/docs/quickstart/hugegraph/hugegraph-server.md
  • content/cn/docs/quickstart/hugegraph/hugegraph-hstore.md
  • content/en/docs/guides/architectural.md
  • content/cn/docs/clients/gremlin-console.md
  • content/en/docs/clients/restful-api/task.md
  • content/cn/docs/quickstart/toolchain/hugegraph-hubble.md
  • content/en/docs/introduction/README.md
🚧 Files skipped from review as they are similar to previous changes (3)
  • content/cn/docs/quickstart/client/_index.md
  • content/cn/docs/quickstart/hugegraph/_index.md
  • content/cn/docs/quickstart/toolchain/_index.md
🧰 Additional context used
🪛 LanguageTool
content/en/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~66-~66: Possible missing preposition found.
Context: ...ost:8001 ### 3.2 Build from Source 1. Start the HugeGraph database, you can run it ...

(AI_HYDRA_LEO_MISSING_TO)


[uncategorized] ~91-~91: Possible missing preposition found.
Context: ...ify hugegraph-llm/pyproject.toml. 5. Start the gradio interactive demo of **Graph ...

(AI_HYDRA_LEO_MISSING_TO)

content/cn/docs/guides/architectural.md

[uncategorized] ~20-~20: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...uickstart/toolchain/hugegraph-hubble/): 一站式可视化分析平台,平台涵盖了从数据建模,到数据快速导入,再到数据的在线、离线分析...

(wa5)

content/cn/docs/introduction/README.md

[uncategorized] ~56-~56: 数词与名词之间一般应存在量词,可能缺少量词。
Context: ...Graph-Hubble 是 HugeGraph 的 Web 可视化管理平台,一站式可视化分析平台,平台涵盖了从数据建模,到数据快速导入,再到数据的在线、离线分析...

(wa5)

content/cn/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~114-~114: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:最新"地"更改
Context: ...存到配置文件中。你也可以直接修改文件而无需重启应用程序;只需刷新页面即可加载最新的更改。 (可选)要重新生成配置文件,您可以将 `config.gener...

(wb4)

content/cn/docs/quickstart/hugegraph-ai/quick_start.md

[uncategorized] ~59-~59: 您的意思是“"不"和”?
Context: ...图数据 (1):** 基于 Schema 从文档中提取图数据,使用图提取提示词头部和分块内容作为提示词 - 加载到图数据库 (2): 将提取的图数据存储到...

(BU)

content/en/docs/guides/backup-restore.md

[grammar] ~29-~29: The word “backup” is a noun. The verb is spelled with a space.
Context: ...uickstart/toolchain/hugegraph-tools) to backup and restore the graph. #### Backup ``...

(NOUN_VERB_CONFUSION)

🪛 markdownlint-cli2 (0.17.2)
content/en/docs/quickstart/hugegraph-ai/_index.md

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


38-38: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


39-39: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


40-40: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


42-42: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


44-44: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


49-49: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


54-54: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


62-62: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


62-62: Bare URL used
null

(MD034, no-bare-urls)


91-91: Bare URL used
null

(MD034, no-bare-urls)


107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


111-111: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


111-111: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)

content/cn/docs/quickstart/hugegraph-ai/_index.md

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


57-57: Bare URL used
null

(MD034, no-bare-urls)


99-99: Bare URL used
null

(MD034, no-bare-urls)


108-108: Bare URL used
null

(MD034, no-bare-urls)


123-123: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


123-123: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)

🔇 Additional comments (19)
content/cn/docs/clients/restful-api/_index.md (1)

10-10:

Details

❓ Verification inconclusive

检查Swagger UI链接路径
请确认目标路径 /cn/docs/quickstart/hugegraph/hugegraph-server#swaggerui-example 已经同步到对应的文件目录,并且导航中存在该页面。

可以运行以下脚本验证链接文件是否存在:


🏁 Script executed:

#!/bin/bash
# Verify the target markdown exists
rg -l "# Swagger UI" -g "content/cn/docs/quickstart/hugegraph/hugegraph-server.md"

Length of output: 82


检查 Swagger UI 链接路径

脚本未能在 content/cn/docs/quickstart/hugegraph/hugegraph-server.md 中找到对应的标题或锚点,请手动确认:

  • 文件是否存在于该路径
  • 文件内是否包含 # Swagger UIswaggerui-example 锚点
  • 如不存在,请添加对应标题/锚点或更新链接至正确位置

验证脚本示例:

rg -n "swaggerui-example" -g "content/cn/docs/quickstart/hugegraph/hugegraph-server.md"
content/cn/docs/introduction/README.md (1)

48-55:

Details

✅ Verification successful

确认Quickstart模块链接一致性
更新后的链接已指向新的 /cn/docs/quickstart/hugegraph/hugegraph-server/cn/docs/quickstart/client/hugegraph-client/cn/docs/quickstart/toolchain/hugegraph-loader/cn/docs/quickstart/toolchain/hugegraph-hubble 等目录,请确保与实际文件结构一致,且中英文版本均已同步。


🏁 Script executed:

#!/bin/bash
rg -l "_index.md" -g "content/cn/docs/quickstart/*"

Length of output: 51


请进一步验证 content/cn/docs/quickstart 目录下的实际文件列表,以确认链接目标是否存在并正确命名。执行:


🏁 Script executed:

#!/bin/bash
find content/cn/docs/quickstart -type f

Length of output: 969


请进一步验证英文版本 content/en/docs/quickstart 目录下的实际文件列表,以确认中英文链接均已同步。执行:


🏁 Script executed:

#!/bin/bash
find content/en/docs/quickstart -type f

Length of output: 969


Quickstart 模块链接一致校验通过
已在中英文文档中确认以下路径均存在且命名一致,无需修改:

  • /cn/docs/quickstart/hugegraph/hugegraph-servercontent/cn/docs/quickstart/hugegraph/hugegraph-server.md
    对应英文:content/en/docs/quickstart/hugegraph/hugegraph-server.md
  • /cn/docs/quickstart/client/hugegraph-clientcontent/cn/docs/quickstart/client/hugegraph-client.md
    对应英文:content/en/docs/quickstart/client/hugegraph-client.md
  • /cn/docs/quickstart/toolchain/hugegraph-loadercontent/cn/docs/quickstart/toolchain/hugegraph-loader.md
    对应英文:content/en/docs/quickstart/toolchain/hugegraph-loader.md
  • /cn/docs/quickstart/toolchain/hugegraph-hubblecontent/cn/docs/quickstart/toolchain/hugegraph-hubble.md
    对应英文:content/en/docs/quickstart/toolchain/hugegraph-hubble.md
content/cn/docs/quickstart/hugegraph-ai/quick_start.md (2)

1-5: 校验文档元数据完整性
前置元数据已包含 titlelinkTitleweight,保证文档在导航中的正确排序和展示。


26-38: 校对 Mermaid 图表语法与标注
请确保流程图内节点标识与章节描述一致,并在流程文字中增加必要换行或注释,以提高可读性和渲染效果。

如需验证 Mermaid 渲染,可在本地使用 VSCode 插件或在线编辑器预览。

content/en/docs/quickstart/hugegraph-ai/_index.md (5)

2-2: 确认前置元数据更改
标题已更新为 “Explore with HugeGraph-AI”,请检查导航侧边栏是否已同步更新该标题。


9-9: 检查 DeepWiki 徽章链接有效性
请验证外部徽章链接是否正常渲染并可访问,确保读者可点击跳转。

可以使用 curl -I https://deepwiki.com/badge.svg 检查 HTTP 响应状态。


28-30: 验证环境依赖版本描述
python 3.10+ (not tested in 3.12)hugegraph-server 1.3+ (better to use 1.5+)uv 0.7+ 描述清晰合理,符合项目要求。


40-44: Docker 部署说明审核通过
镜像名称与操作命令清晰,拉取与运行步骤完整,符合最佳实践。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

40-40: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


42-42: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


44-44: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


108-108: 验证工具链链接路径
请检查该链接 /docs/quickstart/toolchain/hugegraph-hubble/#21-use-docker-convenient-for-testdev 是否在英文文档中可用,并指向正确锚点。

content/cn/docs/quickstart/hugegraph-ai/_index.md (10)

2-4: 检查导航元数据一致性
请与英文版文档保持 titlelinkTitleweight 顺序一致,确保侧边栏展示逻辑正确。

建议运行脚本验证所有 quickstart 页面 weight 属性是否唯一且有序。


16-19: 确认用例列表格式
列表项使用数字序号正确,格式规范,无需修改。


22-25: 环境要求区块一致性
> [!IMPORTANT] 下的各项前均已添加 >,样式一致,可保留。


41-43: 拉取镜像命令示例正确
docker pull 示例符合最佳实践,无需调整。


46-48: 检查端口映射冲突
示例中两个容器均映射至主机 8001:8001,启动时会冲突。请说明需分开运行或使用不同端口。


68-72: UV 安装方式说明
已给出 curl | sh 示例,建议再列出 pip install uv 备选方案,并说明版本锁定方式。


74-84: 克隆与虚拟环境路径校验

  • 建议 git clone 时加 --depth 1 提升效率。
  • 确认 cd incubator-hugegraph-ai/hugegraph-llm 路径与实际仓库结构一致。

87-87: 验证文档链接路径有效性
[hugegraph-python-client](../hugegraph-python-client)[hugegraph_llm](src/hugegraph_llm) 相对路径可能无法在网站中解析,建议改为指向 GitHub 或站点文档页面的绝对链接。


113-118: 配置文件生成说明完善
自动生成与更新命令已涵盖,建议在每个代码块开头标注 bash,并重申默认输出路径。

🧰 Tools
🪛 LanguageTool

[uncategorized] ~114-~114: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:最新"地"更改
Context: ...存到配置文件中。你也可以直接修改文件而无需重启应用程序;只需刷新页面即可加载最新的更改。 (可选)要重新生成配置文件,您可以将 `config.gener...

(wb4)


121-121: Hubble 仪表板链接检查
请验证 /cn/docs/quickstart/toolchain/hugegraph-hubble/#21-use-docker-convenient-for-testdev 在站点中是否存在对应锚点及页面。

@imbajin
Copy link

imbajin commented Jun 12, 2025

@codecov-ai-reviewer review

@codecov-ai
Copy link

codecov-ai bot commented Jun 12, 2025

On it! We are reviewing the PR and will provide feedback shortly.

@codecov-ai
Copy link

codecov-ai bot commented Jun 12, 2025

PR Description

This pull request reorganizes the HugeGraph documentation, specifically the quick start guides, into a more logical and maintainable structure. The primary goal is to improve discoverability and navigation for new users by grouping related components together.

Click to see more

Key Technical Changes

The key technical change is the restructuring of the file system to categorize quick start guides into hugegraph/, client/, computing/, and toolchain/. This involves renaming and moving files, as well as updating all internal links to reflect the new locations. The language-specific prefixes in the links have also been standardized. Additionally, the HugeGraph-AI documentation has been updated with new Docker deployment instructions and a more detailed structure.

Architecture Decisions

The main architectural decision is to group the quick start guides based on the type of component they describe. This promotes a clearer understanding of the HugeGraph ecosystem and simplifies future maintenance and additions. The new structure also aligns better with the overall project architecture.

Dependencies and Interactions

This change primarily affects internal documentation links. It depends on the Hugo static site generator to correctly resolve the updated links. There are no direct dependencies on other parts of the HugeGraph system, but the documentation serves as a crucial entry point for users interacting with those systems.

Risk Considerations

The primary risk is broken links if the migration is not performed correctly. To mitigate this, thorough testing of all internal links is essential after the changes are deployed. Additionally, any external links pointing to the old documentation structure will need to be updated.

Notable Implementation Details

The implementation involved a large number of file renames and moves, as well as link updates across multiple files. Special attention was given to ensuring that the language-specific prefixes (/cn/docs/ and /docs/) were correctly applied in all links. The HugeGraph-AI documentation was significantly updated to provide more detailed instructions and examples.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

♻️ Duplicate comments (3)
content/cn/docs/quickstart/hugegraph-ai/_index.md (1)

29-38: 完善镜像版本兼容性说明
当前仅提到“最新”镜像标签,未说明与 hugegraph-server 的对应版本关系。建议在镜像列表中注明推荐标签与服务端版本的兼容性。

content/en/docs/quickstart/hugegraph-ai/_index.md (2)

26-31: 补充系统资源要求

环境要求节已列出 Python、HugeGraph 版本及 uv 版本,但未说明最小 RAM/CPU。与先前评论一致,建议补充系统资源信息:

## 2. Environment Requirements
> [!IMPORTANT]
> - python 3.10+ (not tested in 3.12)
> - hugegraph-server 1.3+ (better to use 1.5+)
> - uv 0.7+
> - Minimum 4GB RAM recommended
> - 2+ CPU cores for optimal performance

46-53: 补充持久化数据卷挂载

当前 Docker run 命令仅挂载 .env,建议同时挂载数据目录以保证持久化:

- docker run -it --name rag -v path2project/hugegraph-llm/.env:/home/work/hugegraph-llm/.env -p 8001:8001 hugegraph/rag bash
+ docker run -it --name rag \
+   -v $(pwd)/hugegraph-llm/.env:/home/work/hugegraph-llm/.env \
+   -v $(pwd)/data:/home/work/hugegraph-llm/data \
+   -p 8001:8001 hugegraph/rag bash
🧹 Nitpick comments (6)
content/cn/docs/quickstart/hugegraph-ai/_index.md (2)

7-9: 移除 blockquote 行尾多余波浪号
第7行末尾的 同步~。 多余波浪号会影响渲染,请删除。


41-47: 增强 Docker 命令示例通用性

  1. 建议使用 $(pwd) 或环境变量替代占位符 path2project,避免路径错误。
  2. 可补充端口冲突或内存不足等常见问题的处理方法提示。
content/en/docs/quickstart/hugegraph-ai/_index.md (4)

66-71: 修正英文表述:添加缺失介词

原文“Start the HugeGraph database, you can run it via Docker:”缺少介词,建议:

- 1. Start the HugeGraph database, you can run it via Docker:
+ 1. To start the HugeGraph database, you can run it via Docker:
🧰 Tools
🪛 LanguageTool

[uncategorized] ~66-~66: Possible missing preposition found.
Context: ...ost:8001 ### 3.2 Build from Source 1. Start the HugeGraph database, you can run it ...

(AI_HYDRA_LEO_MISSING_TO)


75-76: 修正英文表述:调整时态

原文“You could try pipx or pip to install uv when meet network issues”应改为:

- You could try pipx or pip to install uv when meet network issues
+ You could try pipx or pip to install uv when encountering network issues

106-106: 修正英文表述:动词形式

“Litellm support multi-LLM provider”应为“Litellm supports”以匹配第三人称单数:

- Note: `Litellm` support multi-LLM provider
+ Note: `Litellm` supports multi-LLM providers

162-162: UML 图片 alt 文本优化

建议将 alt 文本与图片含义对应,调整为:

- ![gradio-config](…)
+ ![kg-uml](…)
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c6f690e and 33c9a53.

📒 Files selected for processing (13)
  • content/cn/docs/quickstart/hugegraph-ai/_index.md (4 hunks)
  • content/en/docs/quickstart/client/_index.md (1 hunks)
  • content/en/docs/quickstart/client/hugegraph-client.md (2 hunks)
  • content/en/docs/quickstart/computing/hugegraph-computer.md (1 hunks)
  • content/en/docs/quickstart/computing/hugegraph-vermeer.md (1 hunks)
  • content/en/docs/quickstart/hugegraph-ai/_index.md (5 hunks)
  • content/en/docs/quickstart/hugegraph/_index.md (1 hunks)
  • content/en/docs/quickstart/hugegraph/hugegraph-hstore.md (1 hunks)
  • content/en/docs/quickstart/hugegraph/hugegraph-pd.md (1 hunks)
  • content/en/docs/quickstart/hugegraph/hugegraph-server.md (3 hunks)
  • content/en/docs/quickstart/toolchain/_index.md (1 hunks)
  • content/en/docs/quickstart/toolchain/hugegraph-hubble.md (3 hunks)
  • content/en/docs/quickstart/toolchain/hugegraph-tools.md (1 hunks)
✅ Files skipped from review due to trivial changes (5)
  • content/en/docs/quickstart/toolchain/hugegraph-tools.md
  • content/en/docs/quickstart/computing/hugegraph-computer.md
  • content/en/docs/quickstart/hugegraph/hugegraph-hstore.md
  • content/en/docs/quickstart/computing/hugegraph-vermeer.md
  • content/en/docs/quickstart/hugegraph/hugegraph-pd.md
🚧 Files skipped from review as they are similar to previous changes (5)
  • content/en/docs/quickstart/client/_index.md
  • content/en/docs/quickstart/toolchain/_index.md
  • content/en/docs/quickstart/toolchain/hugegraph-hubble.md
  • content/en/docs/quickstart/client/hugegraph-client.md
  • content/en/docs/quickstart/hugegraph/hugegraph-server.md
🧰 Additional context used
🪛 LanguageTool
content/en/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~66-~66: Possible missing preposition found.
Context: ...ost:8001 ### 3.2 Build from Source 1. Start the HugeGraph database, you can run it ...

(AI_HYDRA_LEO_MISSING_TO)


[uncategorized] ~91-~91: Possible missing preposition found.
Context: ...ify hugegraph-llm/pyproject.toml. 5. Start the gradio interactive demo of **Graph ...

(AI_HYDRA_LEO_MISSING_TO)

content/cn/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~114-~114: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:最新"地"更改
Context: ...存到配置文件中。你也可以直接修改文件而无需重启应用程序;只需刷新页面即可加载最新的更改。 (可选)要重新生成配置文件,您可以将 `config.gener...

(wb4)

🔇 Additional comments (30)
content/en/docs/quickstart/hugegraph/_index.md (1)

1-5: Front matter 配置正确
已为该文档添加 titlelinkTitleweight,与其他 Quickstart 节点保持一致。

content/cn/docs/quickstart/hugegraph-ai/_index.md (16)

2-4: 验证 frontmatter 与英文版本一致
请确认 title, linkTitle, weight 与英文文档保持同步,且 weight: 2 在导航中可正确排序。


12-19: 概述部分表述清晰
段落结构和要点描述恰当,序号列表可考虑在数字后统一加句号或全角符号以保持一致性。


23-25: 环境要求说明合理
已明确列出 Python、HugeGraph Server 及 uv 版本,覆盖了核心依赖。


52-55: Docker RAG 演示命令正确
针对两种镜像的启动命令描述精准,可正常启动 Graph RAG 演示。


59-66: 源码构建流程清晰
“#### 3.2 从源码构建” 标题与后续步骤无误,整体结构条理清晰。


68-72: UV 安装示例完善
提供了官方脚本及 pipx/pip 替代方案,能够兼容网络受限或环境无 curl 的情况。


74-74: 克隆项目步骤准确
git clone https://github.com/apache/incubator-hugegraph-ai.git 无误。


79-85: 依赖环境配置合理
使用 uv venv 创建虚拟环境并安装可编辑包,且对网络问题提供了修改 pyproject.toml 的建议。


87-92: 安装客户端示例可用
本地安装 hugegraph-python-clienthugegraph_llm 的命令与项目结构一致。


96-96: 项目目录切换命令正确
cd ./hugegraph-llm/src 与上下文一致。


101-106: Graph RAG 演示运行命令一致
python -m hugegraph_llm.demo.rag_demo.app 及其 --host/--port 参数说明清晰,可灵活调整。


110-110: Text2Gremlin 演示命令准确
python3 -m hugegraph_llm.demo.gremlin_generate_web_demo 对应脚本位置明确。


115-118: 配置文件重新生成命令明确
提供了 python -m hugegraph_llm.config.generate --update 使用示例,便于在无需重启的情况下刷新配置。


119-119: 多提供商支持说明完整
已注明 Litellm 支持多 LLM 提供商并提供了官方链接。


121-121: Hubble 仪表板说明充分
可选使用 hugegraph-hubble 仪表板并提供了链接和运行方式指导。


123-123: 离线下载 NLTK 停用词步骤正确
下载脚本路径 python ./hugegraph_llm/operators/common_op/nltk_helper.py 无误。

content/en/docs/quickstart/hugegraph-ai/_index.md (13)

2-5: 前言信息校验通过

标题(title)、链接标题(linkTitle)和权重(weight)配置符合文档规范,前置信息无其他异常。


9-9: 引用提示文本检查

“AI summarizes the project documentation:” 调用 DeepWiki 徽章展示清晰,可通过。


11-17: 概述章节表述校验

“## 1. Summary” 及其后段落逻辑清晰,表达准确,无需修改。


19-25: 用例列表格式确认

3 个用例列表符合 Markdown 规范且表述完整,可通过。


32-37: 准备章节结构无误

“## 3. Preparation” 及其子节 Docker 标题层级合理,内容组织得当。


56-61: Graph RAG Demo 启动命令确认

示例命令覆盖两种镜像情形,指令、注释无误,可通过。


81-87: 克隆与虚拟环境配置检查

代码示例命令完整,步骤清晰,符合构建流程。


104-104: 配置生成命令无误

python -m hugegraph_llm.config.generate --update 示例清晰,可通过。


110-110: HugeGraph-Hubble 可选项链接校验

链接地址和描述准确,示例无需修改。


115-116: 提示块格式确认

TIP 块使用正确,内容指向 quick_start.md,可通过。


137-137: 示例图片展示

![gradio-config](…) 用于直观示例,alt 文本可读性良好。


152-152: 代码示例函数名更新

get_chat_llm() 已替换 get_llm(),示例同步到最新版本,正确。


216-216: 参数名称更新正确

max_graph_items 与示例一致,参数改动在示例中已正确反映。

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (5)
content/en/docs/quickstart/hugegraph-ai/_index.md (5)

7-10: 优化 Blockquote 语法及表达

  • 删除 Blockquote 内部多余空行以满足 MD028 规范。
  • 建议将 “and the official website regularly is updated and synchronized” 改为 “and please note that the official website is regularly updated and synchronized.”
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


38-53: 修复列表缩进不一致

当前 Docker 部署步骤中多处无序列表缩进偏移不一致,需统一顶级列表(- 与行首对齐)及子列表(缩进两个空格)格式,例如:

-   - Ensure you have Docker installed
+ - Ensure you have Docker installed
+ - We provide two container images:
+   - **Image 1**: [hugegraph/rag]...
+   - **Image 2**: [hugegraph/rag-bin]...
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

38-38: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


39-39: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


40-40: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


42-42: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


44-44: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


49-49: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


66-77: 优化语法:添加缺失介词

修正 “1. Start the HugeGraph database, you can run it via …” 为更通顺的表达,如:

- 1. Start the HugeGraph database, you can run it via Docker:
+ 1. To start the HugeGraph database, run it via Docker:
🧰 Tools
🪛 LanguageTool

[uncategorized] ~66-~66: Possible missing preposition found.
Context: ...ost:8001 ### 3.2 Build from Source 1. Start the HugeGraph database, you can run it ...

(AI_HYDRA_LEO_MISSING_TO)


91-94: 替换裸 URL 为链接

避免 MarkdownLint MD034 报错,将裸 URL 替换为链接格式,例如:

- then open http://127.0.0.1:8001 in your browser.
+ then open [http://127.0.0.1:8001](http://127.0.0.1:8001) in your browser.
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

91-91: Bare URL used
null

(MD034, no-bare-urls)


107-111: 统一强制样式:使用星号替换下划线

“(Optional)” 中的下划线应改为星号以满足 MD050 规范,例如:

- (__Optional__) You could use 
+ (**Optional**) You could use 
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


111-111: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


111-111: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 33c9a53 and 1a2c622.

📒 Files selected for processing (1)
  • content/en/docs/quickstart/hugegraph-ai/_index.md (5 hunks)
🧰 Additional context used
🪛 LanguageTool
content/en/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~66-~66: Possible missing preposition found.
Context: ...ost:8001 ### 3.2 Build from Source 1. Start the HugeGraph database, you can run it ...

(AI_HYDRA_LEO_MISSING_TO)

🪛 markdownlint-cli2 (0.17.2)
content/en/docs/quickstart/hugegraph-ai/_index.md

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


38-38: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


39-39: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


40-40: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


42-42: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


44-44: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


49-49: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


54-54: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


62-62: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


62-62: Bare URL used
null

(MD034, no-bare-urls)


91-91: Bare URL used
null

(MD034, no-bare-urls)


107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


111-111: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


111-111: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)

🔇 Additional comments (2)
content/en/docs/quickstart/hugegraph-ai/_index.md (2)

2-4: 确保导航权重一致及多语言文件同步

PR 中新增了 weight: 2 用于侧边栏排序,请确认 English 与 Chinese 版导航中的权重设置保持一致,且在所有相关章节中没有冲突。


214-217: 确认方法签名:query_graphdb 参数名

示例中使用 max_graph_items=30,请核对代码实现是否已更新该参数名(原来为 max_items),确保文档与实际方法签名一致。

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🔭 Outside diff range comments (1)
content/cn/docs/quickstart/hugegraph-ai/_index.md (1)

155-155: ⚠️ Potential issue

更新示例代码接口

示例中仍在使用 LLMs().get_llm(),请同步为最新的 get_chat_llm() 接口:

-builder = KgBuilder(LLMs().get_llm())
+builder = KgBuilder(LLMs().get_chat_llm())
♻️ Duplicate comments (1)
content/en/docs/quickstart/hugegraph-ai/quick_start.md (1)

26-31: 补充系统资源需求

环境要求部分缺少最低系统资源说明(如内存、CPU 核心数),之前已有相同建议,请在此处添加,如:

> - Minimum 4 GB RAM (recommended)  
> - At least 2 CPU cores  
🧹 Nitpick comments (20)
content/en/docs/quickstart/hugegraph/_index.md (1)

1-5: 建议添加 description 字段
为了提升页面的可发现性和一致性,建议在 frontmatter 中补充 description 字段,对本页内容做简要说明,例如:

description: "HugeGraph OLTP 快速入门指南,涵盖服务器部署、配置与使用示例。"
content/en/docs/quickstart/computing/hugegraph-computer.md (5)

9-9: 改善英语表达与格式
建议在 “Kubernetes(K8s)” 与括号之间添加空格,并将 “one of the biggest differences” 改为更简洁的 “a key distinction”,示例如下:

-The [`HugeGraph-Computer`](https://github.com/apache/incubator-hugegraph-computer) is a distributed graph processing system for HugeGraph (OLAP). It is an implementation of [Pregel](https://kowshik.github.io/JPregel/pregel_paper.pdf). It runs on a Kubernetes(K8s) framework.(It focuses on supporting graph data volumes of hundreds of billions to trillions, using disk for sorting and acceleration, which is one of the biggest differences from Vermeer)
+The [`HugeGraph-Computer`](https://github.com/apache/incubator-hugegraph-computer) is a distributed graph processing system for HugeGraph (OLAP). It is an implementation of [Pregel](https://kowshik.github.io/JPregel/pregel_paper.pdf). It runs on a Kubernetes (K8s) framework. It is a key distinction that it focuses on supporting graph data volumes of hundreds of billions to trillions by using disk-based sorting and acceleration, unlike Vermeer.
🧰 Tools
🪛 LanguageTool

[style] ~9-~9: The word ‘biggest’ tends to be overused. Consider an alternative.
Context: ...g and acceleration, which is one of the biggest differences from Vermeer) ### Features - Support ...

(BIG_DIFFERENCE)


14-14: 修正多余介词
将 “just like as in a single server” 改为 “just like in a single server”,去掉冗余的 “as”:

-You just need to focus on vertex-only processing just like as in a single server, without worrying about message transfer and memory/storage management.
+You just need to focus on vertex-only processing just like in a single server, without worrying about message transfer and memory/storage management.

85-85: 优化参考链接描述
将 “More reference:” 改为 “For more information, see:” 更符合常见文档用语:

-If the OLAP index is not enabled, it needs to be enabled. More reference: [modify-graphs-read-mode]
+If the OLAP index is not enabled, it needs to be enabled. For more information, see: [modify-graphs-read-mode]

203-203: 修改标题词汇
“Built-In algorithms document” 建议改为 “Built-In Algorithms” 或 “Built-In Algorithms Documentation” 以提升可读性:

-## 4. Built-In algorithms document
+## 4. Built-In Algorithms

205-228: 调整算法列表标题层级与项目符号

  • ###### Centrality Algorithm: 等深度过高的六级标题改为四级 ####
  • 统一将 * 项目符号替换为 -,与文档其他部分保持一致。
-###### Centrality Algorithm:
+#### Centrality Algorithm:
-* PageRank
-* BetweennessCentrality
-* ClosenessCentrality
-* DegreeCentrality
+ - PageRank
+ - BetweennessCentrality
+ - ClosenessCentrality
+ - DegreeCentrality

-###### Community Algorithm:
+#### Community Algorithm:
-* ClusteringCoefficient
-* Kcore
-* Lpa
-* TriangleCount
-* Wcc
+ - ClusteringCoefficient
+ - Kcore
+ - Lpa
+ - TriangleCount
+ - Wcc

-###### Path Algorithm:
+#### Path Algorithm:
-* RingsDetection
-* RingsDetectionWithFilter
+ - RingsDetection
+ - RingsDetectionWithFilter
🧰 Tools
🪛 LanguageTool

[typographical] ~227-~227: Consider adding a comma here.
Context: ...ingsDetectionWithFilter More algorithms please see: [Built-In algorithms](https://gith...

(PLEASE_COMMA)

content/cn/docs/quickstart/computing/hugegraph-computer.md (5)

9-9: 改进格式与措辞
建议在 “Kubernetes(K8s)/Yarn” 与括号之间添加空格,并将 “相对最大的区别之一” 替换为更准确的 “最显著的差异之一”:

-[`HugeGraph-Computer`](https://github.com/apache/incubator-hugegraph-computer) 是分布式图处理系统 (OLAP). 它是 Pregel 的一个实现. 它可以运行在 Kubernetes(K8s)/Yarn 上。(它侧重可支持百亿~千亿的图数据量进行图计算, 会使用磁盘进行排序和加速, 这是它和 Vermeer 相对最大的区别之一)
+[`HugeGraph-Computer`](https://github.com/apache/incubator-hugegraph-computer) 是分布式图处理系统 (OLAP)。它是 Pregel 的一个实现。它可以运行在 Kubernetes (K8s)/Yarn 上。(它侧重可支持百亿~千亿的图数据量进行图计算,会使用磁盘进行排序和加速,这是它和 Vermeer 最显著的差异之一)

85-85: 优化引用格式
将 “更多参考:modify-graphs-read-mode” 前添加 “详情请参阅”,并统一使用中文冒号:

-如果没有启用 OLAP 索引,则需要启用,更多参考:[modify-graphs-read-mode]
+如果没有启用 OLAP 索引,则需要启用。详情请参阅:[modify-graphs-read-mode]

140-140: 术语本地化建议
“computer crd spec” 建议翻译为 “Computer CRD 规范” 以与中文文档风格保持一致:

-> 更多 computer crd spec 请看:
+> 更多 Computer CRD 规范,请参阅:

142-142: 术语本地化建议
“Computer 配置请看” 建议改为 “Computer 配置,请参阅” 以提升阅读体验:

-> 更多 Computer 配置请看:
+> 更多 Computer 配置,请参阅:

209-212: 统一项目符号样式
将算法列表中的 * 改为 -,与文档其他部分的项目符号保持一致:

-* PageRank
-* BetweennessCentrality
-* ClosenessCentrality
-* DegreeCentrality
+ - PageRank
+ - BetweennessCentrality
+ - ClosenessCentrality
+ - DegreeCentrality

-* ClusteringCoefficient
-* Kcore
-* Lpa
-* TriangleCount
-* Wcc
+ - ClusteringCoefficient
+ - Kcore
+ - Lpa
+ - TriangleCount
+ - Wcc

-* RingsDetection
-* RingsDetectionWithFilter
+ - RingsDetection
+ - RingsDetectionWithFilter

Also applies to: 216-220, 224-225

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

209-209: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


210-210: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


211-211: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


212-212: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)

content/en/docs/quickstart/hugegraph-ai/_index.md (1)

7-7: 建议优化提示语法

当前句子“The official website regularly is updated…”语序略显不自然,建议改为:

> Please refer to the AI repository [README]() for the most up-to-date documentation, and note that the official website is regularly updated and synchronized.
content/en/docs/quickstart/hugegraph-ai/quick_start.md (3)

7-7: 优化引用主文档的表达

建议将句子“Follow up [main doc] to introduce…”改为更自然的表述,例如:

> Refer to the [main documentation](../) for basic UI functions and details. Contributions are welcome at any time.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~7-~7: The grammatical number of this noun doesn’t look right. Consider replacing it.
Context: ...ain doc](../) to introduce the basic UI function & details, welcome to update and improv...

(AI_EN_LECTOR_REPLACEMENT_NOUN_NUMBER)


66-66: 调整句子前置词

当前“Start the HugeGraph database, you can run it via Docker”语义有些伸展,建议分成两句:

1. Start the HugeGraph database. You can run it via Docker:  
   ```bash
   docker run -itd --name=server -p 8080:8080 hugegraph/hugegraph

---

`134-135`: **统一术语表达**

建议将“Graph extract head”改为“Graph extraction header”以保持专业术语一致性:  
```diff
- Graph extract head: The user-defined prompt of graph extracting  
+ Graph extraction header: The user-defined prompt for graph extraction  
🧰 Tools
🪛 LanguageTool

[uncategorized] ~134-~134: Possible missing comma found.
Context: ...nterface, using the matched vertices as entities to convert the question into a Grem...

(AI_HYDRA_LEO_MISSING_COMMA)

content/cn/docs/quickstart/hugegraph-ai/quick_start.md (1)

7-7: 优化提示语句

建议将“请参考主文档了解基本 UI 功能及详细信息,欢迎随时更新和改进,谢谢”拆分或重组为更简洁的两句,例如:

> 请参考[主文档](../)获取基本 UI 功能与详细信息。  
> 欢迎随时提出更新与改进!
content/cn/docs/quickstart/hugegraph-ai/_index.md (4)

7-7: 删除多余符号并优化语句

末尾多余的波浪线 ~ 需要移除,建议改为:

> 请参考 AI 仓库的 [README]() 获取最新文档,官网会**定期**更新和同步。

11-11: 统一编号格式

建议在“1 HugeGraph-AI 概述”后添加句点,保持与其他章节一致:

### 1. HugeGraph-AI 概述

68-72: 提供 uv 安装替代方案

curl 安装脚本可能在部分环境不可用,建议补充 pipx/pip install uv 的可选命令:

# 若无法使用 curl,可尝试
pip install uv
#
pipx install uv

146-146: 调整示例标题层级

“##### 4.1.2 通过 LLM 在 HugeGraph 中构建知识图谱”使用了 5 级标题,建议改为 4 级 #### 以匹配前文:

#### 4.1.2 通过 LLM 在 HugeGraph 中构建知识图谱
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1a2c622 and 29aa986.

📒 Files selected for processing (21)
  • content/cn/docs/quickstart/client/_index.md (1 hunks)
  • content/cn/docs/quickstart/computing/_index.md (1 hunks)
  • content/cn/docs/quickstart/computing/hugegraph-computer.md (7 hunks)
  • content/cn/docs/quickstart/computing/hugegraph-vermeer.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph-ai/_index.md (4 hunks)
  • content/cn/docs/quickstart/hugegraph-ai/quick_start.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph/_index.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph/hugegraph-hstore.md (2 hunks)
  • content/cn/docs/quickstart/hugegraph/hugegraph-server.md (3 hunks)
  • content/cn/docs/quickstart/toolchain/_index.md (1 hunks)
  • content/cn/docs/quickstart/toolchain/hugegraph-loader.md (3 hunks)
  • content/en/docs/quickstart/client/_index.md (1 hunks)
  • content/en/docs/quickstart/computing/_index.md (1 hunks)
  • content/en/docs/quickstart/computing/hugegraph-computer.md (6 hunks)
  • content/en/docs/quickstart/computing/hugegraph-vermeer.md (1 hunks)
  • content/en/docs/quickstart/hugegraph-ai/_index.md (5 hunks)
  • content/en/docs/quickstart/hugegraph-ai/quick_start.md (1 hunks)
  • content/en/docs/quickstart/hugegraph/_index.md (1 hunks)
  • content/en/docs/quickstart/hugegraph/hugegraph-hstore.md (1 hunks)
  • content/en/docs/quickstart/hugegraph/hugegraph-server.md (12 hunks)
  • content/en/docs/quickstart/toolchain/_index.md (1 hunks)
✅ Files skipped from review due to trivial changes (3)
  • content/cn/docs/quickstart/computing/_index.md
  • content/en/docs/quickstart/hugegraph/hugegraph-server.md
  • content/cn/docs/quickstart/computing/hugegraph-vermeer.md
🚧 Files skipped from review as they are similar to previous changes (11)
  • content/en/docs/quickstart/hugegraph/hugegraph-hstore.md
  • content/cn/docs/quickstart/toolchain/_index.md
  • content/en/docs/quickstart/client/_index.md
  • content/cn/docs/quickstart/hugegraph/_index.md
  • content/en/docs/quickstart/computing/hugegraph-vermeer.md
  • content/cn/docs/quickstart/client/_index.md
  • content/en/docs/quickstart/toolchain/_index.md
  • content/en/docs/quickstart/computing/_index.md
  • content/cn/docs/quickstart/toolchain/hugegraph-loader.md
  • content/cn/docs/quickstart/hugegraph/hugegraph-hstore.md
  • content/cn/docs/quickstart/hugegraph/hugegraph-server.md
🧰 Additional context used
🪛 LanguageTool
content/cn/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~114-~114: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:最新"地"更改
Context: ...存到配置文件中。你也可以直接修改文件而无需重启应用程序;只需刷新页面即可加载最新的更改。 (可选)要重新生成配置文件,您可以将 `config.gener...

(wb4)

content/en/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~66-~66: Possible missing preposition found.
Context: ...ost:8001 ### 3.2 Build from Source 1. Start the HugeGraph database, you can run it ...

(AI_HYDRA_LEO_MISSING_TO)

content/cn/docs/quickstart/hugegraph-ai/quick_start.md

[uncategorized] ~59-~59: 您的意思是“"不"和”?
Context: ...图数据 (1):** 基于 Schema 从文档中提取图数据,使用图提取提示词头部和分块内容作为提示词 - 加载到图数据库 (2): 将提取的图数据存储到...

(BU)

content/en/docs/quickstart/computing/hugegraph-computer.md

[style] ~9-~9: The word ‘biggest’ tends to be overused. Consider an alternative.
Context: ...g and acceleration, which is one of the biggest differences from Vermeer) ### Features - Support ...

(BIG_DIFFERENCE)

content/en/docs/quickstart/hugegraph-ai/quick_start.md

[uncategorized] ~7-~7: The grammatical number of this noun doesn’t look right. Consider replacing it.
Context: ...ain doc](../) to introduce the basic UI function & details, welcome to update and improv...

(AI_EN_LECTOR_REPLACEMENT_NOUN_NUMBER)


[style] ~22-~22: ‘vid’ is informal. Consider replacing it.
Context: ...nowledge graph, chunk vector, and graph vid vector from the text. ![image](https:/...

(VID)


[style] ~57-~57: ‘Vid’ is informal. Consider replacing it.
Context: ...** Clear chunk vector - Clear Graph Vid Vector Index: Clear graph vid vector ...

(VID)


[style] ~57-~57: ‘vid’ is informal. Consider replacing it.
Context: ...r Graph Vid Vector Index**: Clear graph vid vector - Clear Graph Data: Clear ...

(VID)


[style] ~61-~61: ‘Vid’ is informal. Consider replacing it.
Context: ...he database (automatically calls Update Vid Embedding to store vectors in the vecto...

(VID)


[style] ~62-~62: ‘Vid’ is informal. Consider replacing it.
Context: ...tors in the vector database) - Update Vid Embedding: Convert graph vid into vec...

(VID)


[style] ~62-~62: ‘vid’ is informal. Consider replacing it.
Context: ...Update Vid Embedding: Convert graph vid into vectors ### Execution Flow: 1. I...

(VID)


[style] ~70-~70: ‘Vid’ is informal. Consider replacing it.
Context: ...base (this automatically calls Update Vid Embedding to store the vectors in the...

(VID)


[style] ~71-~71: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...the vectors in the vector database). 6. Click the Update Vid Embedding bu...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~71-~71: ‘Vid’ is informal. Consider replacing it.
Context: ...or database). 6. Click the Update Vid Embedding button to vectorize the...

(VID)


[style] ~75-~75: ‘Vid’ is informal. Consider replacing it.
Context: ...(chunks) into vectors, and the Update Vid Embedding button converts graph vid i...

(VID)


[style] ~75-~75: ‘vid’ is informal. Consider replacing it.
Context: ...e Vid Embedding** button converts graph vid into vectors. These vectors are stored ...

(VID)


[duplication] ~105-~105: Possible typo: you repeated a word.
Context: ...nput Fields: - Question: Input the query - Query Prompt: The prompt template used ...

(ENGLISH_WORD_REPEAT_RULE)


[style] ~114-~114: ‘vid’ is informal. Consider replacing it.
Context: ...ly graph-based retrieval (queries graph vid vectors in the vector database and the ...

(VID)


[style] ~132-~132: ‘vid’ is informal. Consider replacing it.
Context: ...zzy match in the vector database (graph vid vector) to retrieve relevant vertices. ...

(VID)


[uncategorized] ~134-~134: Possible missing comma found.
Context: ...nterface, using the matched vertices as entities to convert the question into a Grem...

(AI_HYDRA_LEO_MISSING_COMMA)

🪛 markdownlint-cli2 (0.17.2)
content/cn/docs/quickstart/computing/hugegraph-computer.md

207-207: Heading levels should only increment by one level at a time
Expected: h4; Actual: h6

(MD001, heading-increment)


209-209: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


210-210: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


211-211: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


212-212: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


216-216: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


217-217: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


218-218: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


219-219: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


220-220: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


224-224: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


225-225: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)

content/en/docs/quickstart/hugegraph-ai/quick_start.md

11-11: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


16-16: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


40-40: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)


40-40: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


47-47: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


64-64: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


103-103: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)


103-103: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


110-110: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


119-119: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


182-182: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)


182-182: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


190-190: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


208-208: Code block style
Expected: fenced; Actual: indented

(MD046, code-block-style)

🔇 Additional comments (19)
content/en/docs/quickstart/hugegraph/_index.md (2)

1-5: Frontmatter 格式正确
YAML 头部语法无误,title、linkTitle 和 weight 字段齐全且符合项目文档结构规范。


4-4:

Details

✅ Verification successful

验证 weight 排序
请检查 content/en/docs/quickstart/ 下其他组件的 _index.md 文件中 weight 值是否唯一且按预期排列,确保侧边导航顺序正确。


🏁 Script executed:

#!/bin/bash
# 列出所有 quickstart 目录下的 weight 字段及其所在文件
rg '^weight:' -n content/en/docs/quickstart/*/_index.md

Length of output: 548


验证 Quickstart 侧边栏导航权重排序

已在 content/en/docs/quickstart/*/_index.md 中确认各 weight 值:

  • hugegraph/_index.md:1
  • toolchain/_index.md:2
  • hugegraph-ai/_index.md:3
  • computing/_index.md:4
  • client/_index.md:5

所有 weight 值唯一且按 1–5 排列,侧边导航顺序符合预期,无需调整。

content/en/docs/quickstart/computing/hugegraph-computer.md (3)

4-4: 权重调整确认
weight 从 6 修改为 2 以调整在导航中的优先级,符合文档结构优化需求。


33-33: 确认运行前置条件说明
新增提示 “To run the algorithm ... you need to install Java 11 or later versions.”,清晰传达依赖需求,内容准确。


101-101: 确认 Kubernetes 前提提示
新增 “you need to deploy HugeGraph-Server first” 提示,避免用户遗漏部署顺序,内容恰当。

content/cn/docs/quickstart/computing/hugegraph-computer.md (5)

4-4: 权重调整确认
weight 从 6 修改为 2 以优化导航顺序,与英文版保持一致。


14-14: 功能点翻译确认
新增 “算法基于 BSP 模型...每一次迭代都是一次超步” 描述,条理清晰,内容准确。


59-59: 命令说明简化
“编译生成 tar 包” 描述清晰,与英文版对应,无需修改。


68-69: 配置文件说明确认
新增提示参数 -c 用于指定配置文件,符合使用习惯,表述准确。


205-205: 算法列表标题确认
“### 4.1 支持的算法列表” 与英文版保持一致,无需调整。

content/en/docs/quickstart/hugegraph-ai/_index.md (3)

2-2: 确认文档标题更新

文档标题从旧的“HugeGraph-AI Quick Start”更新为“Explore with HugeGraph-AI”,与新增内容契合。


4-4: 调整文档排序权重

已将权重更新为 3,确保导航顺序符合预期。


9-9: 添加 DeepWiki 徽章展示

引入 DeepWiki 徽章以便快速访问 AI 文档汇总,增强文档可读性。

content/en/docs/quickstart/hugegraph-ai/quick_start.md (3)

1-5: 确认文档元信息更新

前言部分的 frontmatter 已正确添加,包括标题、linkTitle 和权重,符合文档规范。


152-152: 使用 get_chat_llm() 的示例

已正确更新为 LLMs().get_chat_llm() 以匹配新的初始化接口。


216-217: 修正参数名称

已将 max_items 更新为 max_graph_items,与实际接口保持一致。

content/cn/docs/quickstart/hugegraph-ai/quick_start.md (1)

1-4: 确认文档元信息

已正确添加 frontmatter,包括 title、linkTitle 和 weight,符合文档结构要求。

content/cn/docs/quickstart/hugegraph-ai/_index.md (2)

2-4: 确认文档元信息更新

已正确修改 title、linkTitle 和 weight,符合文档目录规范。


108-111: 中英文文档不一致

中文索引中包含 Text2Gremlin 演示的启动步骤,而英文索引未提及此部分,请核对并保持两版文档一致。

Likely an incorrect or invalid review comment.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (5)
content/cn/docs/clients/hugegraph-client.md (3)

19-19: 命名一致性:建议统一为 HugeGraph-Server
注释中写作 HugeGraphServer,建议加上连字符,并与文档中其他地方的 HugeGraph-Server 保持一致。


27-29: 命名及语法:统一 HugeGraph-Hubble 的表现形式
第29行写作 `HugeGraph - Hubble`,建议移除空格,统一为 `HugeGraph-Hubble`


360-366: 列表缩进不一致:请调整嵌套列表的缩进
Markdown 嵌套列表的缩进应保持一致(例如每级增加 2 或 4 个空格),当前缩进混乱会导致渲染异常。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

360-360: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)


362-362: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)

content/en/docs/language/hugegraph-example.md (2)

7-7: 标题编号样式一致性
建议在章节标题后添加句点以保持编号一致,例如将

### 1 Overview

改为

### 1. Overview

121-121: 移除多余空格以优化示例代码
在示例代码

g.V().hasLabel('character') .has('name','hercules')

中建议删除方法链之间的空格,以符合常见写法:

-g.V().hasLabel('character') .has('name','hercules')
+g.V().hasLabel('character').has('name','hercules')
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 29aa986 and 593f22a.

📒 Files selected for processing (4)
  • content/cn/docs/clients/hugegraph-client.md (14 hunks)
  • content/cn/docs/language/hugegraph-example.md (6 hunks)
  • content/cn/docs/quickstart/client/hugegraph-client.md (2 hunks)
  • content/en/docs/language/hugegraph-example.md (4 hunks)
✅ Files skipped from review due to trivial changes (2)
  • content/cn/docs/quickstart/client/hugegraph-client.md
  • content/cn/docs/language/hugegraph-example.md
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
content/cn/docs/clients/hugegraph-client.md

360-360: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)


362-362: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)


367-367: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


368-368: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)


371-371: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


372-372: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)


375-375: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


376-376: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)


379-379: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)


380-380: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)

🪛 LanguageTool
content/en/docs/language/hugegraph-example.md

[style] ~13-~13: Consider using a different adverb to strengthen your wording.
Context: ...e and interfaces. However, HugeGraph is a completely new design and development, characteriz...

(COMPLETELY_ENTIRELY)


[grammar] ~52-~52: Possible agreement error. The noun ‘source’ seems to be countable; consider using: “pair of sources”.
Context: ...ph, each edge label can only act on one pair of source and target vertex labels. In other word...

(A_COLLECTIVE_OF_NN)

🔇 Additional comments (21)
content/cn/docs/clients/hugegraph-client.md (9)

9-10: 格式校对:中英文混合空格增加
已在中英文、标点后的空格进行了补充,阅读体验更佳。


35-37: 描述完善:SchemaManager 说明
对 SchemaManager 的功能与获取方式描述清晰,格式优化合理。


43-43: 示例改进:HugeGraph-Hubble 环境说明
Gremlin 示例部分已替换为 HugeGraph-Hubble,保持与整体重构一致。


100-100: 示例改进:PropertyKey Groovy 语法
HugeGraph-Hubble 中给出了 groovy 示例,内容准确且符合新结构。


119-122: 示例完善:查询 PropertyKey
增加了注释以说明获取 PropertyKey 及其属性的方法,示例准确。


135-135: 描述完善:VertexLabel 约束说明
VertexLabel 约束信息说明已补充,内容完整且逻辑清晰。


180-180: 描述优化:enableLabelIndex 参数说明
已补充 Label 索引开关的说明,帮助用户理解性能影响。


262-262: 描述完善:frequency 说明
对 frequency 参数的含义及配置提供了清晰介绍。


315-318: 示例完善:查询 EdgeLabel
增加了获取 EdgeLabel 对象及属性的方法注释,示例准确。

content/en/docs/language/hugegraph-example.md (12)

9-9: 翻译准确,内容清晰。
该句用词和语法都很到位,无需修改。


11-11: 小节标题格式良好
该标题表达清晰,与文档风格保持一致。


19-19: 描述准确,内容无误
该要点表述清晰,与原文一致。


21-21: 描述准确,内容无误
该要点表述清晰,与原文一致。


23-23: 描述准确,内容无误
该要点表述清晰,与原文一致。


33-33: 图例说明清晰
该段对图中元素的说明准确,可保持现状。


37-42: 顶点表格格式与内容良好
表格对齐正确,术语使用一致,无需修改。


44-44: 关系类型列表清晰
该列表覆盖所有关系类型,描述准确。


46-52: 关系表格格式与内容良好
表头及列对齐正确,属性列与原文一致,无需修改。

🧰 Tools
🪛 LanguageTool

[grammar] ~52-~52: Possible agreement error. The noun ‘source’ seems to be countable; consider using: “pair of sources”.
Context: ...ph, each edge label can only act on one pair of source and target vertex labels. In other word...

(A_COLLECTIVE_OF_NN)


53-53: 语句通顺,内容准确
该段落描述清晰,已使用 “In other words” 等正确表达,无需调整。


133-133: 示例补充清晰
repeat 方法的示例介绍清晰,可保持现状。


139-139: 小标题格式一致
该行标题译文准确,与文档风格统一。

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

♻️ Duplicate comments (2)
content/en/docs/language/hugegraph-example.md (2)

17-17: 更新工具列表名称

请将文中 HugeGraph-Studio 替换为 HugeGraph-Hubble,并同步更新对应的链接。


181-181: ⚠️ Potential issue

修正链接路径和工具名称

当前链接路径 /docs/... 应改为 /en/docs/...,且工具名称 HugeGraph-Api 拼写不一致,需统一为 HugeGraph-API
请应用以下 diff:

-It is recommended to use [HugeGraph-Hubble](/docs/quickstart/toolchain/hugegraph-hubble) to execute the above code visually. Additionally, the code can be executed through various other methods such as HugeGraph-Client, HugeGraph-Api, GremlinConsole, and GremlinDriver.
+It is recommended to use [HugeGraph-Hubble](/en/docs/quickstart/toolchain/hugegraph-hubble) to execute the above code visually. Additionally, the code can be executed through various other methods such as HugeGraph-Client, HugeGraph-API, GremlinConsole, and GremlinDriver.
🧹 Nitpick comments (9)
content/cn/docs/quickstart/client/hugegraph-client-go.md (2)

9-12: 建议补充“软件架构”部分的实际内容
当前第9–12行存在占位符“(软件架构说明)”,请替换为实质性的架构描述,以免用户困惑。


1-164: 统一使用空格替代制表符
文档中大量使用硬制表符(tab)导致 markdownlint 报 MD010 报错,建议全局将制表符替换为空格缩进,以提升可读性和格式一致性。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

34-34: Hard tabs
Column: 1

(MD010, no-hard-tabs)


35-35: Hard tabs
Column: 1

(MD010, no-hard-tabs)


37-37: Hard tabs
Column: 1

(MD010, no-hard-tabs)


38-38: Hard tabs
Column: 1

(MD010, no-hard-tabs)


42-42: Hard tabs
Column: 1

(MD010, no-hard-tabs)


43-43: Hard tabs
Column: 1

(MD010, no-hard-tabs)


44-44: Hard tabs
Column: 1

(MD010, no-hard-tabs)


45-45: Hard tabs
Column: 1

(MD010, no-hard-tabs)


46-46: Hard tabs
Column: 1

(MD010, no-hard-tabs)


47-47: Hard tabs
Column: 1

(MD010, no-hard-tabs)


48-48: Hard tabs
Column: 1

(MD010, no-hard-tabs)


49-49: Hard tabs
Column: 1

(MD010, no-hard-tabs)


50-50: Hard tabs
Column: 1

(MD010, no-hard-tabs)


51-51: Hard tabs
Column: 1

(MD010, no-hard-tabs)


52-52: Hard tabs
Column: 1

(MD010, no-hard-tabs)


53-53: Hard tabs
Column: 1

(MD010, no-hard-tabs)


55-55: Hard tabs
Column: 1

(MD010, no-hard-tabs)


56-56: Hard tabs
Column: 1

(MD010, no-hard-tabs)


57-57: Hard tabs
Column: 1

(MD010, no-hard-tabs)


59-59: Hard tabs
Column: 1

(MD010, no-hard-tabs)


60-60: Hard tabs
Column: 1

(MD010, no-hard-tabs)


72-72: Hard tabs
Column: 1

(MD010, no-hard-tabs)


73-73: Hard tabs
Column: 1

(MD010, no-hard-tabs)


74-74: Hard tabs
Column: 1

(MD010, no-hard-tabs)


76-76: Hard tabs
Column: 1

(MD010, no-hard-tabs)


77-77: Hard tabs
Column: 1

(MD010, no-hard-tabs)


82-82: Hard tabs
Column: 1

(MD010, no-hard-tabs)


83-83: Hard tabs
Column: 1

(MD010, no-hard-tabs)


84-84: Hard tabs
Column: 1

(MD010, no-hard-tabs)


85-85: Hard tabs
Column: 1

(MD010, no-hard-tabs)


86-86: Hard tabs
Column: 1

(MD010, no-hard-tabs)


87-87: Hard tabs
Column: 1

(MD010, no-hard-tabs)


88-88: Hard tabs
Column: 1

(MD010, no-hard-tabs)


89-89: Hard tabs
Column: 1

(MD010, no-hard-tabs)


90-90: Hard tabs
Column: 1

(MD010, no-hard-tabs)


91-91: Hard tabs
Column: 1

(MD010, no-hard-tabs)


92-92: Hard tabs
Column: 1

(MD010, no-hard-tabs)


93-93: Hard tabs
Column: 1

(MD010, no-hard-tabs)


94-94: Hard tabs
Column: 1

(MD010, no-hard-tabs)


95-95: Hard tabs
Column: 1

(MD010, no-hard-tabs)


96-96: Hard tabs
Column: 1

(MD010, no-hard-tabs)


97-97: Hard tabs
Column: 1

(MD010, no-hard-tabs)


101-101: Hard tabs
Column: 1

(MD010, no-hard-tabs)


102-102: Hard tabs
Column: 1

(MD010, no-hard-tabs)


103-103: Hard tabs
Column: 1

(MD010, no-hard-tabs)


104-104: Hard tabs
Column: 1

(MD010, no-hard-tabs)


105-105: Hard tabs
Column: 1

(MD010, no-hard-tabs)


106-106: Hard tabs
Column: 1

(MD010, no-hard-tabs)


107-107: Hard tabs
Column: 1

(MD010, no-hard-tabs)


108-108: Hard tabs
Column: 1

(MD010, no-hard-tabs)


109-109: Hard tabs
Column: 1

(MD010, no-hard-tabs)


110-110: Hard tabs
Column: 1

(MD010, no-hard-tabs)


111-111: Hard tabs
Column: 1

(MD010, no-hard-tabs)


112-112: Hard tabs
Column: 1

(MD010, no-hard-tabs)


113-113: Hard tabs
Column: 1

(MD010, no-hard-tabs)


115-115: Hard tabs
Column: 1

(MD010, no-hard-tabs)


116-116: Hard tabs
Column: 1

(MD010, no-hard-tabs)


117-117: Hard tabs
Column: 1

(MD010, no-hard-tabs)


118-118: Hard tabs
Column: 1

(MD010, no-hard-tabs)


119-119: Hard tabs
Column: 1

(MD010, no-hard-tabs)


120-120: Hard tabs
Column: 1

(MD010, no-hard-tabs)


121-121: Hard tabs
Column: 1

(MD010, no-hard-tabs)


122-122: Hard tabs
Column: 1

(MD010, no-hard-tabs)


123-123: Hard tabs
Column: 1

(MD010, no-hard-tabs)


124-124: Hard tabs
Column: 1

(MD010, no-hard-tabs)


125-125: Hard tabs
Column: 1

(MD010, no-hard-tabs)


126-126: Hard tabs
Column: 1

(MD010, no-hard-tabs)


127-127: Hard tabs
Column: 1

(MD010, no-hard-tabs)


128-128: Hard tabs
Column: 1

(MD010, no-hard-tabs)


129-129: Hard tabs
Column: 1

(MD010, no-hard-tabs)


131-131: Hard tabs
Column: 1

(MD010, no-hard-tabs)


132-132: Hard tabs
Column: 1

(MD010, no-hard-tabs)


132-132: Hard tabs
Column: 5

(MD010, no-hard-tabs)


133-133: Hard tabs
Column: 1

(MD010, no-hard-tabs)


134-134: Hard tabs
Column: 1

(MD010, no-hard-tabs)


136-136: Hard tabs
Column: 1

(MD010, no-hard-tabs)


137-137: Hard tabs
Column: 1

(MD010, no-hard-tabs)


141-141: Hard tabs
Column: 1

(MD010, no-hard-tabs)


152-152: Hard tabs
Column: 1

(MD010, no-hard-tabs)


153-153: Hard tabs
Column: 1

(MD010, no-hard-tabs)


154-154: Hard tabs
Column: 1

(MD010, no-hard-tabs)


155-155: Hard tabs
Column: 1

(MD010, no-hard-tabs)


156-156: Hard tabs
Column: 1

(MD010, no-hard-tabs)


157-157: Hard tabs
Column: 1

(MD010, no-hard-tabs)

content/en/docs/quickstart/client/hugegraph-client-go.md (2)

9-12: 建议补充“Software Architecture”部分的实际内容
当前第9–12行仍为占位符“(Software architecture description)”,请补充完整的架构说明,以便读者理解 SDK 设计要点。


1-164: 统一使用空格替代制表符
整页文档中多处使用硬制表符,markdownlint 已报 MD010。建议将制表符改为空格缩进,确保跨编辑器一致。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

34-34: Hard tabs
Column: 1

(MD010, no-hard-tabs)


35-35: Hard tabs
Column: 1

(MD010, no-hard-tabs)


37-37: Hard tabs
Column: 1

(MD010, no-hard-tabs)


38-38: Hard tabs
Column: 1

(MD010, no-hard-tabs)


42-42: Hard tabs
Column: 1

(MD010, no-hard-tabs)


43-43: Hard tabs
Column: 1

(MD010, no-hard-tabs)


44-44: Hard tabs
Column: 1

(MD010, no-hard-tabs)


45-45: Hard tabs
Column: 1

(MD010, no-hard-tabs)


46-46: Hard tabs
Column: 1

(MD010, no-hard-tabs)


47-47: Hard tabs
Column: 1

(MD010, no-hard-tabs)


48-48: Hard tabs
Column: 1

(MD010, no-hard-tabs)


49-49: Hard tabs
Column: 1

(MD010, no-hard-tabs)


50-50: Hard tabs
Column: 1

(MD010, no-hard-tabs)


51-51: Hard tabs
Column: 1

(MD010, no-hard-tabs)


52-52: Hard tabs
Column: 1

(MD010, no-hard-tabs)


53-53: Hard tabs
Column: 1

(MD010, no-hard-tabs)


55-55: Hard tabs
Column: 1

(MD010, no-hard-tabs)


56-56: Hard tabs
Column: 1

(MD010, no-hard-tabs)


57-57: Hard tabs
Column: 1

(MD010, no-hard-tabs)


59-59: Hard tabs
Column: 1

(MD010, no-hard-tabs)


60-60: Hard tabs
Column: 1

(MD010, no-hard-tabs)


72-72: Hard tabs
Column: 1

(MD010, no-hard-tabs)


73-73: Hard tabs
Column: 1

(MD010, no-hard-tabs)


74-74: Hard tabs
Column: 1

(MD010, no-hard-tabs)


76-76: Hard tabs
Column: 1

(MD010, no-hard-tabs)


77-77: Hard tabs
Column: 1

(MD010, no-hard-tabs)


82-82: Hard tabs
Column: 1

(MD010, no-hard-tabs)


83-83: Hard tabs
Column: 1

(MD010, no-hard-tabs)


84-84: Hard tabs
Column: 1

(MD010, no-hard-tabs)


85-85: Hard tabs
Column: 1

(MD010, no-hard-tabs)


86-86: Hard tabs
Column: 1

(MD010, no-hard-tabs)


87-87: Hard tabs
Column: 1

(MD010, no-hard-tabs)


88-88: Hard tabs
Column: 1

(MD010, no-hard-tabs)


89-89: Hard tabs
Column: 1

(MD010, no-hard-tabs)


90-90: Hard tabs
Column: 1

(MD010, no-hard-tabs)


91-91: Hard tabs
Column: 1

(MD010, no-hard-tabs)


92-92: Hard tabs
Column: 1

(MD010, no-hard-tabs)


93-93: Hard tabs
Column: 1

(MD010, no-hard-tabs)


94-94: Hard tabs
Column: 1

(MD010, no-hard-tabs)


95-95: Hard tabs
Column: 1

(MD010, no-hard-tabs)


96-96: Hard tabs
Column: 1

(MD010, no-hard-tabs)


97-97: Hard tabs
Column: 1

(MD010, no-hard-tabs)


101-101: Hard tabs
Column: 1

(MD010, no-hard-tabs)


102-102: Hard tabs
Column: 1

(MD010, no-hard-tabs)


103-103: Hard tabs
Column: 1

(MD010, no-hard-tabs)


104-104: Hard tabs
Column: 1

(MD010, no-hard-tabs)


105-105: Hard tabs
Column: 1

(MD010, no-hard-tabs)


106-106: Hard tabs
Column: 1

(MD010, no-hard-tabs)


107-107: Hard tabs
Column: 1

(MD010, no-hard-tabs)


108-108: Hard tabs
Column: 1

(MD010, no-hard-tabs)


109-109: Hard tabs
Column: 1

(MD010, no-hard-tabs)


110-110: Hard tabs
Column: 1

(MD010, no-hard-tabs)


111-111: Hard tabs
Column: 1

(MD010, no-hard-tabs)


112-112: Hard tabs
Column: 1

(MD010, no-hard-tabs)


113-113: Hard tabs
Column: 1

(MD010, no-hard-tabs)


115-115: Hard tabs
Column: 1

(MD010, no-hard-tabs)


116-116: Hard tabs
Column: 1

(MD010, no-hard-tabs)


117-117: Hard tabs
Column: 1

(MD010, no-hard-tabs)


118-118: Hard tabs
Column: 1

(MD010, no-hard-tabs)


119-119: Hard tabs
Column: 1

(MD010, no-hard-tabs)


120-120: Hard tabs
Column: 1

(MD010, no-hard-tabs)


121-121: Hard tabs
Column: 1

(MD010, no-hard-tabs)


122-122: Hard tabs
Column: 1

(MD010, no-hard-tabs)


123-123: Hard tabs
Column: 1

(MD010, no-hard-tabs)


124-124: Hard tabs
Column: 1

(MD010, no-hard-tabs)


125-125: Hard tabs
Column: 1

(MD010, no-hard-tabs)


126-126: Hard tabs
Column: 1

(MD010, no-hard-tabs)


127-127: Hard tabs
Column: 1

(MD010, no-hard-tabs)


128-128: Hard tabs
Column: 1

(MD010, no-hard-tabs)


129-129: Hard tabs
Column: 1

(MD010, no-hard-tabs)


131-131: Hard tabs
Column: 1

(MD010, no-hard-tabs)


132-132: Hard tabs
Column: 1

(MD010, no-hard-tabs)


132-132: Hard tabs
Column: 5

(MD010, no-hard-tabs)


133-133: Hard tabs
Column: 1

(MD010, no-hard-tabs)


134-134: Hard tabs
Column: 1

(MD010, no-hard-tabs)


136-136: Hard tabs
Column: 1

(MD010, no-hard-tabs)


137-137: Hard tabs
Column: 1

(MD010, no-hard-tabs)


141-141: Hard tabs
Column: 1

(MD010, no-hard-tabs)


152-152: Hard tabs
Column: 1

(MD010, no-hard-tabs)


153-153: Hard tabs
Column: 1

(MD010, no-hard-tabs)


154-154: Hard tabs
Column: 1

(MD010, no-hard-tabs)


155-155: Hard tabs
Column: 1

(MD010, no-hard-tabs)


156-156: Hard tabs
Column: 1

(MD010, no-hard-tabs)


157-157: Hard tabs
Column: 1

(MD010, no-hard-tabs)

content/en/docs/quickstart/client/hugegraph-client-python.md (1)

1-190: 统一使用空格替代制表符
文档多处使用硬制表符,markdownlint 已报 MD010。请将所有制表符替换为空格,以提升可维护性。

content/cn/docs/quickstart/client/hugegraph-client-python.md (1)

1-189: 统一使用空格替代制表符
文档中广泛使用硬制表符,导致 markdownlint 报 MD010。建议替换为空格缩进,以统一格式并避免 lint 报错。

content/en/docs/language/hugegraph-example.md (3)

7-7: 建议移除标题数字

当前标题使用了 ### 1 Overview 格式,为提高可读性并与其他文档保持一致,建议将数字前缀去掉,仅保留 ### Overview


9-9: 使用 HTTPS 强化链接安全

此处链接使用了 http://s3.thinkaurelius.com/...,建议改为 https://s3.thinkaurelius.com/... 以提升安全性。


133-133: 建议优化表述

建议将 It can also be done using the \repeat` method:改为Alternatively, you can use the `repeat` method:`,以提升衔接和可读性。

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 593f22a and 8c95ec9.

📒 Files selected for processing (5)
  • content/cn/docs/quickstart/client/hugegraph-client-go.md (1 hunks)
  • content/cn/docs/quickstart/client/hugegraph-client-python.md (1 hunks)
  • content/en/docs/language/hugegraph-example.md (4 hunks)
  • content/en/docs/quickstart/client/hugegraph-client-go.md (1 hunks)
  • content/en/docs/quickstart/client/hugegraph-client-python.md (1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
content/cn/docs/quickstart/client/hugegraph-client-go.md

34-34: Hard tabs
Column: 1

(MD010, no-hard-tabs)


35-35: Hard tabs
Column: 1

(MD010, no-hard-tabs)


37-37: Hard tabs
Column: 1

(MD010, no-hard-tabs)


38-38: Hard tabs
Column: 1

(MD010, no-hard-tabs)


42-42: Hard tabs
Column: 1

(MD010, no-hard-tabs)


43-43: Hard tabs
Column: 1

(MD010, no-hard-tabs)


44-44: Hard tabs
Column: 1

(MD010, no-hard-tabs)


45-45: Hard tabs
Column: 1

(MD010, no-hard-tabs)


46-46: Hard tabs
Column: 1

(MD010, no-hard-tabs)


47-47: Hard tabs
Column: 1

(MD010, no-hard-tabs)


48-48: Hard tabs
Column: 1

(MD010, no-hard-tabs)


49-49: Hard tabs
Column: 1

(MD010, no-hard-tabs)


50-50: Hard tabs
Column: 1

(MD010, no-hard-tabs)


51-51: Hard tabs
Column: 1

(MD010, no-hard-tabs)


52-52: Hard tabs
Column: 1

(MD010, no-hard-tabs)


53-53: Hard tabs
Column: 1

(MD010, no-hard-tabs)


55-55: Hard tabs
Column: 1

(MD010, no-hard-tabs)


56-56: Hard tabs
Column: 1

(MD010, no-hard-tabs)


57-57: Hard tabs
Column: 1

(MD010, no-hard-tabs)


59-59: Hard tabs
Column: 1

(MD010, no-hard-tabs)


60-60: Hard tabs
Column: 1

(MD010, no-hard-tabs)


72-72: Hard tabs
Column: 1

(MD010, no-hard-tabs)


73-73: Hard tabs
Column: 1

(MD010, no-hard-tabs)


74-74: Hard tabs
Column: 1

(MD010, no-hard-tabs)


76-76: Hard tabs
Column: 1

(MD010, no-hard-tabs)


77-77: Hard tabs
Column: 1

(MD010, no-hard-tabs)


82-82: Hard tabs
Column: 1

(MD010, no-hard-tabs)


83-83: Hard tabs
Column: 1

(MD010, no-hard-tabs)


84-84: Hard tabs
Column: 1

(MD010, no-hard-tabs)


85-85: Hard tabs
Column: 1

(MD010, no-hard-tabs)


86-86: Hard tabs
Column: 1

(MD010, no-hard-tabs)


87-87: Hard tabs
Column: 1

(MD010, no-hard-tabs)


88-88: Hard tabs
Column: 1

(MD010, no-hard-tabs)


89-89: Hard tabs
Column: 1

(MD010, no-hard-tabs)


90-90: Hard tabs
Column: 1

(MD010, no-hard-tabs)


91-91: Hard tabs
Column: 1

(MD010, no-hard-tabs)


92-92: Hard tabs
Column: 1

(MD010, no-hard-tabs)


93-93: Hard tabs
Column: 1

(MD010, no-hard-tabs)


94-94: Hard tabs
Column: 1

(MD010, no-hard-tabs)


95-95: Hard tabs
Column: 1

(MD010, no-hard-tabs)


96-96: Hard tabs
Column: 1

(MD010, no-hard-tabs)


97-97: Hard tabs
Column: 1

(MD010, no-hard-tabs)


101-101: Hard tabs
Column: 1

(MD010, no-hard-tabs)


102-102: Hard tabs
Column: 1

(MD010, no-hard-tabs)


103-103: Hard tabs
Column: 1

(MD010, no-hard-tabs)


104-104: Hard tabs
Column: 1

(MD010, no-hard-tabs)


105-105: Hard tabs
Column: 1

(MD010, no-hard-tabs)


106-106: Hard tabs
Column: 1

(MD010, no-hard-tabs)


107-107: Hard tabs
Column: 1

(MD010, no-hard-tabs)


108-108: Hard tabs
Column: 1

(MD010, no-hard-tabs)


109-109: Hard tabs
Column: 1

(MD010, no-hard-tabs)


110-110: Hard tabs
Column: 1

(MD010, no-hard-tabs)


111-111: Hard tabs
Column: 1

(MD010, no-hard-tabs)


112-112: Hard tabs
Column: 1

(MD010, no-hard-tabs)


113-113: Hard tabs
Column: 1

(MD010, no-hard-tabs)


115-115: Hard tabs
Column: 1

(MD010, no-hard-tabs)


116-116: Hard tabs
Column: 1

(MD010, no-hard-tabs)


117-117: Hard tabs
Column: 1

(MD010, no-hard-tabs)


118-118: Hard tabs
Column: 1

(MD010, no-hard-tabs)


119-119: Hard tabs
Column: 1

(MD010, no-hard-tabs)


120-120: Hard tabs
Column: 1

(MD010, no-hard-tabs)


121-121: Hard tabs
Column: 1

(MD010, no-hard-tabs)


122-122: Hard tabs
Column: 1

(MD010, no-hard-tabs)


123-123: Hard tabs
Column: 1

(MD010, no-hard-tabs)


124-124: Hard tabs
Column: 1

(MD010, no-hard-tabs)


125-125: Hard tabs
Column: 1

(MD010, no-hard-tabs)


126-126: Hard tabs
Column: 1

(MD010, no-hard-tabs)


127-127: Hard tabs
Column: 1

(MD010, no-hard-tabs)


128-128: Hard tabs
Column: 1

(MD010, no-hard-tabs)


129-129: Hard tabs
Column: 1

(MD010, no-hard-tabs)


131-131: Hard tabs
Column: 1

(MD010, no-hard-tabs)


132-132: Hard tabs
Column: 1

(MD010, no-hard-tabs)


132-132: Hard tabs
Column: 5

(MD010, no-hard-tabs)


133-133: Hard tabs
Column: 1

(MD010, no-hard-tabs)


134-134: Hard tabs
Column: 1

(MD010, no-hard-tabs)


136-136: Hard tabs
Column: 1

(MD010, no-hard-tabs)


137-137: Hard tabs
Column: 1

(MD010, no-hard-tabs)


141-141: Hard tabs
Column: 1

(MD010, no-hard-tabs)


152-152: Hard tabs
Column: 1

(MD010, no-hard-tabs)


153-153: Hard tabs
Column: 1

(MD010, no-hard-tabs)


154-154: Hard tabs
Column: 1

(MD010, no-hard-tabs)


155-155: Hard tabs
Column: 1

(MD010, no-hard-tabs)


156-156: Hard tabs
Column: 1

(MD010, no-hard-tabs)


157-157: Hard tabs
Column: 1

(MD010, no-hard-tabs)

content/en/docs/quickstart/client/hugegraph-client-go.md

34-34: Hard tabs
Column: 1

(MD010, no-hard-tabs)


35-35: Hard tabs
Column: 1

(MD010, no-hard-tabs)


37-37: Hard tabs
Column: 1

(MD010, no-hard-tabs)


38-38: Hard tabs
Column: 1

(MD010, no-hard-tabs)


42-42: Hard tabs
Column: 1

(MD010, no-hard-tabs)


43-43: Hard tabs
Column: 1

(MD010, no-hard-tabs)


44-44: Hard tabs
Column: 1

(MD010, no-hard-tabs)


45-45: Hard tabs
Column: 1

(MD010, no-hard-tabs)


46-46: Hard tabs
Column: 1

(MD010, no-hard-tabs)


47-47: Hard tabs
Column: 1

(MD010, no-hard-tabs)


48-48: Hard tabs
Column: 1

(MD010, no-hard-tabs)


49-49: Hard tabs
Column: 1

(MD010, no-hard-tabs)


50-50: Hard tabs
Column: 1

(MD010, no-hard-tabs)


51-51: Hard tabs
Column: 1

(MD010, no-hard-tabs)


52-52: Hard tabs
Column: 1

(MD010, no-hard-tabs)


53-53: Hard tabs
Column: 1

(MD010, no-hard-tabs)


55-55: Hard tabs
Column: 1

(MD010, no-hard-tabs)


56-56: Hard tabs
Column: 1

(MD010, no-hard-tabs)


57-57: Hard tabs
Column: 1

(MD010, no-hard-tabs)


59-59: Hard tabs
Column: 1

(MD010, no-hard-tabs)


60-60: Hard tabs
Column: 1

(MD010, no-hard-tabs)


72-72: Hard tabs
Column: 1

(MD010, no-hard-tabs)


73-73: Hard tabs
Column: 1

(MD010, no-hard-tabs)


74-74: Hard tabs
Column: 1

(MD010, no-hard-tabs)


76-76: Hard tabs
Column: 1

(MD010, no-hard-tabs)


77-77: Hard tabs
Column: 1

(MD010, no-hard-tabs)


82-82: Hard tabs
Column: 1

(MD010, no-hard-tabs)


83-83: Hard tabs
Column: 1

(MD010, no-hard-tabs)


84-84: Hard tabs
Column: 1

(MD010, no-hard-tabs)


85-85: Hard tabs
Column: 1

(MD010, no-hard-tabs)


86-86: Hard tabs
Column: 1

(MD010, no-hard-tabs)


87-87: Hard tabs
Column: 1

(MD010, no-hard-tabs)


88-88: Hard tabs
Column: 1

(MD010, no-hard-tabs)


89-89: Hard tabs
Column: 1

(MD010, no-hard-tabs)


90-90: Hard tabs
Column: 1

(MD010, no-hard-tabs)


91-91: Hard tabs
Column: 1

(MD010, no-hard-tabs)


92-92: Hard tabs
Column: 1

(MD010, no-hard-tabs)


93-93: Hard tabs
Column: 1

(MD010, no-hard-tabs)


94-94: Hard tabs
Column: 1

(MD010, no-hard-tabs)


95-95: Hard tabs
Column: 1

(MD010, no-hard-tabs)


96-96: Hard tabs
Column: 1

(MD010, no-hard-tabs)


97-97: Hard tabs
Column: 1

(MD010, no-hard-tabs)


101-101: Hard tabs
Column: 1

(MD010, no-hard-tabs)


102-102: Hard tabs
Column: 1

(MD010, no-hard-tabs)


103-103: Hard tabs
Column: 1

(MD010, no-hard-tabs)


104-104: Hard tabs
Column: 1

(MD010, no-hard-tabs)


105-105: Hard tabs
Column: 1

(MD010, no-hard-tabs)


106-106: Hard tabs
Column: 1

(MD010, no-hard-tabs)


107-107: Hard tabs
Column: 1

(MD010, no-hard-tabs)


108-108: Hard tabs
Column: 1

(MD010, no-hard-tabs)


109-109: Hard tabs
Column: 1

(MD010, no-hard-tabs)


110-110: Hard tabs
Column: 1

(MD010, no-hard-tabs)


111-111: Hard tabs
Column: 1

(MD010, no-hard-tabs)


112-112: Hard tabs
Column: 1

(MD010, no-hard-tabs)


113-113: Hard tabs
Column: 1

(MD010, no-hard-tabs)


115-115: Hard tabs
Column: 1

(MD010, no-hard-tabs)


116-116: Hard tabs
Column: 1

(MD010, no-hard-tabs)


117-117: Hard tabs
Column: 1

(MD010, no-hard-tabs)


118-118: Hard tabs
Column: 1

(MD010, no-hard-tabs)


119-119: Hard tabs
Column: 1

(MD010, no-hard-tabs)


120-120: Hard tabs
Column: 1

(MD010, no-hard-tabs)


121-121: Hard tabs
Column: 1

(MD010, no-hard-tabs)


122-122: Hard tabs
Column: 1

(MD010, no-hard-tabs)


123-123: Hard tabs
Column: 1

(MD010, no-hard-tabs)


124-124: Hard tabs
Column: 1

(MD010, no-hard-tabs)


125-125: Hard tabs
Column: 1

(MD010, no-hard-tabs)


126-126: Hard tabs
Column: 1

(MD010, no-hard-tabs)


127-127: Hard tabs
Column: 1

(MD010, no-hard-tabs)


128-128: Hard tabs
Column: 1

(MD010, no-hard-tabs)


129-129: Hard tabs
Column: 1

(MD010, no-hard-tabs)


131-131: Hard tabs
Column: 1

(MD010, no-hard-tabs)


132-132: Hard tabs
Column: 1

(MD010, no-hard-tabs)


132-132: Hard tabs
Column: 5

(MD010, no-hard-tabs)


133-133: Hard tabs
Column: 1

(MD010, no-hard-tabs)


134-134: Hard tabs
Column: 1

(MD010, no-hard-tabs)


136-136: Hard tabs
Column: 1

(MD010, no-hard-tabs)


137-137: Hard tabs
Column: 1

(MD010, no-hard-tabs)


141-141: Hard tabs
Column: 1

(MD010, no-hard-tabs)


152-152: Hard tabs
Column: 1

(MD010, no-hard-tabs)


153-153: Hard tabs
Column: 1

(MD010, no-hard-tabs)


154-154: Hard tabs
Column: 1

(MD010, no-hard-tabs)


155-155: Hard tabs
Column: 1

(MD010, no-hard-tabs)


156-156: Hard tabs
Column: 1

(MD010, no-hard-tabs)


157-157: Hard tabs
Column: 1

(MD010, no-hard-tabs)

🪛 LanguageTool
content/en/docs/language/hugegraph-example.md

[style] ~13-~13: Consider using a different adverb to strengthen your wording.
Context: ...e and interfaces. However, HugeGraph is a completely new design and development, characteriz...

(COMPLETELY_ENTIRELY)


[grammar] ~52-~52: Possible agreement error. The noun ‘source’ seems to be countable; consider using: “pair of sources”.
Context: ...ph, each edge label can only act on one pair of source and target vertex labels. In other word...

(A_COLLECTIVE_OF_NN)

🔇 Additional comments (4)
content/cn/docs/quickstart/client/hugegraph-client-go.md (1)

16-17: 验证 Go 模块路径
请确认 go get github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go 中的仓库路径和模块名与实际 SDK 发布一致,避免文档失效。

content/en/docs/quickstart/client/hugegraph-client-go.md (1)

16-17: 验证 Go 模块路径
go get github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go 的路径应与发布的模块路径保持一致,请确认仓库名和模块声明未发生变更。

content/en/docs/language/hugegraph-example.md (2)

33-33: 此处翻译清晰,无需调整
该句英文描述准确、易读,可以保留现状。


121-121: 此处描述准确,无需修改
关于 primaryKeys ID 策略的说明清晰,可保持原样。

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🔭 Outside diff range comments (1)
content/en/docs/quickstart/client/hugegraph-client-go.md (1)

161-164: 🛠️ Refactor suggestion

完善 API Reference 部分

API Reference 章节目前仅为占位注释,请补充实际的 API 文档链接或引用,如指向 SDK 的 GoDoc、GitHub 仓库或在线接口文档,方便用户深入了解。

🧹 Nitpick comments (1)
content/en/docs/quickstart/client/hugegraph-client-go.md (1)

147-159: 统一版本响应结构体命名

示例中先后使用了 VersionInfoVersionResponse,建议统一为单一名称(如 VersionResponse),并与 SDK 定义保持一致,以免用户混淆。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

152-152: Hard tabs
Column: 1

(MD010, no-hard-tabs)


153-153: Hard tabs
Column: 1

(MD010, no-hard-tabs)


154-154: Hard tabs
Column: 1

(MD010, no-hard-tabs)


155-155: Hard tabs
Column: 1

(MD010, no-hard-tabs)


156-156: Hard tabs
Column: 1

(MD010, no-hard-tabs)


157-157: Hard tabs
Column: 1

(MD010, no-hard-tabs)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8c95ec9 and 5cda9bd.

📒 Files selected for processing (6)
  • content/cn/docs/quickstart/client/hugegraph-client-go.md (1 hunks)
  • content/cn/docs/quickstart/client/hugegraph-client-python.md (1 hunks)
  • content/cn/docs/quickstart/client/hugegraph-client.md (2 hunks)
  • content/en/docs/quickstart/client/hugegraph-client-go.md (1 hunks)
  • content/en/docs/quickstart/client/hugegraph-client-python.md (1 hunks)
  • content/en/docs/quickstart/client/hugegraph-client.md (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (5)
  • content/cn/docs/quickstart/client/hugegraph-client.md
  • content/en/docs/quickstart/client/hugegraph-client-python.md
  • content/cn/docs/quickstart/client/hugegraph-client-python.md
  • content/cn/docs/quickstart/client/hugegraph-client-go.md
  • content/en/docs/quickstart/client/hugegraph-client.md
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
content/en/docs/quickstart/client/hugegraph-client-go.md

34-34: Hard tabs
Column: 1

(MD010, no-hard-tabs)


35-35: Hard tabs
Column: 1

(MD010, no-hard-tabs)


37-37: Hard tabs
Column: 1

(MD010, no-hard-tabs)


38-38: Hard tabs
Column: 1

(MD010, no-hard-tabs)


42-42: Hard tabs
Column: 1

(MD010, no-hard-tabs)


43-43: Hard tabs
Column: 1

(MD010, no-hard-tabs)


44-44: Hard tabs
Column: 1

(MD010, no-hard-tabs)


45-45: Hard tabs
Column: 1

(MD010, no-hard-tabs)


46-46: Hard tabs
Column: 1

(MD010, no-hard-tabs)


47-47: Hard tabs
Column: 1

(MD010, no-hard-tabs)


48-48: Hard tabs
Column: 1

(MD010, no-hard-tabs)


49-49: Hard tabs
Column: 1

(MD010, no-hard-tabs)


50-50: Hard tabs
Column: 1

(MD010, no-hard-tabs)


51-51: Hard tabs
Column: 1

(MD010, no-hard-tabs)


52-52: Hard tabs
Column: 1

(MD010, no-hard-tabs)


53-53: Hard tabs
Column: 1

(MD010, no-hard-tabs)


55-55: Hard tabs
Column: 1

(MD010, no-hard-tabs)


56-56: Hard tabs
Column: 1

(MD010, no-hard-tabs)


57-57: Hard tabs
Column: 1

(MD010, no-hard-tabs)


59-59: Hard tabs
Column: 1

(MD010, no-hard-tabs)


60-60: Hard tabs
Column: 1

(MD010, no-hard-tabs)


72-72: Hard tabs
Column: 1

(MD010, no-hard-tabs)


73-73: Hard tabs
Column: 1

(MD010, no-hard-tabs)


74-74: Hard tabs
Column: 1

(MD010, no-hard-tabs)


76-76: Hard tabs
Column: 1

(MD010, no-hard-tabs)


77-77: Hard tabs
Column: 1

(MD010, no-hard-tabs)


82-82: Hard tabs
Column: 1

(MD010, no-hard-tabs)


83-83: Hard tabs
Column: 1

(MD010, no-hard-tabs)


84-84: Hard tabs
Column: 1

(MD010, no-hard-tabs)


85-85: Hard tabs
Column: 1

(MD010, no-hard-tabs)


86-86: Hard tabs
Column: 1

(MD010, no-hard-tabs)


87-87: Hard tabs
Column: 1

(MD010, no-hard-tabs)


88-88: Hard tabs
Column: 1

(MD010, no-hard-tabs)


89-89: Hard tabs
Column: 1

(MD010, no-hard-tabs)


90-90: Hard tabs
Column: 1

(MD010, no-hard-tabs)


91-91: Hard tabs
Column: 1

(MD010, no-hard-tabs)


92-92: Hard tabs
Column: 1

(MD010, no-hard-tabs)


93-93: Hard tabs
Column: 1

(MD010, no-hard-tabs)


94-94: Hard tabs
Column: 1

(MD010, no-hard-tabs)


95-95: Hard tabs
Column: 1

(MD010, no-hard-tabs)


96-96: Hard tabs
Column: 1

(MD010, no-hard-tabs)


97-97: Hard tabs
Column: 1

(MD010, no-hard-tabs)


101-101: Hard tabs
Column: 1

(MD010, no-hard-tabs)


102-102: Hard tabs
Column: 1

(MD010, no-hard-tabs)


103-103: Hard tabs
Column: 1

(MD010, no-hard-tabs)


104-104: Hard tabs
Column: 1

(MD010, no-hard-tabs)


105-105: Hard tabs
Column: 1

(MD010, no-hard-tabs)


106-106: Hard tabs
Column: 1

(MD010, no-hard-tabs)


107-107: Hard tabs
Column: 1

(MD010, no-hard-tabs)


108-108: Hard tabs
Column: 1

(MD010, no-hard-tabs)


109-109: Hard tabs
Column: 1

(MD010, no-hard-tabs)


110-110: Hard tabs
Column: 1

(MD010, no-hard-tabs)


111-111: Hard tabs
Column: 1

(MD010, no-hard-tabs)


112-112: Hard tabs
Column: 1

(MD010, no-hard-tabs)


113-113: Hard tabs
Column: 1

(MD010, no-hard-tabs)


115-115: Hard tabs
Column: 1

(MD010, no-hard-tabs)


116-116: Hard tabs
Column: 1

(MD010, no-hard-tabs)


117-117: Hard tabs
Column: 1

(MD010, no-hard-tabs)


118-118: Hard tabs
Column: 1

(MD010, no-hard-tabs)


119-119: Hard tabs
Column: 1

(MD010, no-hard-tabs)


120-120: Hard tabs
Column: 1

(MD010, no-hard-tabs)


121-121: Hard tabs
Column: 1

(MD010, no-hard-tabs)


122-122: Hard tabs
Column: 1

(MD010, no-hard-tabs)


123-123: Hard tabs
Column: 1

(MD010, no-hard-tabs)


124-124: Hard tabs
Column: 1

(MD010, no-hard-tabs)


125-125: Hard tabs
Column: 1

(MD010, no-hard-tabs)


126-126: Hard tabs
Column: 1

(MD010, no-hard-tabs)


127-127: Hard tabs
Column: 1

(MD010, no-hard-tabs)


128-128: Hard tabs
Column: 1

(MD010, no-hard-tabs)


129-129: Hard tabs
Column: 1

(MD010, no-hard-tabs)


131-131: Hard tabs
Column: 1

(MD010, no-hard-tabs)


132-132: Hard tabs
Column: 1

(MD010, no-hard-tabs)


132-132: Hard tabs
Column: 5

(MD010, no-hard-tabs)


133-133: Hard tabs
Column: 1

(MD010, no-hard-tabs)


134-134: Hard tabs
Column: 1

(MD010, no-hard-tabs)


136-136: Hard tabs
Column: 1

(MD010, no-hard-tabs)


137-137: Hard tabs
Column: 1

(MD010, no-hard-tabs)


141-141: Hard tabs
Column: 1

(MD010, no-hard-tabs)


152-152: Hard tabs
Column: 1

(MD010, no-hard-tabs)


153-153: Hard tabs
Column: 1

(MD010, no-hard-tabs)


154-154: Hard tabs
Column: 1

(MD010, no-hard-tabs)


155-155: Hard tabs
Column: 1

(MD010, no-hard-tabs)


156-156: Hard tabs
Column: 1

(MD010, no-hard-tabs)


157-157: Hard tabs
Column: 1

(MD010, no-hard-tabs)

🔇 Additional comments (3)
content/en/docs/quickstart/client/hugegraph-client-go.md (3)

30-62: 初始化客户端示例无误

代码示例结构清晰,依照 Go 规范进行了错误处理并避免未使用警告,符合最佳实践。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

34-34: Hard tabs
Column: 1

(MD010, no-hard-tabs)


35-35: Hard tabs
Column: 1

(MD010, no-hard-tabs)


37-37: Hard tabs
Column: 1

(MD010, no-hard-tabs)


38-38: Hard tabs
Column: 1

(MD010, no-hard-tabs)


42-42: Hard tabs
Column: 1

(MD010, no-hard-tabs)


43-43: Hard tabs
Column: 1

(MD010, no-hard-tabs)


44-44: Hard tabs
Column: 1

(MD010, no-hard-tabs)


45-45: Hard tabs
Column: 1

(MD010, no-hard-tabs)


46-46: Hard tabs
Column: 1

(MD010, no-hard-tabs)


47-47: Hard tabs
Column: 1

(MD010, no-hard-tabs)


48-48: Hard tabs
Column: 1

(MD010, no-hard-tabs)


49-49: Hard tabs
Column: 1

(MD010, no-hard-tabs)


50-50: Hard tabs
Column: 1

(MD010, no-hard-tabs)


51-51: Hard tabs
Column: 1

(MD010, no-hard-tabs)


52-52: Hard tabs
Column: 1

(MD010, no-hard-tabs)


53-53: Hard tabs
Column: 1

(MD010, no-hard-tabs)


55-55: Hard tabs
Column: 1

(MD010, no-hard-tabs)


56-56: Hard tabs
Column: 1

(MD010, no-hard-tabs)


57-57: Hard tabs
Column: 1

(MD010, no-hard-tabs)


59-59: Hard tabs
Column: 1

(MD010, no-hard-tabs)


60-60: Hard tabs
Column: 1

(MD010, no-hard-tabs)


1-5:

Details

✅ Verification successful

校验前端元数据 (Frontmatter) 完整性

请确认 titlelinkTitleweight 等 frontmatter 字段是否满足项目文档规范(例如是否还需 descriptionaliases 等),并与其他语言版本保持一致,确保在导航和菜单中正确显示。


🏁 Script executed:

#!/bin/bash
# 验证中文版本文档是否已创建
fd 'hugegraph-client-go.md' content/cn/docs/quickstart/client

Length of output: 118


🏁 Script executed:

#!/bin/bash
# 输出所有客户端快速入门文档的前端元数据以便比对
for file in content/en/docs/quickstart/client/*.md content/cn/docs/quickstart/client/*.md; do
  echo "=== $file ==="
  sed -n '1,20p' "$file"
  echo
done

Length of output: 5874


frontmatter 字段一致且完整

已验证 content/en/docs/quickstart/client/hugegraph-client-go.md 与对应的中文版本前端元数据(titlelinkTitleweight)与其他客户端快速入门文档保持一致。项目中未见需强制添加 descriptionaliases 字段,当前元数据符合规范,无需修改。


15-17:

Details

❓ Verification inconclusive

验证安装命令和模块路径正确性

请确认以下安装命令在最新代码仓库中可用,并且模块路径 github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go 对应 SDK 代码库:


🏁 Script executed:

go get github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go

Length of output: 529


执行以下脚本以验证仓库是否存在,以及 go.mod 中的模块路径是否正确:


🏁 Script executed:

#!/bin/bash
# 检查 go.mod 是否存在及模块路径
status=$(curl -s -o /dev/null -w "%{http_code}" https://raw.githubusercontent.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/main/go.mod)
echo "HTTP 状态码: $status"
if [ "$status" = "200" ]; then
  echo "go.mod 中的 module 定义:"
  curl -s https://raw.githubusercontent.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/main/go.mod | grep '^module'
else
  echo "无法获取 go.mod,请手动确认仓库路径或分支是否正确。"
fi

Length of output: 283


请执行下面脚本,确认 Apache 组织下正确的仓库全名:


🏁 Script executed:

#!/bin/bash
# 在 Apache 组织中搜索包含 hugegraph-client-go 的仓库
curl -s "https://api.github.com/search/repositories?q=hugegraph-client-go+org:apache" \
  | grep '"full_name"' \
  | sed -E 's/.*"([^"]+)".*/\1/'

Length of output: 139


验证安装命令和模块路径
由于 go get 在模块外部已废弃,且无法在仓库中找到 incubator-hugegraph-toolchain/hugegraph-client-go,请手动确认 SDK 在 GitHub 上的正确仓库地址及模块路径,并在文档中使用 Go 1.17+ 推荐的 go install 命令:

go install <正确的模块路径>@latest
  • 检查 GitHub “apache” 组织下对应的仓库全名
  • 确认该仓库根目录下 go.mod 中的 module 定义与文档路径一致
  • 将文档示例由 go get 改为 go install 格式,以保证在最新 Go 版本中可用

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (3)
content/cn/docs/quickstart/hugegraph-ai/quick_start.md (1)

76-84: 括号样式已在前文评论中指出,请统一使用全角括号。

content/cn/docs/quickstart/hugegraph-ai/_index.md (1)

33-42: Docker 镜像与 HugeGraph Server 版本兼容性建议已在环境要求(Server 1.3+)中部分体现。

content/en/docs/quickstart/hugegraph-ai/_index.md (1)

26-30: 🛠️ Refactor suggestion

补充系统资源需求说明。
建议在环境要求中增加最小系统资源,例如:

- Minimum 4 GB RAM (recommended)
- At least 2 CPU cores
🧹 Nitpick comments (26)
content/cn/docs/quickstart/hugegraph-ai/quick_start.md (8)

1-5: 本地化文档元数据

Frontmatter 中 titlelinkTitle 为英文,应翻译为中文以保持与文件语言一致,例如将 GraphRAG UI Details 改为 GraphRAG UI 详情


7-7: 优化引言措辞

“接续主文档介绍基础 UI 功能及详情”中的“接续”用词略显生硬,建议改为“承接”或“以下内容承接主文档”,提升可读性。


16-19: 统一括号样式

“(Graph)RAG” 使用了半角括号,中文文档中建议统一使用全角括号“(Graph)RAG”。


21-25: 精炼流程描述

“从文本构建知识图谱、分块向量和图顶点向量”中“向量”一词重复,建议改为“从文本构建知识图谱、生成文本向量及图顶点向量”,逻辑更清晰。


28-39: 简化 Mermaid 图示

  • 节点 A --> B[文本分割]A --> F[文本分割] 重复,建议合并或重命名以突出不同流程。
  • \n 换行标记在部分渲染器中可能不生效,建议使用 <br/> 或者多行标签。

42-47: 统一术语格式

“Schema” 一词在列表中出现多次,建议统一格式(如均使用粗体 Schema 或中文“模式”),保持术语一致性。


51-61: 调整列表缩进

“按钮”列表的子项应与父项缩进保持一致(两个空格),并在不同父项之间空一行以提升可读性。例如:

- **获取 RAG 信息**
  - **获取向量索引信息**
  - **获取图索引信息**

- **清除 RAG 数据**
  - **清除分块向量索引**
  - **清除图顶点向量索引**
  - **清除图数据**
🧰 Tools
🪛 LanguageTool

[uncategorized] ~58-~58: 您的意思是“"不"和”?
Context: ...向量) - 提取图数据 (1): 基于 Schema,使用图提取提示词头部和分块内容作为提示词,从文档中提取图数据 - 加载到图数据库 (2): ...

(BU)


67-74: 优化示例流程标注

建议将按钮名称用反引号包裹,如 `导入到向量`、`提取图数据 (1)` 等,以区分 UI 元素与正文,提高可读性。

content/cn/docs/quickstart/hugegraph-ai/_index.md (4)

1-5: 本地化文档元数据

Frontmatter 中 titlelinkTitle 为英文,建议翻译为中文,如 HugeGraph-AI 概览,以与文档语言保持一致。


21-23: 统一括号样式

“使用自然语言操作图数据库 (Gremlin/Cypher)”中的半角括号建议统一为全角:使用自然语言操作图数据库(Gremlin/Cypher)


25-30: 补充系统资源要求

建议在环境要求中添加最低系统资源说明(如至少 4 GB RAM、2 个 CPU 核心),以便生产部署参考。


43-61: 添加常见故障排查

建议在 Docker 部署后增加“故障排查”小节,涵盖端口冲突、内存不足等常见问题及解决方案,提升用户体验。

content/en/docs/quickstart/hugegraph-ai/_index.md (8)

7-7: 优化引用提示语句流畅度。
建议将本行拆成两句或重构为:

-> Please refer to the AI repository [README](https://github.com/apache/incubator-hugegraph-ai/tree/main/hugegraph-llm#readme) for the most up-to-date documentation.
-> The official website is regularly updated and synchronized.

36-44: 调整列表缩进以符合 markdownlint 要求。
目前多处嵌套列表缩进不一致,会触发 MD007 警告,建议统一按 2 或 4 个空格缩进。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

38-38: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


39-39: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


40-40: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


42-42: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


44-44: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


54-62: 示例命令中 URL 建议使用链接文本。
将裸露 URL http://localhost:8001 改为 [http://localhost:8001](http://localhost:8001) 可以避免 MD034 警告。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

54-54: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


62-62: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


62-62: Bare URL used
null

(MD034, no-bare-urls)


64-67: 优化 Build from Source 描述。
第 1 步可改为:

- 1. Start the HugeGraph database, you can run it via Docker:
+ 1. Start the HugeGraph database using Docker:
🧰 Tools
🪛 LanguageTool

[uncategorized] ~66-~66: Possible missing preposition found.
Context: ...ost:8001 ### 3.2 Build from Source 1. Start the HugeGraph database, you can run it ...

(AI_HYDRA_LEO_MISSING_TO)


73-77: 修正逗号拼接与大小写。
建议将“Configuring the uv environment, Use the official installer…”改为:

- 2. Configuring the uv environment, Use the official installer to install uv…
+ 2. Configure the uv environment. Use the official installer to install uv…

91-98: 替换裸露 URL 为链接文本。
如将 http://127.0.0.1:8001 修改为 [http://127.0.0.1:8001](http://127.0.0.1:8001),避免 MD034 警告。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

91-91: Bare URL used
null

(MD034, no-bare-urls)


106-107: 统一强调语法及动词形式。
建议将 Litellm 改为 Litellm,并将 “support multi-LLM provider” 改为 “supports multiple LLM providers”。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


116-117: 替换裸露 URL 为链接文本。
建议将链接文字描述化,如:

> You can also refer to our [quick-start guide](https://github.com/apache/incubator-hugegraph-ai/blob/main/hugegraph-llm/quick_start.md).
content/en/docs/quickstart/hugegraph-ai/quick_start.md (6)

7-7: 优化引导语句。
建议将:

- Follow up [main doc](../) to introduce the basic UI function & details…
+ Refer to the [main doc](../) for basic UI functions and details…
🧰 Tools
🪛 LanguageTool

[uncategorized] ~7-~7: The grammatical number of this noun doesn’t look right. Consider replacing it.
Context: ...ain doc](../) to introduce the basic UI function & details, welcome to update and improv...

(AI_EN_LECTOR_REPLACEMENT_NOUN_NUMBER)


9-15: 职责列表补全标点。
各项职责建议统一末尾使用句号,以增强一致性。


22-22: “vid” 用词不够专业。
建议将 “graph vid vector” 改为 “graph vertex ID vector” 或类似更正式的术语。

🧰 Tools
🪛 LanguageTool

[style] ~22-~22: ‘vid’ is informal. Consider replacing it.
Context: ...nowledge graph, chunk vector, and graph vid vector from the text. ![image](https:/...

(VID)


40-63: 统一按钮与字段命名格式。
建议将 “Doc(s)” 改为 “Document(s)”,并统一加粗与空格用法,保持文档整体一致性。

🧰 Tools
🪛 LanguageTool

[style] ~57-~57: ‘Vid’ is informal. Consider replacing it.
Context: ...** Clear chunk vector - Clear Graph Vid Vector Index: Clear graph vid vector ...

(VID)


[style] ~57-~57: ‘vid’ is informal. Consider replacing it.
Context: ...r Graph Vid Vector Index**: Clear graph vid vector - Clear Graph Data: Clear ...

(VID)


[style] ~61-~61: ‘Vid’ is informal. Consider replacing it.
Context: ...he database (automatically calls Update Vid Embedding to store vectors in the vecto...

(VID)


[style] ~62-~62: ‘Vid’ is informal. Consider replacing it.
Context: ...tors in the vector database) - Update Vid Embedding: Convert graph vid into vec...

(VID)


[style] ~62-~62: ‘vid’ is informal. Consider replacing it.
Context: ...Update Vid Embedding: Convert graph vid into vectors ### Execution Flow: 1. I...

(VID)


64-72: 标题层级建议下调。
“Execution Flow” 作为子模块,可考虑改为三级标题(###),提高文档层级逻辑一致性。

🧰 Tools
🪛 LanguageTool

[style] ~70-~70: ‘Vid’ is informal. Consider replacing it.
Context: ...base (this automatically calls Update Vid Embedding to store the vectors in the...

(VID)


[style] ~71-~71: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...the vectors in the vector database). 6. Click the Update Vid Embedding bu...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~71-~71: ‘Vid’ is informal. Consider replacing it.
Context: ...or database). 6. Click the Update Vid Embedding button to vectorize the...

(VID)


73-85: 统一 RAG 首字母大写与按钮样式。
建议对 “Import into Vector”、“Update Vid Embedding” 等按钮名称统一使用英文双引号或强调格式,并确保“RAG”大写一致。

🧰 Tools
🪛 LanguageTool

[style] ~75-~75: ‘Vid’ is informal. Consider replacing it.
Context: ...(chunks) into vectors, and the Update Vid Embedding button converts graph vid i...

(VID)


[style] ~75-~75: ‘vid’ is informal. Consider replacing it.
Context: ...e Vid Embedding** button converts graph vid into vectors. These vectors are stored ...

(VID)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5cda9bd and a8d96d6.

📒 Files selected for processing (5)
  • content/cn/docs/quickstart/computing/hugegraph-computer.md (7 hunks)
  • content/cn/docs/quickstart/hugegraph-ai/_index.md (1 hunks)
  • content/cn/docs/quickstart/hugegraph-ai/quick_start.md (1 hunks)
  • content/en/docs/quickstart/hugegraph-ai/_index.md (5 hunks)
  • content/en/docs/quickstart/hugegraph-ai/quick_start.md (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • content/cn/docs/quickstart/computing/hugegraph-computer.md
🧰 Additional context used
🪛 LanguageTool
content/cn/docs/quickstart/hugegraph-ai/quick_start.md

[uncategorized] ~58-~58: 您的意思是“"不"和”?
Context: ...向量) - 提取图数据 (1): 基于 Schema,使用图提取提示词头部和分块内容作为提示词,从文档中提取图数据 - 加载到图数据库 (2): ...

(BU)

content/cn/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~115-~115: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:基本"地"查询
Context: ...ugegraph-llm/quick_start.md)文档来了解如何使用它以及基本的查询逻辑 🚧 ## 4. 示例 ### 4.1 通过 LLM 在 Hu...

(wb4)

content/en/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~66-~66: Possible missing preposition found.
Context: ...ost:8001 ### 3.2 Build from Source 1. Start the HugeGraph database, you can run it ...

(AI_HYDRA_LEO_MISSING_TO)

content/en/docs/quickstart/hugegraph-ai/quick_start.md

[uncategorized] ~7-~7: The grammatical number of this noun doesn’t look right. Consider replacing it.
Context: ...ain doc](../) to introduce the basic UI function & details, welcome to update and improv...

(AI_EN_LECTOR_REPLACEMENT_NOUN_NUMBER)


[style] ~22-~22: ‘vid’ is informal. Consider replacing it.
Context: ...nowledge graph, chunk vector, and graph vid vector from the text. ![image](https:/...

(VID)


[style] ~57-~57: ‘Vid’ is informal. Consider replacing it.
Context: ...** Clear chunk vector - Clear Graph Vid Vector Index: Clear graph vid vector ...

(VID)


[style] ~57-~57: ‘vid’ is informal. Consider replacing it.
Context: ...r Graph Vid Vector Index**: Clear graph vid vector - Clear Graph Data: Clear ...

(VID)


[style] ~61-~61: ‘Vid’ is informal. Consider replacing it.
Context: ...he database (automatically calls Update Vid Embedding to store vectors in the vecto...

(VID)


[style] ~62-~62: ‘Vid’ is informal. Consider replacing it.
Context: ...tors in the vector database) - Update Vid Embedding: Convert graph vid into vec...

(VID)


[style] ~62-~62: ‘vid’ is informal. Consider replacing it.
Context: ...Update Vid Embedding: Convert graph vid into vectors ### Execution Flow: 1. I...

(VID)


[style] ~70-~70: ‘Vid’ is informal. Consider replacing it.
Context: ...base (this automatically calls Update Vid Embedding to store the vectors in the...

(VID)


[style] ~71-~71: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...the vectors in the vector database). 6. Click the Update Vid Embedding bu...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~71-~71: ‘Vid’ is informal. Consider replacing it.
Context: ...or database). 6. Click the Update Vid Embedding button to vectorize the...

(VID)


[style] ~75-~75: ‘Vid’ is informal. Consider replacing it.
Context: ...(chunks) into vectors, and the Update Vid Embedding button converts graph vid i...

(VID)


[style] ~75-~75: ‘vid’ is informal. Consider replacing it.
Context: ...e Vid Embedding** button converts graph vid into vectors. These vectors are stored ...

(VID)


[duplication] ~105-~105: Possible typo: you repeated a word.
Context: ...nput Fields: - Question: Input the query - Query Prompt: The prompt template used ...

(ENGLISH_WORD_REPEAT_RULE)


[style] ~114-~114: ‘vid’ is informal. Consider replacing it.
Context: ...ly graph-based retrieval (queries graph vid vectors in the vector database and the ...

(VID)


[style] ~132-~132: ‘vid’ is informal. Consider replacing it.
Context: ...zzy match in the vector database (graph vid vector) to retrieve relevant vertices. ...

(VID)


[uncategorized] ~134-~134: Possible missing comma found.
Context: ...nterface, using the matched vertices as entities to convert the question into a Grem...

(AI_HYDRA_LEO_MISSING_COMMA)

🪛 markdownlint-cli2 (0.17.2)
content/en/docs/quickstart/hugegraph-ai/_index.md

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


38-38: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


39-39: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


40-40: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


42-42: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


44-44: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


49-49: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


54-54: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


62-62: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


62-62: Bare URL used
null

(MD034, no-bare-urls)


91-91: Bare URL used
null

(MD034, no-bare-urls)


107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


111-111: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


111-111: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)

🔇 Additional comments (13)
content/cn/docs/quickstart/hugegraph-ai/quick_start.md (1)

88-96: RAG 查询流程图结构清晰、逻辑完整,无需修改。

content/cn/docs/quickstart/hugegraph-ai/_index.md (2)

7-10: 引用了 AI 仓库 README 及 DeepWiki 徽章,帮助用户获取最新文档,表达清晰。


83-87: 源码构建部分 uv pip install -e . 与英文文档保持一致,无需修改。

content/en/docs/quickstart/hugegraph-ai/_index.md (8)

2-4: 请校验 frontmatter 与其他 Quickstart 文档的一致性。
当前文件的 title、linkTitle 和 weight 已更新,请确认中英文版本及目录中对应文档的 frontmatter 字段保持同步。


9-9: 区块引用徽章展示正常。
深度维基(DeepWiki)徽章渲染正常,无需调整。


11-11: 章节标题格式正确。
“## 1. Summary” 与其他 Quickstart 文档保持一致。


13-25: 段落内容清晰,无需调整。
Summary 段提供了项目背景和目标,结构合理。


32-34: Preparation 标题已更新。
“## 3. Preparation” 及其子标题格式与文档结构一致。


45-48: Docker 拉取镜像示例正确。
示例命令无语法或路径问题。


49-53: Docker 启动容器示例正常。
挂载和端口映射示例清晰可用。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

49-49: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


118-118: 章节标题格式已更新为 “## 4. Examples”。
符合之前反馈要求。

content/en/docs/quickstart/hugegraph-ai/quick_start.md (2)

1-5: 请校验 frontmatter 与 _index.md 同步。
确认 title、linkTitle、weight 与主文档保持一致。


86-99: Mermaid 图表语法正确。
流程示意图可正常渲染,无需调整。

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (7)
content/cn/docs/quickstart/hugegraph-ai/_index.md (7)

1-5: 确认 frontmatter 顺序与英文文档一致
frontmatter 已包含 titlelinkTitleweight,请对照英文版导航顺序,确保 weight 值匹配,从而保证中英文文档在侧边栏的排序一致。


7-10: 精简 blockquote 内部空行
第 8 行为 blockquote 中的空行,建议移除以避免渲染多余间距,保持格式紧凑。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


39-42: 添加镜像与服务器版本兼容性说明
在镜像说明部分,建议标注每个镜像(hugegraph/raghugegraph/rag-bin)对应的 HugeGraph Server 最低兼容版本,帮助用户选择正确组合。


44-47: 补充 Docker 常见故障排查
拉取镜像及运行容器示例之后,可增加常见问题及解决方案,如端口冲突、内存不足、权限等故障排查指引。


61-61: 避免裸露 URL
第 61 行 访问接口 http://localhost:8001 使用裸露 URL,建议改为 [http://localhost:8001](http://localhost:8001),以提升可点击性并符合 Markdown 最佳实践。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

61-61: Bare URL used
null

(MD034, no-bare-urls)


90-90: 避免裸露 URL
第 90 行中的 http://127.0.0.1:8001 建议改为 [http://127.0.0.1:8001](http://127.0.0.1:8001),提高可读性和可点击性。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

90-90: Bare URL used
null

(MD034, no-bare-urls)


107-107: 统一加粗语法
第 107 行 (__可选__) 使用双下划线语法,建议统一改为 (**可选**)(** 可选 **) 以符合通用惯例。

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a8d96d6 and 85a686e.

📒 Files selected for processing (1)
  • content/cn/docs/quickstart/hugegraph-ai/_index.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
content/cn/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~115-~115: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:基本"地"查询
Context: ...ugegraph-llm/quick_start.md)文档来了解如何使用它以及基本的查询逻辑 🚧 ## 4. 示例 ### 4.1 通过 LLM 在 Hu...

(wb4)

🪛 markdownlint-cli2 (0.17.2)
content/cn/docs/quickstart/hugegraph-ai/_index.md

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


61-61: Bare URL used
null

(MD034, no-bare-urls)


90-90: Bare URL used
null

(MD034, no-bare-urls)


106-106: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


106-106: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


110-110: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


110-110: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)

🔇 Additional comments (1)
content/cn/docs/quickstart/hugegraph-ai/_index.md (1)

83-87: 确认依赖安装步骤一致性
uv pip install -e . 已与英文版保持一致,符合预期,无需调整。

Comment on lines +73 to +77
    ```bash
    # 如果遇到网络问题,可以尝试使用 pipx 或 pip 安装 uv,详情请参阅 uv 文档
    curl -LsSf [https://astral.sh/uv/install.sh](https://astral.sh/uv/install.sh) | sh  - # 安装最新版本,如 0.7.3+
    ```

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

修正 curl 命令中的方括号
第 75 行示例命令多余地将 URL 用 [] 包裹,执行时会报错,建议按下述方式修改:

- curl -LsSf [https://astral.sh/uv/install.sh] | sh  -
+ curl -LsSf https://astral.sh/uv/install.sh | sh  -

Committable suggestion skipped: line range outside the PR's diff.

🤖 Prompt for AI Agents
In content/cn/docs/quickstart/hugegraph-ai/_index.md around lines 73 to 77, the
curl command incorrectly includes square brackets around the URL, which causes
execution errors. Remove the square brackets from the URL in the curl command so
it reads as a plain URL without any enclosing characters.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

♻️ Duplicate comments (1)
content/en/docs/quickstart/hugegraph-ai/_index.md (1)

26-31: 补充硬件资源需求
“Environment Requirements” 中缺少最低系统资源说明(如最低 4 GB RAM、至少 2 CPU 核心),对生产部署尤为重要。

🧹 Nitpick comments (9)
content/cn/docs/quickstart/hugegraph-ai/_index.md (3)

1-5: 建议在中文页面中添加中文标题
当前文档 titlelinkTitle 均为英文 “HugeGraph-AI”,建议为中文页面补充中文标题(如“HugeGraph-AI 快速开始”),以提升本地化一致性和用户体验。


7-8: 移除引用块内的空白行或保持 > 前缀一致
第 8 行在两个引用之间留有未加 > 的空白行,打断了连续引用。建议要么在空行前后都加上 >,要么将两段合并为一个引用块。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


61-61: 规范裸露 URL
第 61 行的 http://localhost:8001 为裸露 URL,建议改为 <http://localhost:8001> 或使用 Markdown 链接格式以通过校验。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

61-61: Bare URL used
null

(MD034, no-bare-urls)

content/en/docs/quickstart/hugegraph-ai/_index.md (6)

36-44: 统一列表缩进风格
多处无序列表使用了不一致的缩进(3 或 5 个空格),建议统一改为常见的 2 或 4 个空格,以提升可读性。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

38-38: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


39-39: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


40-40: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


42-42: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


44-44: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


50-53: 优化本地路径占位符
挂载示例中使用了 path2project/hugegraph-llm/.env,建议统一采用 /path/to/.env${PWD}/.env 等更通用的写法,便于读者按需替换。


62-62: 格式化裸露 URL
第 62 行的 http://localhost:8001 建议改为 <http://localhost:8001> 或链接形式,以符合 Markdown 校验。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

62-62: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


62-62: Bare URL used
null

(MD034, no-bare-urls)


91-91: 格式化裸露 URL
第 91 行的 http://127.0.0.1:8001 建议改为 <http://127.0.0.1:8001> 或链接形式。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

91-91: Bare URL used
null

(MD034, no-bare-urls)


107-107: Markdown 强调样式不一致
此处使用了 __Optional__,建议统一改为 **Optional**,符合星号强调风格。

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


110-110: Markdown 强调样式不一致
同上,这里也应将 __Optional__ 改为 **Optional**

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 85a686e and f4cfc89.

📒 Files selected for processing (2)
  • content/cn/docs/quickstart/hugegraph-ai/_index.md (1 hunks)
  • content/en/docs/quickstart/hugegraph-ai/_index.md (5 hunks)
🧰 Additional context used
🪛 LanguageTool
content/cn/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~115-~115: 动词的修饰一般为‘形容词(副词)+地+动词’。您的意思是否是:基本"地"查询
Context: ...ugegraph-llm/quick_start.md)文档来了解如何使用它以及基本的查询逻辑 🚧 ## 4. 示例 ### 4.1 通过 LLM 在 Hu...

(wb4)

content/en/docs/quickstart/hugegraph-ai/_index.md

[uncategorized] ~66-~66: Possible missing preposition found.
Context: ...ost:8001 ### 3.2 Build from Source 1. Start the HugeGraph database, you can run it ...

(AI_HYDRA_LEO_MISSING_TO)

🪛 markdownlint-cli2 (0.17.2)
content/cn/docs/quickstart/hugegraph-ai/_index.md

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


61-61: Bare URL used
null

(MD034, no-bare-urls)


90-90: Bare URL used
null

(MD034, no-bare-urls)


106-106: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


106-106: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


110-110: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


110-110: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)

content/en/docs/quickstart/hugegraph-ai/_index.md

8-8: Blank line inside blockquote
null

(MD028, no-blanks-blockquote)


38-38: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


39-39: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


40-40: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


42-42: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


44-44: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


49-49: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


54-54: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


62-62: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


62-62: Bare URL used
null

(MD034, no-bare-urls)


91-91: Bare URL used
null

(MD034, no-bare-urls)


107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


107-107: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


111-111: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)


111-111: Strong style
Expected: asterisk; Actual: underscore

(MD050, strong-style)

🔇 Additional comments (1)
content/en/docs/quickstart/hugegraph-ai/_index.md (1)

216-216: 验证参数名称一致性
示例中将 max_items 更名为 max_graph_items,请确认项目中所有示例与实现均已同步更新,避免示例与实现在参数名称上的不一致。

Comment on lines +25 to +30
## 2. 环境要求
> [!IMPORTANT]
> - python 3.10+ (未在 3.12 中测试)
> - hugegraph-server 1.3+ (建议使用 1.5+)
> - uv 0.7+

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

补充最低系统资源要求
“环境要求”中只列出了 Python、HugeGraph Server 和 uv 版本,缺少硬件资源说明(如最低 4 GB RAM、至少 2 CPU 核心),建议补充以帮助生产环境部署评估。

🤖 Prompt for AI Agents
In content/cn/docs/quickstart/hugegraph-ai/_index.md around lines 25 to 30, the
environment requirements section currently lists only software versions but
lacks minimum hardware resource specifications. Add details about minimum system
resources such as at least 4 GB of RAM and 2 CPU cores to provide clearer
guidance for production environment deployment.

Comment on lines +79 to +81
    ```bash
    git clone [https://github.com/apache/incubator-hugegraph-ai.git](https://github.com/apache/incubator-hugegraph-ai.git)
    ```
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

移除 git clone 命令中的 Markdown 链接语法
第 80–81 行的克隆命令不应使用 [url](url) 形式,建议改为:

git clone https://github.com/apache/incubator-hugegraph-ai.git
🤖 Prompt for AI Agents
In content/cn/docs/quickstart/hugegraph-ai/_index.md around lines 79 to 81, the
git clone command uses Markdown link syntax which is incorrect for shell
commands. Remove the square brackets and parentheses so the command is a plain
URL, changing it to: git clone
https://github.com/apache/incubator-hugegraph-ai.git.

2. 配置 uv 环境,使用官方安装器安装 uv,其他安装方法请参见 [uv 文档](https://docs.astral.sh/uv/configuration/installer/)。
    ```bash
    # 如果遇到网络问题,可以尝试使用 pipx 或 pip 安装 uv,详情请参阅 uv 文档
    curl -LsSf [https://astral.sh/uv/install.sh](https://astral.sh/uv/install.sh) | sh  - # 安装最新版本,如 0.7.3+
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

修复 curl 命令中的方括号
第 75 行示例多余地将 URL 用 [] 包裹,会导致执行失败。应改为:

curl -LsSf https://astral.sh/uv/install.sh | sh -
🤖 Prompt for AI Agents
In content/cn/docs/quickstart/hugegraph-ai/_index.md at line 75, the curl
command incorrectly includes square brackets around the URL, which causes
execution failure. Remove the square brackets so the command reads: curl -LsSf
https://astral.sh/uv/install.sh | sh - to fix the issue.

## 1 HugeGraph-AI Overview
hugegraph-ai aims to explore the integration of HugeGraph and artificial intelligence (AI), including applications combined
with large models, integration with graph machine learning components, etc., to provide comprehensive support for developers to use HugeGraph's AI capabilities in projects.
> Please refer to the AI repository [README](https://github.com/apache/incubator-hugegraph-ai/tree/main/hugegraph-llm#readme) for the most up-to-date documentation, and the official website **regularly** is updated and synchronized.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

改进引用语句的表达
当前引用过长且结构不够清晰,建议修改为:

Please refer to the AI repository README for the most up-to-date documentation. The official website is regularly updated and synchronized.

🤖 Prompt for AI Agents
In content/en/docs/quickstart/hugegraph-ai/_index.md at line 7, the current
sentence is too long and unclear. Split the sentence into two clearer sentences:
one directing readers to the AI repository README for the latest documentation,
and a second stating that the official website is regularly updated and
synchronized. This improves readability and clarity.

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.

3 participants