Closed fanjia1024 closed 2 days ago
There is now support for QianFan does this meet your needs?
@mxsl-gr What are your thoughts?
@markpollack Sorry, I've been busy with other projects lately. I didn't notice this issue when implementing the QianFan model, i think can be closed.
Hi, @fanjia1024 the version 1.0.0-M2
has not been released yet. I suggest you pull the main
branch code, run mvn install
or mvn deploy
it to your private repo, and use version 1.0.0-SNAPSHOT
.
for QianFan's specific configurations, you can refer to the documentation at /spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/qianfan-chat.adoc
Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested.
Expected Behavior
package baidu.com;
import okhttp3.*; import org.json.JSONObject;
import java.io.*;
/**
class Sample { public static final String API_KEY = "R0LQW1U1nD8zDB1vWNuSjKWs"; public static final String SECRET_KEY = "nH1t28SijaehHDGxtFoQQHFtzJt5qqWE";
}
Current Behavior
now The current springai does not support Qianfan's ERNIE Bot model
Context
Now we use Qianfan's ERNIE Bot, but it can't be integrated through springai I hope to integrate using the starter approach in Springai so that I can use more large models to complete the development of intelligent agents Now we can use the SDK provided by Qianfan, but we need to do a lot of compatibility work, which is not a good design. The current Langchain4j has already been integrated, but we have chosen Springai as our preferred framework