MCPcopy Create free account
hub / github.com/dashscope/dashscope-sdk-java / onEvent

Method onEvent

samples/TextEmbeddingUsage.java:34–37  ·  view source on GitHub ↗
(TextEmbeddingResult message)

Source from the content-addressed store, hash-verified

32 textEmbedding.call(param, new ResultCallback<TextEmbeddingResult>() {
33
34 @Override
35 public void onEvent(TextEmbeddingResult message) {
36 System.out.println(message);
37 }
38 @Override
39 public void onComplete(){
40 sem.release();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected