mindee
Version:
Mindee Client Library for Node.js
21 lines (20 loc) • 789 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.InferenceActiveOptions = void 0;
class InferenceActiveOptions {
constructor(serverResponse) {
this.rag = serverResponse["rag"];
this.rawText = serverResponse["raw_text"];
this.polygon = serverResponse["polygon"];
this.confidence = serverResponse["confidence"];
}
toString() {
return "Active Options\n" +
"==============\n" +
`:Raw Text: ${this.rawText ? "True" : "False"}\n` +
`:Polygon: ${this.polygon ? "True" : "False"}\n` +
`:Confidence: ${this.confidence ? "True" : "False"}\n` +
`:RAG: ${this.rag ? "True" : "False"}\n`;
}
}
exports.InferenceActiveOptions = InferenceActiveOptions;
;