Hi, this PR is add MiniMax model client and has passed unit testing. I can provide my api_key if needed for testing

the PR content:

  • MiniMax chat client and function calls (not yet supported to return multiple function calls at once)
  • MiniMax embedding client
  • spring starter
  • unit test
  • chat client documents
  • embedding client documents

MiniMax is a popular LLM in China Mainland recently, the link: MiniMax

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

However ZhiPuAI, Moonshot, MiniMax, BaiChuanAI are referred to as the Four Dragons of China's LLM.

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 Moonshot PR is #596 The ZhiPuAI PR is #623

I'll also provide PR for BaiChuan later.

Comment From: markpollack

Thanks, it has taken a long time for me to get to this but I am reviewing now. Thanks for such a comprehensive PR!

Comment From: markpollack

@mxsl-gr I have sent you an email as I am not able to get an API key on the minimax web site. I enter my phone number to get a verification code, but the code never comes.

Comment From: markpollack

I've merged the PR in 6b674014ed942c14a05bf4603eca14fc192466a1 Please review the comments above that were not address in the merge.

Much thanks again

Comment From: mxsl-gr

@mxsl-gr I have sent you an email as I am not able to get an API key on the minimax web site. I enter my phone number to get a verification code, but the code never comes.

@markpollack Regarding the inability to receive verification codes from MiniMax or other model providers, it may be that they are only integrated with SMS providers in mainland China, and phone numbers from other countries or regions cannot receive the messages.

In my email reply, I have provided the test API keys for MiniMax, Moonshot, and DeepSeek.