const candidateProfile = {
// Required fields for Cortex
id: 'candidate_123456',
title: 'Senior Machine Learning Engineer - John Smith',
type: 'candidate_profile', // Required by Cortex
timestamp: '2024-01-15T10:30:00Z', // Profile last updated
// Main content for AI search
content: {
text: `John Smith is a Senior Machine Learning Engineer with 6 years of experience in developing
and deploying ML models at scale. He worked at Apple for 3 years on the Siri team,
focusing on natural language processing and speech recognition. Prior to Apple, he spent
2 years at a startup building recommendation systems. John has a Master's in Computer
Science from Stanford and specializes in deep learning, Python, TensorFlow, and
distributed systems. He has published 5 papers on neural networks and holds 2 patents
in speech processing.`,
markdown: `# John Smith - Senior ML Engineer
## Experience
- **Apple Inc.** (3 years) - Senior ML Engineer, Siri Team
- **StartupXYZ** (2 years) - ML Engineer, Recommendations
- **Research Lab** (1 year) - ML Research Intern
## Skills
- Machine Learning & Deep Learning
- Python, TensorFlow, PyTorch
- Natural Language Processing
- Distributed Systems
## Education
- MS Computer Science, Stanford University
- BS Mathematics, UC Berkeley`
},
// Rich metadata for complex queries
metadata: {
// Experience metadata
total_years_experience: 6,
years_at_current_role: 3,
career_level: 'senior',
// Company history
companies: [
{
name: 'Apple Inc.',
role: 'Senior ML Engineer',
team: 'Siri',
duration_years: 3,
company_size: 'large_tech',
company_type: 'public'
},
{
name: 'StartupXYZ',
role: 'ML Engineer',
team: 'Recommendations',
duration_years: 2,
company_size: 'startup',
company_type: 'private'
}
],
// Skills and technologies
primary_skills: ['machine_learning', 'deep_learning', 'nlp'],
technologies: ['python', 'tensorflow', 'pytorch', 'kubernetes'],
programming_languages: ['python', 'java', 'scala'],
// Education
education: [
{
degree: 'Master of Science',
field: 'Computer Science',
institution: 'Stanford University',
graduation_year: 2018
}
],
// Location and preferences
location: {
current: 'San Francisco, CA',
willing_to_relocate: false,
remote_preference: 'hybrid'
},
// Availability and preferences
job_search_status: 'actively_looking',
desired_salary_range: '200k-300k',
desired_role_level: 'senior',
// Performance indicators
publications_count: 5,
patents_count: 2,
github_stars: 1250,
conferences_spoken: 3
},
// Collections for organization
collections: ['ml_engineers', 'apple_alumni', 'senior_candidates'],
// Profile URL and additional info
url: 'https://linkedin.com/in/johnsmith-ml',
description: 'Senior ML Engineer with Apple experience, specializing in NLP and speech recognition'
};