Skip to content

Conversation

@mxsl-gr
Copy link
Contributor

@mxsl-gr mxsl-gr commented May 22, 2024

Hi, this PR is add QianFan model client and has passed unit testing.

I can provide my api_key if needed for testing

the PR content:

  • chat client
  • embedding client
  • spring starter
  • unit test
  • chat client documents
  • embedding client documents

For some reasons, products from OpenAI and others can't be directly used in Chinese Mainland.

QianFan is a big model platform, A variety of models are offered, among which ERNIE Speed and ERNIE Lite are fully free. Although their API design is quite strange.

the link: QianFan

If they can supported, it will further aid spring-ai to promotion in Chinese Mainland.

If necessary, I can take care of subsequent maintenance since I'm currently using them.

The DeepSeek PR is #702
The Moonshot PR is #596

@markpollack markpollack added this to the 1.0.0-M2 milestone May 24, 2024
@mxsl-gr mxsl-gr force-pushed the feature/model-client-qianfan branch from 24839d2 to e0a8177 Compare June 4, 2024 18:49
@mxsl-gr
Copy link
Contributor Author

mxsl-gr commented Jun 4, 2024

update content:

  • add unit test
  • add image client
  • add image documents
  • model client refactor
  • squash commits.

@mxsl-gr mxsl-gr force-pushed the feature/model-client-qianfan branch 2 times, most recently from dbef1e9 to e8bf2aa Compare June 5, 2024 02:49
@mxsl-gr mxsl-gr force-pushed the feature/model-client-qianfan branch from e8bf2aa to 01809e4 Compare June 20, 2024 07:28
@markpollack
Copy link
Member

merged in 997e01c

tx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants