Skip to content

Commit

Permalink
docs(hg-ai): fix img link (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
returnToInnocence authored Nov 6, 2024
1 parent 19ea920 commit 79fc863
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file modified content/cn/docs/images/gradio-kg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions content/cn/docs/quickstart/hugegraph-ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ hugegraph-ai 旨在探索 HugeGraph 与人工智能(AI)的融合,包括与
- 如果已经存在图数据,你应该点击 "**Rebuild vid Index**" 来更新索引


![gradio 配置](https://github.com/apache/incubator-hugegraph-doc/blob/master/content/cn/docs/images/gradio-kg.png?raw=true)
![gradio-config](/docs/images/gradio-kg.png)

##### 4.1.2 通过代码构建知识图谱

Expand All @@ -93,7 +93,7 @@ hugegraph-ai 旨在探索 HugeGraph 与人工智能(AI)的融合,包括与
.run()
)
```
![gradio-config](https://hugegraph.apache.org/docs/images/kg-uml.png)
![gradio-config](/docs/images/kg-uml.png)
2. **导入架构**`import_schema` 方法用于从源导入架构。源可以是 HugeGraph 实例、用户定义的模式或提取结果。可以链接 `print_result` 方法来打印结果。
```python
# Import schema from a HugeGraph instance
Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/quickstart/hugegraph-ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ with large models, integration with graph machine learning components, etc., to
- Graph extract head: The user-defined prompt of graph extracting
- If already exist the graph data, you should click "**Rebuild vid Index**" to update the index

![gradio-config](https://github.com/apache/incubator-hugegraph-doc/blob/master/content/cn/docs/images/gradio-kg.png?raw=true)
![gradio-config](/docs/images/gradio-kg.png)

#### 4.1.2 Build a knowledge graph through code

Expand All @@ -109,7 +109,7 @@ This can be obtained from the `LLMs` class.
.run()
)
```
![gradio-config](https://hugegraph.apache.org/docs/images/kg-uml.png)
![gradio-config](/docs/images/kg-uml.png)
2. **Import Schema**: The `import_schema` method is used to import a schema from a source. The source can be a HugeGraph instance, a user-defined schema or an extraction result. The method `print_result` can be chained to print the result.
```python
# Import schema from a HugeGraph instance
Expand Down

0 comments on commit 79fc863

Please sign in to comment.