Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我在windows平台使用pip安装的Pdf2zh,但没有看到deepseek? #395

Open
LifeNT opened this issue Jan 3, 2025 · 6 comments
Open

Comments

@LifeNT
Copy link

LifeNT commented Jan 3, 2025

如题
我在windows平台使用pip安装的Pdf2zh,但没有看到deepseek?

@hellofinch
Copy link
Contributor

1.8.8版本的时候还没有deepseek,可以通过openAI把对应的url,api key和model填上使用。
请静候新版本发布。
: )

@ccdanpian
Copy link

我暂时使用的临时环境变量的方法解决的,希望官方直接出一个完整方案。

        # 设置临时环境变量
        os.environ['OPENAI_API_KEY'] = api_key
        os.environ['OPENAI_BASE_URL'] = base_url
        os.environ['OPENAI_MODEL'] = model
        translate_params['service'] = service

@hellofinch
Copy link
Contributor

新版本里会有,已经添加了相关的支持。
: )

@myronkharkover
Copy link

When will the new version be released? I added Groq support, but is not accessible via API yet.

@hellofinch
Copy link
Contributor

Not sure. BTW, OpenAI-compatible API can use OpenAI service. This can reduce the workload for maintainers in adapting to various large model APIs. OpenAI's API is gradually becoming the mainstream API format.

@happinessTech
Copy link

请尽快加上 deepseek.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants