Skip to content

ListExtender

Overview

ListExtender is a singleton class that extends a given list of items by generating additional related items. It takes an initial list as input and returns an extended version of that list while maintaining uniqueness of items.

Inputs

Field Type Description
e_list List[str] Initial list of items to be extended

Outputs

Field Type Description
extended_list List[str] Combined list of original and newly generated items
model str The AI model used for generation

Usage

ListExtender instance can be used in data generation as follows:

from dria.factory import ListExtender

my_dataset = DriaDataset(
    name="list_extender",
    description="A dataset for list extension",
    schema=ListExtender.OutputSchema,
)
generator = DatasetGenerator(dataset=my_dataset)

Expected output:

{
  "extended_list": [
    "Ancient Civilizations",
    "Medieval History",
    "Modern History",
    "World History",
    "American History",
    "European History",
    "Asian History",
    "African History",
    "Historiography",
    "Historical Methods",
    "Historical Sources",
    "Historical Interpretation",
    "Social History",
    "Political History",
    "Economic History",
    "Cultural History",
    "Military History",
    "Science and Technology History",
    "History of Art",
    "History of Literature",
    "History of Music",
    "History of Religion",
    "History of Philosophy",
    "History of Education",
    "History of Medicine",
    "History of Law",
    "History of Gender",
    "History of Race",
    "History of Immigration",
    "History of Globalization",
    "History of the Environment",
    "History of Climate Change",
    "History of the Internet",
    "History of Artificial Intelligence",
    "History of the Future",
    "Literary Genres and Forms",
    "Historical Periods and Movements",
    "Literary Theory and Criticism",
    "Authorship and Writing Process",
    "Character Development and Plot",
    "Themes and Motifs in Literature",
    "Symbolism and Imagery",
    "Language and Style",
    "Reading and Interpretation",
    "Literary History and Influences",
    "Social and Cultural Context",
    "Literary Canon and Diversity",
    "Adaptation and Transformation",
    "Literature and Society",
    "Literature and Psychology",
    "Literature and Philosophy",
    "Metaphysics",
    "Epistemology",
    "Ethics",
    "Logic",
    "Political Philosophy",
    "Philosophy of Mind",
    "Philosophy of Science",
    "Philosophy of Language",
    "History of Philosophy",
    "Contemporary Philosophy",
    "Eastern Philosophy",
    "Western Philosophy",
    "Existentialism",
    "Nihilism",
    "Postmodernism",
    "Feminist Philosophy",
    "Environmental Philosophy",
    "Biological Psychology",
    "Cognitive Processes",
    "Developmental Stages",
    "Social Influences",
    "Personality Theories",
    "Mental Health Disorders",
    "Psychological Assessment",
    "Therapeutic Approaches",
    "Research Methods",
    "Cellular Biology",
    "Genetics and Heredity",
    "Evolution and Biodiversity",
    "Ecology and Ecosystems",
    "Human Biology and Health",
    "Biotechnology and Genetic Engineering",
    "Molecular Biology and Biochemistry",
    "Anatomy and Physiology",
    "Microbiology and Immunology",
    "Plant Biology and Botany",
    "Zoology and Animal Behavior",
    "Bioethics and Society",
    "Atomic Structure and Bonding",
    "Chemical Reactions and Stoichiometry",
    "States of Matter",
    "Solutions and Mixtures",
    "Thermochemistry",
    "Equilibrium and Kinetics",
    "Acids and Bases",
    "Redox Reactions",
    "Organic Chemistry",
    "Analytical Chemistry",
    "Biochemistry",
    "Environmental Chemistry",
    "Materials Chemistry",
    "Nuclear Chemistry",
    "Computational Chemistry",
    "History of Chemistry",
    "Famous Chemists and Discoveries",
    "Chemistry in Everyday Life",
    "Chemistry and Society",
    "Careers in Chemistry",
    "Celestial Objects and Phenomena",
    "Solar System and Beyond",
    "Stars and Stellar Evolution",
    "Galaxies and Cosmology",
    "Astrophysics and Fundamental Forces",
    "Observational Astronomy and Telescopes",
    "Space Exploration and Missions",
    "History of Astronomy",
    "Astrobiology and the Search for Life",
    "Astrophysics and Fundamental Forces",
    "Astronomy and Culture",
    "Engineering Disciplines",
    "Engineering Design Process",
    "Engineering Ethics and Responsibility",
    "Engineering Materials and Manufacturing",
    "Engineering Mechanics and Statics",
    "Engineering Thermodynamics and Heat Transfer",
    "Engineering Fluid Mechanics",
    "Engineering Project Management",
    "Engineering and Sustainability",
    "Engineering in Society and Culture",
    "Engineering Education and Training",
    "Emerging Technologies in Engineering",
    "Engineering for Global Development",
    "Microeconomics",
    "Macroeconomics",
    "Economic Systems",
    "Market Structures",
    "Supply and Demand",
    "Economic Growth",
    "Inflation and Deflation",
    "International Trade",
    "Labor Economics",
    "Financial Markets",
    "Government Economic Policy",
    "Behavioral Economics",
    "Economic History",
    "Economic Development",
    "Environmental Economics",
    "Economic Inequality",
    "Physical Geography",
    "Human Geography",
    "Geographic Information Systems (GIS)",
    "Cartography and Mapping",
    "Climate and Weather",
    "Landforms and Geology",
    "Population Distribution and Density",
    "Urban Geography",
    "Environmental Geography",
    "Economic Geography",
    "Political Geography",
    "Cultural Geography",
    "Remote Sensing and Aerial Photography",
    "Geographic Data Analysis",
    "Geography in Education",
    "Geography and Sustainability",
    "Geographic Research Methods",
    "History of Geographic Thought",
    "History of political systems",
    "Major political ideologies",
    "Global political alliances",
    "Elections and voting processes",
    "Political economy analysis",
    "International relations theory",
    "Policy making and implementation",
    "Camera fundamentals and types",
    "Composition and framing techniques",
    "Lighting and exposure control",
    "Post-processing and editing",
    "Photography genres and styles",
    "History of photography",
    "Photography equipment and technology",
    "Business of photography",
    "Photography ethics and copyright",
    "Photography for social impact",
    "Digital photography and its impact",
    "Photography as an art form",
    "The future of photography",
    "Business Strategy and Planning",
    "Marketing and Sales",
    "Finance and Accounting",
    "Operations Management",
    "Human Resources Management",
    "Entrepreneurship and Innovation",
    "Organizational Behavior",
    "Business Ethics and Social Responsibility",
    "International Business",
    "E-commerce and Digital Business",
    "Business Analytics and Data Science",
    "Business Law and Regulation",
    "History of Sports",
    "Types of Sports",
    "Sports Equipment and Technology",
    "Sports Training and Conditioning",
    "Sports Nutrition",
    "Sports Injuries and Rehabilitation",
    "Sports Psychology",
    "Sports Officiating",
    "Sports Broadcasting and Media",
    "Sports Marketing and Sponsorship",
    "Professional Sports Leagues",
    "Amateur Sports and Recreation",
    "Sports and Society",
    "Sports and Culture",
    "Gender and Sports",
    "Race and Sports",
    "Sports and Politics",
    "Sports and Globalization",
    "Sports Ethics and Fair Play",
    "Sports and the Environment",
    "Future of Sports",
    "History of cinema",
    "Film genres and styles",
    "Directing techniques and approaches",
    "Screenwriting and script analysis",
    "Cinematography and visual storytelling",
    "Editing and post-production processes",
    "Film sound and music scoring",
    "Acting methods and performance styles",
    "Independent vs. studio filmmaking",
    "International film industries",
    "Film criticism and analysis",
    "Impact of digital technology in film",
    "Representation and diversity in cinema",
    "Film festivals and markets",
    "Future trends in filmmaking",
    "Microeconomics",
    "Macroeconomics",
    "Economic Systems",
    "Economic Growth and Development",
    "International Economics",
    "Labor Economics",
    "Financial Economics",
    "Behavioral Economics",
    "Economic History",
    "Economic Policy",
    "Religious History and Origins",
    "Major World Religions",
    "Religious Beliefs and Practices",
    "Religious Texts and Scriptures",
    "Religious Rituals and Ceremonies",
    "Religious Ethics and Morality",
    "Religious Institutions and Organizations",
    "Religious Art and Architecture",
    "Religious Music and Literature",
    "Religious Festivals and Holidays",
    "Religious Experiences and Mysticism",
    "Religious Social Movements",
    "Religious Conflict and Violence",
    "Religious Tolerance and Pluralism",
    "Religious Freedom and Rights",
    "Religion and Science",
    "Religion and Politics",
    "Religion and Gender",
    "Religion and Culture",
    "Religion and Psychology",
    "Religion and Sociology",
    "Religion in the Modern World",
    "Human Origins and Evolution",
    "Cultural Anthropology",
    "Archaeology and Material Culture",
    "Linguistic Anthropology",
    "Biological Anthropology",
    "Social and Cultural Change",
    "Ethnographic Methods",
    "Anthropology of Religion",
    "Medical Anthropology",
    "Applied Anthropology",
    "Global Anthropology",
    "Anthropology of the Body",
    "Gender and Sexuality",
    "Race and Ethnicity"
  ],
  "model": "Llama3.1:8B"
}