Skip to content

Commit

Permalink
Merge pull request #40 from gomate-community/pipeline
Browse files Browse the repository at this point in the history
Pipeline
  • Loading branch information
yanqiangmiffy authored Jul 5, 2024
2 parents 3423500 + b2ebe0b commit 7091811
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,7 @@ app后台日志:

[![Star History Chart](https://api.star-history.com/svg?repos=gomate-community/GoMate&type=Date)](https://star-history.com/#gomate-community/GoMate&Date)

## 技术咨询
WeChat:1185918903
## 研究与开发团队
本项目由网络数据科学与技术重点实验室[`GoMate`](https://github.com/gomate-community)团队完成,团队指导老师为郭嘉丰、范意兴研究员。

GoMate技术交流群可添加:1185918903(微信)
6 changes: 6 additions & 0 deletions examples/parsers/common_parser.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from gomate.modules.document.common_parser import CommonParser


cp=CommonParser()
content=cp.parse('/data/users/searchgpt/yq/GoMate_dev/data/docs/Agent.docx')
print(content)
2 changes: 1 addition & 1 deletion examples/parsers/pdfparser_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

if __name__ == '__main__':
parser=PdfParserUsingPyMuPDF(max_chunk_size=1000)
chunks=parser.get_chunks(filepath="../../data/docs/汽车操作手册.pdf")
chunks=parser.parse(fnm="../../data/docs/汽车操作手册.pdf")
print(len(chunks))
for chunk in chunks:
print(chunk)

0 comments on commit 7091811

Please sign in to comment.