sobelio / llm-chain

`llm-chain` is a powerful rust crate for building chains in large language models allowing you to summarise text and complete complex tasks
https://llm-chain.xyz
MIT License
1.27k stars 127 forks source link

Baidu Qianfan/Ernie backend #287

Open chenwanqq opened 2 months ago

chenwanqq commented 2 months ago

Hello llm-chain maintainers,

I have been working on integrating Baidu Qianfan (also known as ernie/Wenxin) platform into llm-chain project, and I believe this addition will greatly enhance our project's capabilities. The integration allows users to seamlessly access and utilize models hosted on the Baidu Qianfan platform.

The integration, named llm_chain_ernie, is powered by the erniebot-rs RUST SDK. Currently, it primarily supports chat models, but I have plans to add support for embedding models and conduct extensive testing in the near future.

I would greatly appreciate it if you could take some time to review the code and provide feedback. (Maybe this request is too official^^ because it is generated by Wenxin Yiyan LLM.