Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmosShadow committed Aug 1, 2024
1 parent 5dcf3cb commit 1244c4a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ pip install gptpdf

## Usage

### Local Usage

```python
from gptpdf import parse_pdf
api_key = 'Your OpenAI API Key'
Expand All @@ -55,6 +57,14 @@ print(content)
See more in [test/test.py](test/test.py)



### Google Colab

see [examples/gptpdf_Quick_Tour.ipynb](examples/gptpdf_Quick_Tour.ipynb)




## API

### parse_pdf
Expand Down Expand Up @@ -124,7 +134,8 @@ Parses a PDF file into a Markdown file and returns the Markdown content along wi
prompt=prompt,
verbose=False,
)

```

- **args"": LLM other parameters, such as `temperature`, `top_p`, `max_tokens`, `presence_penalty`, `frequency_penalty`, etc.

## Join Us 👏🏻
Expand Down
8 changes: 8 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ pip install gptpdf

## 使用

### 本地安装使用

```python
from gptpdf import parse_pdf

Expand All @@ -46,6 +48,12 @@ print(content)

更多内容请见 [test/test.py](test/test.py)

### Google Colab

详情见 [examples/gptpdf_Quick_Tour.ipynb](examples/gptpdf_Quick_Tour.ipynb)



## API

### parse_pdf
Expand Down

0 comments on commit 1244c4a

Please sign in to comment.