Recipe catalog / motivation-source
Identify a stated source of motivation
motivation-source is a Jev recipe from the jev-recipes TypeScript package. Label a stated reason for an activity as intrinsic enjoyment, a separate outcome, both, or not stated. Use it when you need to classify a stated reason for an activity as enjoyment of doing it or pursuit of a separate outcome.
Last updated .
Explore this recipe interactively · Source and implementation guide · Markdown version
How do I use motivation-source in TypeScript?
Install with npm install jev-recipes. Requires Node.js 22.9 or newer and ES modules. Set TYPESAFE_API_KEY in your server environment for live calls, which send input to TypeSafe and use API quota. See the installation guide.
import { motivationSource } from 'jev-recipes/motivation-source';
const result = await motivationSource({
"activity": "Alex solves puzzles.",
"statement": "Alex says: \"I solve puzzles because I enjoy the challenge itself.\""
});
console.log(result);
What input does motivation-source take?
| Field | Type | Needed |
|---|---|---|
| activity | string | Required |
| statement | string | Required |
| context | string | Optional |
| minConfidence | number | Optional |
Full input and result schemas
{
"input": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"activity": {
"type": "string",
"description": "One focal activity and its actor when needed to distinguish whose stated reason is being classified."
},
"statement": {
"type": "string",
"description": "Text stating or reporting why the actor does the activity."
},
"context": {
"type": "string",
"description": "Supplied speaker identities or references needed to interpret the stated reason."
},
"minConfidence": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"activity",
"statement"
]
},
"result": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"model": {
"type": "string"
},
"usage": {
"type": "object",
"properties": {
"input_tokens": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"output_tokens": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"input_tokens",
"output_tokens"
],
"additionalProperties": false
},
"status": {
"type": "string",
"enum": [
"ready",
"review"
]
},
"verdict": {
"type": "string",
"enum": [
"intrinsic",
"extrinsic",
"mixed",
"not_stated",
"unclear"
]
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"probabilities": {
"type": "object",
"propertyNames": {
"type": "string",
"enum": [
"intrinsic",
"extrinsic",
"mixed",
"not_stated",
"unclear"
]
},
"additionalProperties": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"required": [
"intrinsic",
"extrinsic",
"mixed",
"not_stated",
"unclear"
]
}
},
"required": [
"model",
"usage",
"status",
"verdict",
"confidence",
"probabilities"
],
"additionalProperties": false
}
}What does a motivation-source result look like?
This hand-authored response demonstrates the contract. It is not a model accuracy measurement. Run it without an API key: npx jev-recipes demo motivation-source.
{
"model": "demo-fixture",
"usage": {
"input_tokens": 0,
"output_tokens": 0
},
"status": "ready",
"verdict": "intrinsic",
"confidence": 0.96,
"probabilities": {
"intrinsic": 0.96,
"extrinsic": 0.01,
"mixed": 0.01,
"not_stated": 0.01,
"unclear": 0.01
}
}
Input
Supply one activity and a statement saying or reporting why it is done. Identify the actor in activity when several people are mentioned. Optional context resolves speakers or references; it does not supply motives absent from the statement.
All supplied text must be non-empty. minConfidence defaults to 0.8 and accepts values from 0 to 1. See shared options and behavior for client configuration, validation, and errors.
Result
| Verdict | Meaning |
|---|---|
intrinsic |
The stated reason is interest, enjoyment, or satisfaction in doing the activity itself. |
extrinsic |
The stated reason is obtaining or avoiding a separate outcome. |
mixed |
Both kinds of reason are offered together. |
not_stated |
The activity is clear, but no reason for doing it is given. |
unclear |
References, alternatives, the causal link, or the activity boundary are unresolved. |
The result has status: 'ready' when confidence meets minConfidence and the verdict is not unclear. Otherwise it has status: 'review'. An unclear verdict always requires review, even at full confidence with a zero threshold. Other verdicts, including the absence of a frame or reason, can be ready. Confidence describes the annotation decision, not the strength of a psychological effect.
Decision boundaries
These are authored policy examples, not human-adjudicated labels or measured model accuracy. These examples classify the reason given for the named activity. They do not verify whether a person actually has that motive.
| Supplied wording | Intended verdict |
|---|---|
| "I solve puzzles because I enjoy the challenge itself." | intrinsic |
| "I solve puzzles to win the prize." | extrinsic |
| "I solve puzzles because they are fun and I want the prize." | mixed |
| "I solve puzzles for the prize, not because I enjoy them." | extrinsic |
| "I study so I will not feel ashamed of my grade." An internal feeling can still be a separate outcome. | extrinsic |
| "I freely choose to study because the qualification helps my career." Freely chosen does not mean intrinsic. | extrinsic |
| "I solve puzzles every evening." | not_stated |
| "There is a prize for solving puzzles." No reason is attributed to the focal actor. | not_stated |
| "I enjoy puzzles." Enjoyment is stated, but no participation or reason for it is given. | not_stated |
| "I do not solve puzzles for money." No other reason is offered. | not_stated |
| "It might be for fun or for the prize; I cannot tell." | unclear |
| "Sam says Alex solves puzzles for the prize." The supplied activity identifies Alex. | extrinsic |
Reuse
Use this to annotate stated reasons in interviews, learning feedback, or model explanations. Preference-kind classifies the type of statement, while causal-attribution classifies personal versus situational causes.
For AI research, the output labels an expressed explanation. Combine it with separately observed choices and a controlled study before drawing conclusions about model behavior.
Uses the shared choice helper and makes one logical Jev request. It does not call another recipe or take application actions. Find related tools in Psychology & behavior.
Concept and validation
The intrinsic/extrinsic distinction follows Ryan and Deci's definitions. A reason can be personally valued yet aim at a separate outcome; internalized motivation is not automatically intrinsic. The recipe uses only these broad categories, not the full theory or a validated measurement scale.
For research use, validate the labels against independent human annotations on your inputs. See the AI alignment research guide for evaluator validation and controlled comparisons.
Limits
- A reason label does not establish sincerity, hidden motives, intensity, permanence, or a psychological profile.
- Extrinsic does not mean imposed by someone else or undesirable. The recipe does not classify levels of autonomy.
- A model's text about enjoyment or rewards does not establish that it has those experiences or motives.
How accurate is motivation-source?
No verified live accuracy measurement is available. Evaluate representative cases before using this decision in your workflow.
Use the evaluation guide to measure this decision on your own labeled cases.
What are the limits of motivation-source?
- Labels expressed or reported reasons, not hidden motives, sincerity, or a psychological profile.
- Extrinsic reasons can be internalized and freely chosen; this label does not measure autonomy or distinguish its subtypes.
- An AI response describing a motive does not establish that the model has that motive.
Which recipes are related to motivation-source?
- causal-attribution: Use causal-attribution to distinguish personal from situational explanations of behavior.
- preference-kind: Use preference-kind to distinguish preferences, facts, and temporary requests rather than reasons for an activity.
- claim-stance: Use claim-stance to label agreement with a specified claim instead of classifying the reason for acting.