This commit is contained in:
geoffsee
2025-07-11 16:18:34 -04:00
parent 8956579eff
commit 8545aa8699
32 changed files with 4448 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
{
"version": "v1",
"domain": "Finance",
"structure": [
"Retail Banking",
"Commercial Banking",
"Investment Banking",
"Private Banking"
],
"description": "A hierarchy of functions and services within the banking sector, focusing on various banking operations.",
"commonSkills": [
"Financial Analysis",
"Risk Management",
"Customer Relationship Management",
"Regulatory Compliance",
"Loan Processing"
],
"commonTools": [
"Financial Modeling Software",
"Customer Relationship Management (CRM) Systems",
"Investment Analysis Tools",
"Risk Assessment Software"
],
"examples": [
"Personal loans in Retail Banking",
"Small business loans in Commercial Banking",
"Mergers and Acquisitions in Investment Banking",
"Wealth management in Private Banking"
]
}

View File

@@ -0,0 +1,80 @@
/**
* finance Professional Hierarchy Example
* Generated using OpenAI Agents SDK and Sumpin Professional Hierarchy Models
* Model Version: v2 (6-layer hierarchy)
* Generated on: 2025-07-11T20:02:03.514Z
*/
import {
Enterprise,
DomainModel, IndustryModel, ProfessionModel, FieldModel, RoleModel, TaskModel
} from "../../lib/v2";
import { Enterprise, DomainModel, IndustryModel, ProfessionModel, FieldModel, RoleModel, TaskModel } from "../../lib/v2";
const financeDomain = new DomainModel({
name: "Finance",
industries: [
new IndustryModel({
name: "Investment Banking",
professions: [
new ProfessionModel({
name: "Investment Banker",
fields: [
new FieldModel({
name: "Corporate Finance",
roles: [
new RoleModel({
name: "Analyst",
tasks: [
new TaskModel({
name: "Financial Modeling",
skills: ["Excel", "Financial Analysis"],
tools: ["Excel", "Bloomberg Terminal"],
example: "Building a discounted cash flow model for a merger."
}),
new TaskModel({
name: "Market Research",
skills: ["Data Analysis", "Presentation Skills"],
tools: ["PitchBook", "Excel"],
example: "Analyzing competitor performance for a potential acquisition."
})
]
}),
new RoleModel({
name: "Associate",
tasks: [
new TaskModel({
name: "Deal Execution",
skills: ["Negotiation", "Project Management"],
tools: ["MS Project", "Deal Management Software"],
example: "Leading a team to close a multi-million dollar equity issuance."
})
]
})
]
})
]
})
]
})
]
});
// Basic operations
const readRoleTasks = (roleName: string) => {
const role = financeDomain.industries[0].professions[0].fields[0].roles.find(r => r.name === roleName);
return role ? role.tasks : [];
};
const updateTaskSkill = (roleName: string, taskName: string, newSkills: string[]) => {
const role = financeDomain.industries[0].professions[0].fields[0].roles.find(r => r.name === roleName);
const task = role?.tasks.find(t => t.name === taskName);
if (task) {
task.skills = newSkills;
}
};
// Example usages
const analystTasks = readRoleTasks("Analyst");
updateTaskSkill("Analyst", "Financial Modeling", ["Advanced Excel", "Financial Forecasting"]);

View File

@@ -0,0 +1,142 @@
/**
* healthcare Professional Hierarchy Example
* Generated using OpenAI Agents SDK and Sumpin Professional Hierarchy Models
* Model Version: v2 (6-layer hierarchy)
* Generated on: 2025-07-11T20:01:29.107Z
*/
import {
Enterprise,
DomainModel, IndustryModel, ProfessionModel, FieldModel, RoleModel, TaskModel
} from "../../lib/v2";
import { Enterprise, DomainModel, IndustryModel, ProfessionModel, FieldModel, RoleModel, TaskModel } from "../../lib/v2";
const healthcareDomain = new DomainModel({
name: "Healthcare",
industries: [
new IndustryModel({
name: "Medical Services",
professions: [
new ProfessionModel({
name: "Nursing",
fields: [
new FieldModel({
name: "Clinical Nursing",
roles: [
new RoleModel({
name: "Registered Nurse",
competencies: [
"Patient assessment",
"Medication administration",
"Care planning"
],
tools: [
"Electronic Health Records (EHR)",
"Vital signs monitors",
"Infusion pumps"
],
tasks: [
new TaskModel({
name: "Patient Monitoring",
description: "Monitoring patient vitals and documenting changes.",
examples: [
"Using EHR to log vital signs every hour.",
"Adjusting care plan based on patient observations."
]
}),
new TaskModel({
name: "Medication Management",
description: "Administering and managing patient medications.",
examples: [
"Preparing and administering IV medications.",
"Educating patients on prescribed medications."
]
})
]
})
]
}),
new FieldModel({
name: "Nurse Practitioner",
roles: [
new RoleModel({
name: "Family Nurse Practitioner",
competencies: [
"Advanced patient assessment",
"Diagnosis and treatment planning",
"Patient education"
],
tools: [
"Diagnostic tools (stethoscope, otoscope)",
"Telehealth platform",
"Prescription software"
],
tasks: [
new TaskModel({
name: "Conducting Physical Exams",
description: "Performing comprehensive assessments for patients.",
examples: [
"Utilizing telehealth for remote consultations.",
"Documenting findings and recommending treatments."
]
}),
new TaskModel({
name: "Health Promotion",
description: "Educating families about preventive care.",
examples: [
"Organizing community health seminars.",
"Providing personalized health advice to families."
]
})
]
})
]
})
]
}),
new ProfessionModel({
name: "Healthcare Administration",
fields: [
new FieldModel({
name: "Hospital Administration",
roles: [
new RoleModel({
name: "Healthcare Administrator",
competencies: [
"Operations management",
"Compliance and regulations",
"Financial planning"
],
tools: [
"Healthcare management software",
"Data analytics tools",
"Budgeting tools"
],
tasks: [
new TaskModel({
name: "Budgeting and Financial Oversight",
description: "Managing hospital budgets and financial resources.",
examples: [
"Creating annual budgets based on service demand.",
"Reviewing financial performance reports."
]
}),
new TaskModel({
name: "Quality Improvement Initiatives",
description: "Implementing strategies to improve healthcare delivery.",
examples: [
"Conducting patient satisfaction surveys.",
"Analyzing workflow for efficiency."
]
})
]
})
]
})
]
})
]
})
]
});
export default healthcareDomain;

View File

@@ -0,0 +1,31 @@
{
"version": "v1",
"domain": "Technology",
"structure": [
"Front-end",
"Back-end",
"Database",
"DevOps"
],
"description": "A hierarchy outlining the main components and roles involved in web development.",
"commonSkills": [
"HTML/CSS",
"JavaScript",
"Responsive Design",
"Backend Programming",
"Database Management"
],
"commonTools": [
"Visual Studio Code",
"Git",
"Postman",
"Node.js",
"MySQL"
],
"examples": [
"Building a static website",
"Creating a dynamic web application",
"Developing APIs",
"Implementing user authentication"
]
}