Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
7d9221d6
Unverified
Commit
7d9221d6
authored
Sep 03, 2024
by
icecraft
Committed by
GitHub
Sep 03, 2024
Browse files
fix: typo error in markdown (#536)
Co-authored-by:
icecraft
<
xurui1@pjlab.org.cn
>
parent
a7e615ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
projects/llama_index_rag/README.md
projects/llama_index_rag/README.md
+4
-3
No files found.
projects/llama_index_rag/README.md
View file @
7d9221d6
...
@@ -35,7 +35,7 @@ export ES_PASSWORD={some_es_password}
...
@@ -35,7 +35,7 @@ export ES_PASSWORD={some_es_password}
export ES_URL=http://{es_url}:9200
export ES_URL=http://{es_url}:9200
```
```
DASHSCOPE_API_KEY
的
开通参考
[
文档
](
https://help.aliyun.com/zh/dashscope/opening-service
)
DASHSCOPE_API_KEY 开通参考
[
文档
](
https://help.aliyun.com/zh/dashscope/opening-service
)
## 使用
## 使用
...
@@ -70,6 +70,7 @@ docker-compose up -d
...
@@ -70,6 +70,7 @@ docker-compose up -d
export
ES_USER
=
elastic
export
ES_USER
=
elastic
export
ES_PASSWORD
=
llama_index
export
ES_PASSWORD
=
llama_index
export
ES_URL
=
http://127.0.0.1:9200
export
ES_URL
=
http://127.0.0.1:9200
export
DASHSCOPE_API_KEY
={
some_key
}
# 导入数据
# 导入数据
...
@@ -102,7 +103,7 @@ from magic_pdf.integrations.rag.type import Node
...
@@ -102,7 +103,7 @@ from magic_pdf.integrations.rag.type import Node
class
RagPageReader
:
class
RagPageReader
:
def
get_rel_map
(
self
)
->
list
[
ElementRelation
]:
def
get_rel_map
(
self
)
->
list
[
ElementRelation
]:
# 获取节点
的
间的关系
# 获取节点间的关系
pass
pass
...
...
...
@@ -123,7 +124,7 @@ class DataReader:
...
@@ -123,7 +124,7 @@ class DataReader:
def
get_document_filename
(
self
,
idx
:
int
)
->
Path
:
def
get_document_filename
(
self
,
idx
:
int
)
->
Path
:
"""获取某个 pdf 的具体
的
路径"""
"""获取某个 pdf 的具体路径"""
pass
pass
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment