Skip to content

Commit

Permalink
Qwen Support
Browse files Browse the repository at this point in the history
  • Loading branch information
zRzRzRzRzRzRzR committed Jul 9, 2024
1 parent fc1576c commit 4cd9cd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ Parses a PDF file into a Markdown file and returns the Markdown content along wi

- **model**: *str*, default: 'gpt-4o'
OpenAI API formatted multimodal large model. If you need to use other models, such as:
- [qwen-vl-max](https://help.aliyun.com/zh/dashscope/developer-reference/vl-plus-quick-start) (untested)
- [GLM-4V](https://open.bigmodel.cn/dev/api#glm-4v) (tested)
- [Yi-Vision](https://platform.lingyiwanwu.com/docs) (tested)
- [qwen-vl-max](https://help.aliyun.com/zh/dashscope/developer-reference/vl-plus-quick-start)
- [GLM-4V](https://open.bigmodel.cn/dev/api#glm-4v)
- [Yi-Vision](https://platform.lingyiwanwu.com/docs)
- Azure OpenAI, by setting the `base_url` to `https://xxxx.openai.azure.com/` to use Azure OpenAI, where `api_key` is the Azure API key, and the model is similar to `azure_xxxx`, where `xxxx` is the deployed model name (tested).

- **verbose**: *bool*, default: False
Expand Down
6 changes: 3 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ def parse_pdf(
类接口的其他大模型服务,例如`GLM-4V`

- **model***str*,默认值:'gpt-4o'。OpenAI API 格式的多模态大模型。如果需要使用其他模型,例如
- [qwen-vl-max](https://help.aliyun.com/zh/dashscope/developer-reference/vl-plus-quick-start)(尚未测试)
- [GLM-4V](https://open.bigmodel.cn/dev/api#glm-4v)(已测试)
- [Yi-Vision](https://platform.lingyiwanwu.com/docs) (已测试)
- [qwen-vl-max](https://help.aliyun.com/zh/dashscope/developer-reference/vl-plus-quick-start)
- [GLM-4V](https://open.bigmodel.cn/dev/api#glm-4v)
- [Yi-Vision](https://platform.lingyiwanwu.com/docs)
- Azure OpenAI,通过将 `base_url` 指定为 `https://xxxx.openai.azure.com/` 来使用 Azure OpenAI,`api_key` 是 Azure API
密钥,模型类似于 `azure_xxxx`,其中 `xxxx` 是部署的模型名称(已测试)。

Expand Down

0 comments on commit 4cd9cd6

Please sign in to comment.