MCPcopy Create free account
hub / github.com/M66B/FairEmail / toString

Method toString

app/src/main/java/eu/faircode/email/OpenAI.java:353–364  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

351 }
352
353 @NonNull
354 @Override
355 public String toString() {
356 StringBuilder sb = new StringBuilder();
357 if (this.content != null)
358 for (Content c : this.content) {
359 if (sb.length() > 0)
360 sb.append(", ");
361 sb.append(c.type).append(':').append(c.content);
362 }
363 return this.role + ": " + sb;
364 }
365 }
366
367 static class Embedding {

Callers 2

callMethod · 0.45
getMethod · 0.45

Calls 2

lengthMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected