mirror of
https://gitee.com/agents-flex/agents-flex.git
synced 2024-12-02 03:48:11 +08:00
test: SparkLlmTest.java
This commit is contained in:
parent
bc61dfbe3a
commit
8096efb8e7
@ -19,6 +19,7 @@ public class SparkLlmTest {
|
||||
config.setAppId("****");
|
||||
config.setApiKey("****");
|
||||
config.setApiSecret("****");
|
||||
config.setVersion("v3.5");
|
||||
|
||||
Llm llm = new SparkLlm(config);
|
||||
String result = llm.chat("你好,请问你是谁?");
|
||||
@ -53,6 +54,7 @@ public class SparkLlmTest {
|
||||
config.setAppId("****");
|
||||
config.setApiKey("****");
|
||||
config.setApiSecret("****");
|
||||
config.setVersion("v3.5");
|
||||
|
||||
Llm llm = new SparkLlm(config);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user