Skip to content

Commit

Permalink
v0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmosShadow committed Jul 5, 2024
1 parent 8a21c8f commit 83badd1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ This package use [GeneralAgent](https://github.com/CosmosShadow/GeneralAgent) li

## DEMO

See [examples/attention_is_all_you_need/output.md](examples/attention_is_all_you_need/output.md) for PDF [examples/attention_is_all_you_need.pdf](examples/attention_is_all_you_need.pdf).
1. [examples/attention_is_all_you_need/output.md](examples/attention_is_all_you_need/output.md) for PDF [examples/attention_is_all_you_need.pdf](examples/attention_is_all_you_need.pdf).


2. [examples/rh/output.md](examples/rh/output.md) for PDF [examples/rh.pdf](examples/rh.pdf).


## Installation

Expand Down Expand Up @@ -121,6 +123,12 @@ Parses a PDF file into a Markdown file and returns the Markdown content along wi
prompt=prompt,
verbose=False,
)

## Version

- 0.0.9: Optimize pdf parsing process, better parsing effect
- 0.0.2 - 0.0.8: Add gpt_worker parameter;Add GLM-4V, Azure OpenAI support; Fix some bugs
- 0.0.1: First version

## Join Us 👏🏻

Expand Down
7 changes: 7 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ def parse_pdf(
```
您不需要替换所有的提示词,如果您没有传入自定义提示词,仓库会自动使用默认的提示词。默认提示词使用的是中文,如果您的PDF文档是英文的,或者您的模型不支持中文,建议您自定义提示词。


## 版本

- 0.0.9: 优化 PDF 解析流程,解析效果更好
- 0.0.2 - 0.0.8: 添加 gpt_worker 参数;添加 GLM-4V、Azure OpenAI 支持;修复一些 bug
- 0.0.1: 第一个版本

## 加入我们👏🏻

使用微信扫描下方二维码,加入微信群聊,或参与贡献。
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gptpdf"
version = "0.0.8"
version = "0.0.9"
description = "Using GPT to parse PDF"
authors = ["Chen Li <lichenarthurdata@gmail.com>"]
license = "Apache 2.0"
Expand Down

0 comments on commit 83badd1

Please sign in to comment.