This commit is contained in:
2025-08-27 19:57:43 +08:00
parent 6b0b9dcd0e
commit 268f6edcf6

View File

@@ -0,0 +1,16 @@
package com.agentsflex.llm.gitee;
import com.agentsflex.core.document.Document;
import com.agentsflex.core.store.VectorData;
public class GiteeAiEmbeddingTest {
public static void main(String[] args) {
GiteeAiLlmConfig config = new GiteeAiLlmConfig();
config.setApiKey("your-api-key");
GiteeAiLlm llm = new GiteeAiLlm(config);
VectorData result = llm.embed(Document.of("你好"));
System.out.println(result);
}
}