Docs/Skills and code/Top-level code

config-indian-business.js

Code354 lines14.3 KBTop-level code

Mentioned on: page 02

import path from "node:path";

const root = process.cwd();

export const config = {
  projectName: "YouTube Ecosystem Intelligence",
  dbPath: path.join(root, "data", "indian-business-ecosystem.db"),
  seedPath: path.join(root, "seeds", "topics.json"),
  discoverySeedPath: path.join(root, "seeds", "discovery-v2.json"),

  youtube: {
    resultsPerSearch: 30
  },

  viewer: {
    port: 3000
  },

  ecosystem: {
    name: "indian-business",
    description:
      "The Indian business ecosystem: companies and industries, founders and entrepreneurship, startups and scale-ups, MSMEs, family-owned businesses, manufacturing, services, technology, consumer brands, commerce, business models, corporate strategy, company histories, markets and IPOs as they relate to Indian businesses, and the economic, regulatory, and infrastructure conditions shaping business in India.",

    includeTerms: [
      "Indian business",
      "business in India",
      "India business analysis",
      "Indian companies explained",
      "Indian company case study",
      "Indian business history",
      "Indian business news",
      "Indian corporate strategy",
      "Indian business models",
      "Indian entrepreneurship",
      "Indian entrepreneurs",
      "Indian founders",
      "Indian startup ecosystem",
      "Indian startups",
      "Indian scaleups",
      "Indian unicorn startups",
      "Indian MSME business",
      "small businesses in India",
      "Indian family businesses",
      "Indian business groups",
      "Indian conglomerates",
      "Indian manufacturing",
      "Make in India companies",
      "Indian industrial companies",
      "Indian supply chains",
      "Indian logistics companies",
      "Indian retail businesses",
      "Indian ecommerce companies",
      "Indian D2C brands",
      "Indian consumer brands",
      "Indian FMCG companies",
      "Indian automobile industry",
      "Indian pharmaceutical companies",
      "Indian healthcare businesses",
      "Indian fintech companies",
      "Indian SaaS companies",
      "Indian IT services companies",
      "Indian technology companies",
      "Indian telecom industry",
      "Indian energy businesses",
      "Indian renewable energy companies",
      "Indian real estate companies",
      "Indian hospitality businesses",
      "Indian food businesses",
      "Indian agriculture businesses",
      "Indian export businesses",
      "Indian B2B companies",
      "Indian business to business startups",
      "Indian venture capital",
      "Indian private equity",
      "Indian startup funding",
      "Indian IPO analysis",
      "Indian listed company analysis",
      "Indian stock market company analysis",
      "Indian corporate earnings explained",
      "Indian mergers and acquisitions",
      "Indian business failures",
      "Indian turnaround stories",
      "Indian business success stories",
      "Indian brand strategy",
      "Indian marketing strategy",
      "Indian advertising industry",
      "Indian franchising business",
      "Indian business operations",
      "Indian business leadership",
      "Indian corporate governance",
      "Indian business regulation",
      "Indian competition policy",
      "Indian economic policy and business",
      "Indian business in Hindi",
      "Bharat business stories",
      "भारत का बिजनेस",
      "भारतीय कंपनियों की कहानी",
      "भारत के स्टार्टअप",
      "बिजनेस केस स्टडी हिंदी",
      "भारतीय उद्योग",
      "भारतीय उद्यमी",
      "छोटे कारोबार भारत",
      "भारतीय ब्रांड की कहानी"
    ],

    // These are discovery-noise exclusions, not reasons to discard an entire
    // channel when it also publishes substantive company or industry analysis.
    excludeTerms: [
      "guaranteed stock tips",
      "intraday sure shot tips",
      "penny stock pump",
      "telegram trading signals",
      "casino gambling",
      "online betting",
      "get rich quick scheme",
      "MLM recruitment",
      "work from home scam",
      "unrelated gaming livestream",
      "celebrity gossip",
      "movie review"
    ],

    adjacentTerms: [
      "Indian economy explained",
      "Indian economic history",
      "Indian public policy and industry",
      "Indian business law",
      "Indian taxation for businesses",
      "Indian labor market",
      "Indian consumer behavior",
      "Indian technology policy",
      "Indian digital public infrastructure",
      "Indian business journalism",
      "Indian financial markets",
      "Indian personal finance",
      "Indian management education",
      "Indian career and workplace",
      "Indian business school case studies",
      "South Asian business",
      "global companies in India",
      "India China manufacturing competition",
      "India global trade",
      "Indian innovation and research commercialization"
    ],

    // Leave empty for discovery-led exploration; add known channels only when
    // you deliberately want a reference cohort.
    referenceChannels: [],

    discovery: {
      topicSeeds: [
        "how India's largest companies built their business models",
        "Indian business groups and conglomerates explained",
        "how family-owned businesses scale across generations in India",
        "Indian MSMEs: business models, constraints, and growth",
        "how Indian startups find product-market fit",
        "Indian startup failures and what went wrong",
        "Indian unicorns: revenue, unit economics, and profitability",
        "Indian SaaS companies selling to global markets",
        "how Indian D2C brands acquire and retain customers",
        "Indian ecommerce: marketplaces, sellers, and profitability",
        "how India's quick commerce business model works",
        "Indian retail chains and expansion strategy",
        "Indian FMCG companies and distribution networks",
        "how Indian manufacturers compete on cost and quality",
        "Indian supply chains, logistics, and warehousing businesses",
        "Indian automobile industry: manufacturers and suppliers",
        "Indian pharmaceutical companies and global exports",
        "Indian fintech business models and regulation",
        "Indian IT services companies and changing business models",
        "Indian telecom industry economics and competition",
        "Indian renewable energy companies and project economics",
        "Indian real estate developers and business cycles",
        "Indian food brands, restaurants, and cloud kitchens",
        "Indian agriculture and agritech business models",
        "Indian export businesses and global trade",
        "Indian IPOs: company fundamentals and business quality",
        "Indian listed companies: revenue, margins, and competitive advantage",
        "Indian corporate failures, debt, and turnarounds",
        "Indian mergers, acquisitions, and conglomerate strategy",
        "how Indian companies build brands and distribution",
        "Indian advertising, marketing, and consumer behavior",
        "Indian business regulation and its effect on companies",
        "how government policy creates or changes Indian industries",
        "Indian founders' decisions, incentives, and operating systems",
        "how Indian businesses expand from one region to nationwide",
        "businesses built for Bharat and non-metro consumers",
        "Indian business case studies in Hindi",
        "emerging Indian industries and under-covered business models",
        "how Indian companies compete with multinational firms",
        "Indian business media: formats that explain companies well"
      ],

      adjacentSeeds: [
        {
          label: "Indian economy",
          query: "Indian economy explained through industries companies and business cycles"
        },
        {
          label: "Indian policy",
          query: "Indian regulation government policy and its effect on businesses and industries"
        },
        {
          label: "Indian financial markets",
          query: "Indian listed companies IPOs earnings and corporate fundamentals explained"
        },
        {
          label: "consumer behavior",
          query: "Indian consumer behavior regional markets and purchasing power for businesses"
        },
        {
          label: "business technology",
          query: "technology adoption AI software and digital infrastructure in Indian businesses"
        },
        {
          label: "management and operations",
          query: "Indian business operations supply chains manufacturing and management case studies"
        },
        {
          label: "global trade",
          query: "Indian exporters global supply chains manufacturing and international competition"
        },
        {
          label: "work and organizations",
          query: "Indian workplaces organizational culture management and labor market changes"
        },
        {
          label: "South Asian business",
          query: "South Asian companies business models and India regional comparisons"
        },
        {
          label: "business in Hindi",
          query: "भारतीय कंपनियों का बिजनेस मॉडल और बिजनेस केस स्टडी हिंदी"
        }
      ]
    }
  },

  qualification: {
    promptVersion: "indian-business-ecosystem-qualification-v1.0",
    minimumConfidenceToQualify: 0.58,

    llm: {
      batchSize: 8,
      maxVideoTitles: 20,
      descriptionChars: 1800,
      retryMissingIndividually: true
    },

    classification: {
      labels: ["core", "adjacent", "unknown", "irrelevant"],

      core: {
        definition:
          "Indian businesses, companies, industries, entrepreneurship, or business practice in India are the channel's primary recurring editorial subject.",
        includeWhen: [
          "Recurring uploads explain, analyze, report on, compare, or document Indian companies, industries, founders, startups, MSMEs, family businesses, business models, corporate strategy, or business history.",
          "The channel regularly examines how Indian businesses operate, compete, grow, fail, finance themselves, build brands, or respond to regulation and market conditions.",
          "Company and industry analysis is central even when the channel also covers economics, markets, technology, or public policy.",
          "The channel uses Hindi, English, or another Indian language; language alone does not affect relevance."
        ],
        doNotInferFrom: [
          "A single video about an Indian company on an otherwise unrelated channel",
          "A generic entrepreneurship or motivation channel with no substantive business evidence",
          "Stock-picking or trading signals without meaningful company or industry analysis",
          "General political commentary that only occasionally mentions businesses",
          "A company name appearing in titles without evidence of recurring editorial focus"
        ]
      },

      adjacent: {
        definition:
          "The channel provides recurring, materially useful context for understanding Indian business, but company or business analysis is not clearly its primary focus.",
        includeWhen: [
          "A broader economics, finance, technology, policy, management, or news channel regularly explains developments that materially affect Indian businesses.",
          "A markets channel repeatedly analyzes listed companies, corporate earnings, IPOs, governance, or industry economics, even if it also covers investing.",
          "A channel about consumer behavior, logistics, manufacturing technology, taxation, law, careers, or management offers recurring business-relevant material.",
          "A global business channel has a substantial, recurring focus on Indian companies or the Indian market."
        ],
        doNotInferFrom: [
          "A generic finance, politics, technology, or career channel with no concrete Indian business relevance",
          "A one-off company story on a channel mainly about another subject",
          "Trading signals, personal-finance advice, or motivational content without substantive company or industry context"
        ]
      },

      unknown: {
        definition:
          "The available channel-level evidence is sparse, contradictory, generic, or insufficient to determine its recurring relevance to the Indian business ecosystem.",
        includeWhen: [
          "The channel description is missing or generic and representative titles do not establish a recurring subject.",
          "Evidence is insufficient to distinguish company analysis from general finance, news, politics, or motivational content.",
          "The observed video sample is too small, stale, or potentially unrepresentative."
        ]
      },

      irrelevant: {
        definition:
          "The evidenced primary subject is outside the Indian business ecosystem and the channel has no meaningful recurring Indian business coverage.",
        includeWhen: [
          "The description and representative titles clearly establish another subject with no recurring business relevance.",
          "Business-related terms are incidental, misleading, promotional spam, or unrelated to substantive business analysis."
        ]
      }
    }
  },

  queueScoring: {
    version: "channel-queues-v6-indian-business-ecosystem",
    minimumCoverageForSupported: 70,

    breakout: {
      minVideosForScore: 5,
      fullSampleConfidenceVideos: 20,
      smallChannelSubscriberPrior: 1000,
      minimumAgeDaysForAgeAdjustedViews: 30
    },

    ranking: {
      coreBeforeAdjacent: true,
      minimumQualificationConfidence: 0.58,
      minimumConfidenceForSupported: 0.75,
      unknownChannelsRequireQualification: true,
      missingEvidenceIsNull: true
    }
  },

  discovery: {
    resultsPerQuery: 25,
    delayMs: 350,
    maxHypothesesPerRoute: 4,

    routes: {
      A: { label: "channel-led", maxQueries: 6 },
      B: { label: "video-led", maxQueries: 6 },
      C: { label: "topic-led", maxQueries: 8 },
      D: { label: "adjacent-ecosystem", maxQueries: 7 }
    },

    llm: {
      enabledByDefault: false,
      batchSize: 1
    }
  },

  stage1_5: {
    popularVideos: 20,
    newestVideos: 20,
    maxChannelPages: 5,
    youtubeCachePath: path.join(root, "data", "youtube-cache"),
    requestDelayMs: 250
  }
};

Shown as it is in the repository at build time (2026-11-03); the home directory appears as <home>. If this page and the file differ, the file is right. Back to the catalogue.