Scrapegraph-ai icon indicating copy to clipboard operation
Scrapegraph-ai copied to clipboard

feat: add deepseek-chat

Open zx9597446 opened this issue 9 months ago • 1 comments

please add deepseek-chat from deepseek.com

expose openai_base_url should work.

model name: deepseek-chat

they provide 5M token for free. thanks.

zx9597446 avatar May 11 '24 13:05 zx9597446

I'm working on this with @VinciGit00 's supervision. We'll figure this out soon.

f-aguzzi avatar May 11 '24 17:05 f-aguzzi

hi, it's in the pre/beta branch. install from there

VinciGit00 avatar May 12 '24 07:05 VinciGit00

:tada: This issue has been resolved in version 0.11.0-beta.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar May 12 '24 07:05 github-actions[bot]

check it out please https://github.com/VinciGit00/Scrapegraph-ai/blob/pre/beta/examples/deepseek/smart_scarper_deepseek.py

VinciGit00 avatar May 12 '24 18:05 VinciGit00

:tada: This issue has been resolved in version 0.11.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar May 14 '24 15:05 github-actions[bot]

there are 2 issues here:

  1. abstract_graph.py needs to import DeepSeek: from scrapegraphai.models.deepseek import DeepSeek

  2. Deepseek no embedding provided, so examples needs local embedding instead.

zx9597446 avatar May 15 '24 02:05 zx9597446