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

Method text

samples/QwenLiveUsage.java:227–230  ·  view source on GitHub ↗
(JsonObject event, String field)

Source from the content-addressed store, hash-verified

225 }
226
227 private static String text(JsonObject event, String field) {
228 JsonElement value = event.get(field);
229 return value != null && value.isJsonPrimitive() ? value.getAsString() : null;
230 }
231
232 private static class SampleCallback extends QwenLiveCallback {
233 @Override

Callers 15

simulateExternalAgentMethod · 0.95
streamCallMethod · 0.80
onEventMethod · 0.80
basicCallMethod · 0.80
localFileCallMethod · 0.80
syncCallMethod · 0.80
syncCallWithUrlMethod · 0.80
customParametersMethod · 0.80
testMultiModalRequestMethod · 0.80
callMethod · 0.80
streamCallMethod · 0.80

Calls 1

getMethod · 0.45

Tested by 4

testMultiModalRequestMethod · 0.64
testSendAndReceiveMethod · 0.64
testFlowCallMethod · 0.64
buildRagResultMethod · 0.64