← All examples
26 / 100
Jev Workspace taxonomy Code Example
Suggest a useful project category from its actual contents.
Q4 release retrospective
Project Q4 release retrospective
Documents Incident review, release notes, action items
Where does this project belong?
0%
Engineering.
Let the application engineering.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"project": "Q4 release retrospective",
"documents": "Incident review, release notes, action items"
};
const decision = await evaluateDecision({
state,
question: "Where does this project belong?",
options: ["Engineering","Marketing","Unclassified"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Engineering"
&& decision.probability >= 0.85) {
suggestProjectCategory(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.