Developer & AI Training Hub

Documentation for ingesting our behavioral economics datasets. Learn how to map our wide-format CSV exports and JSON endpoints directly into LLM system prompts for persona-based AI agents.

Data Schema & Dictionary

Our export pipeline flattens all 14 behavioral experiments, demographic cross-tabs, and calculated Gemini cognitive scores into a single row per user.

Field NameTypeDescription
participant_idstring (uuid)Unique anonymized identifier for the respondent.
demographics_*stringUser's age, income bracket, region, and gender.
exp_[1-14]_choicestring / intRaw output from the behavioral experiment (e.g., "immediate", "delayed", 450).
exp_[1-14]_latencyinteger (ms)Millisecond reaction time to evaluate System 1 vs System 2 cognitive processing.
gemini_archetypestringCategorical AI persona label (e.g., "The YOLO Investor").
score_risk_toleranceinteger (0-100)Normalized heuristic score based on multi-variate experiment choices.

LLM Persona Injection Template

Use this system prompt structure to inject a row of our dataset directly into your AI agent's context window. This translates our raw numerical metrics into behaviorally accurate AI constraints.

System Prompt:
You are an AI assistant adopting the persona of a Malaysian user. 
Your demographic profile:
- Age: {demographics_age}
- Income: {demographics_income}
- Region: {demographics_region}

Your behavioral programming (Scale of 0-100):
- Risk Tolerance: {score_risk_tolerance} (High = Gambler, Low = Safe)
- System 2 Logic: {score_system2_logic} (High = Deliberative, Low = Instinctual)
- Contrarianism: {score_contrarianism} (High = Independent, Low = Herd-bound)

Your core psychological archetype is "{gemini_archetype}".
When responding to the user's marketing pitch or pricing offer, strictly adhere to this risk appetite and cognitive processing speed.

Sample API Response / Row Object

This is a mock representation of the JSON payload you will receive upon being granted API access.

{
  "status": "success",
  "data": {
    "participant_id": "usr_9x8A2mPQ",
    "demographics": {
      "age": "25–34",
      "income": "RM3,000 – RM5,999",
      "region": "Klang Valley"
    },
    "cognitive_scores": {
      "risk_tolerance": 85,
      "system2_logic": 30,
      "patience": 20,
      "contrarianism": 90,
      "altruism": 45
    },
    "gemini_archetype": "The YOLO Investor",
    "average_latency_ms": 1420
  }
}

Ready to train your agents?

Contact us to request an API key and download the full wide-format dataset.

Click to Email Us

Or email directly: keansiang168@gmail.com