Spaces:
Sleeping
Sleeping
""" | |
Stores the detailed metadata for the Solr index fields. | |
This information is crucial for the LLM to understand the data schema, | |
enabling it to construct accurate and efficient Solr queries. Separating it | |
into its own module keeps the main application logic cleaner. | |
""" | |
field_metadata = [ | |
{ | |
"core_name": "news", | |
"field_name": "business_model", | |
"type": "string (categorical)", | |
"example_values": ["pharma/bio", "drug delivery", "pharma services"], | |
"definition": "The primary business category of the company involved in the news. Use for filtering by high-level industry segments." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "news_type", | |
"type": "string (categorical)", | |
"example_values": ["financial news", "product news", "other company news", "regulatory news", "people news", "funding news", "pharma services deals", "product approvals", "product deals", "technology news", "company acquisitions", "product filings", "legal news", "discovery technology deals", "company divestitures", "latest dds patents", "dd technology deals", "product acquisitions", "option agreement", "joint venture deal", "technology acquisitions"], | |
"definition": "The category of the news article itself (e.g., financial, regulatory, acquisition). Use for filtering by the type of event being reported." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "event_type", | |
"type": "string (categorical)", | |
"example_values": ["phase 1", "phase 2", "pre clinical", "phase 3", "marketed", "approved", "registration", "research", "phase 0", "tentative approval", "bioequivalency", "undisclosed", "approvable"], | |
"definition": "The clinical or developmental stage of a product or event discussed in the article. Essential for queries about clinical trial phases." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "source", | |
"type": "string (categorical)", | |
"example_values": ["Press Release", "PR Newswire", "Business Wire"], | |
"definition": "The original source of the news article, such as a newswire or official report." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "company_name", | |
"type": "string (exact match, for faceting)", | |
"example_values": ["pfizer inc.", "astrazeneca plc", "roche"], | |
"definition": "The canonical, standardized name of a company. **Crucially, you MUST use this field for `terms` faceting** to group results by a unique company. Do NOT use this for searching." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "company_name_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["pfizer inc.", "roche", "f. hoffmann-la roche ag", "nih"], | |
"definition": "A field containing all known names and synonyms for a company. **You MUST use this field for all `query` parameter searches involving a company name** to ensure comprehensive results. Do NOT use for `terms` faceting." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "territory_hq_s", | |
"type": "string (multi-valued, hierarchical)", | |
"example_values": ["united states of america", "europe", "europe western"], | |
"definition": "The geographic location (country and continent) of a company's headquarters. It is hierarchical. Use for filtering by location." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "therapeutic_category", | |
"type": "string (specific)", | |
"example_values": ["cancer, other", "cancer, nsclc metastatic", "alzheimer's"], | |
"definition": "The specific disease or therapeutic area being targeted. Use for very specific disease queries." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "therapeutic_category_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["cancer", "oncology", "infections", "cns"], | |
"definition": "Broader, multi-valued therapeutic categories and their synonyms. **Use this field for broad category searches** in the `query` parameter." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "compound_name", | |
"type": "string (exact match, for faceting)", | |
"example_values": ["opdivo injection solution", "keytruda injection solution"], | |
"definition": "The specific, full trade name of a drug. **Use this field for `terms` faceting** on compounds." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "compound_name_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["nivolumab injection solution", "opdivo injection solution", "ono-4538 injection solution"], | |
"definition": "A field with all known trade names and synonyms for a drug. **Use this field for all `query` parameter searches** involving a compound name." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "molecule_name", | |
"type": "string (exact match, for faceting)", | |
"example_values": ["cannabidiol", "paclitaxel", "pembrolizumab"], | |
"definition": "The generic, non-proprietary name of the active molecule. **Use this field for `terms` faceting** on molecules." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "molecule_name_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["cbd", "s1-220", "a1002n5s"], | |
"definition": "A field with all known generic names and synonyms for a molecule. **Use this field for all `query` parameter searches** involving a molecule name." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "highest_phase", | |
"type": "string (categorical)", | |
"example_values": ["marketed", "phase 2", "phase 1"], | |
"definition": "The highest stage of development a drug has ever reached." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "drug_delivery_branch_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["injection", "parenteral", "oral", "injection, other", "oral, other"], | |
"definition": "The method of drug administration. **Use this for `query` parameter searches about route of administration** as it contains broader, search-friendly terms." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "drug_delivery_branch", | |
"type": "string (categorical, specific, for faceting)", | |
"example_values": ["injection, other", "prefilled syringes", "np liposome", "oral enteric/delayed release"], | |
"definition": "The most specific category of drug delivery technology. **Use this field for `terms` faceting** on specific delivery technologies." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "route_branch", | |
"type": "string (categorical)", | |
"example_values": ["injection", "oral", "topical", "inhalation"], | |
"definition": "The primary route of drug administration. Good for faceting on exact routes." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "molecule_api_group", | |
"type": "string (categorical)", | |
"example_values": ["small molecules", "biologics", "nucleic acids"], | |
"definition": "High-level classification of the drug's molecular type." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "content", | |
"type": "text (full-text search)", | |
"example_values": ["The largest study to date...", "balstilimab..."], | |
"definition": "The full text content of the news article. Use for keyword searches on topics not covered by other specific fields." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "date", | |
"type": "date", | |
"example_values": ["2020-10-22T00:00:00Z"], | |
"definition": "The full publication date and time in ISO 8601 format. Use for precise date range queries." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "date_year", | |
"type": "number (year)", | |
"example_values": [2020, 2021, 2022], | |
"definition": "The 4-digit year of publication. **Use this for queries involving whole years** (e.g., 'in 2023', 'last year', 'since 2020')." | |
}, | |
{ | |
"core_name": "news", | |
"field_name": "total_deal_value_in_million", | |
"type": "number (metric)", | |
"example_values": [50, 120.5, 176.157, 1000], | |
"definition": "The total value of a financial deal, in millions of USD. This is the primary numeric field for financial aggregations (sum, avg, etc.). To use this, you must also filter for news that has a deal value, e.g., 'total_deal_value_in_million:[0 TO *]'." | |
}, | |
# NEW 'deal' CORE METADATA | |
{ | |
"core_name": "deal", | |
"field_name": "id", | |
"type": "string", | |
"example_values": ["275302", "275306", "275307"], | |
"definition": "Unique identifier for the deal document." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "date", | |
"type": "date", | |
"example_values": ["2018-01-08T00:00:00Z"], | |
"definition": "The full publication date and time of the deal in ISO 8601 format. Use for precise date range queries." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "date_year", | |
"type": "number (year)", | |
"example_values": [2018, 2017, 2016], | |
"definition": "The 4-digit year of the deal. Use for queries involving whole years." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "type", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["drug delivery", "medical device", "pharma/bio", "pharma services"], | |
"definition": "The primary business categories associated with the deal (e.g., drug delivery, pharma/bio). Use for filtering by high-level industry segments." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "news_branch", | |
"type": "string (categorical)", | |
"example_values": ["DD Technology Deals", "Company Acquisitions", "Product Deals", "Pharma Services Deals", "Discovery Technology Deals"], | |
"definition": "The category of the deal itself (e.g., technology deal, acquisition). Use for filtering by the type of deal." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "news_header", | |
"type": "text", | |
"example_values": ["Intec Pharma Announces Development Collaboration With Global Pharmaceutical Company", "Alcyone Lifesciences Announces Research Collaboration..."], | |
"definition": "The headline or title of the news article announcing the deal. Use for keyword searches on the deal's title." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "total_deal_value_in_million", | |
"type": "number (metric)", | |
"example_values": [68.9968, 260.0, 100.0, 12.0], | |
"definition": "The total value of a financial deal, in millions of USD. This is the primary numeric field for financial aggregations (sum, avg, etc.)." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "deal_upfront", | |
"type": "number (metric)", | |
"example_values": [23.6042, 80.0, 12.0], | |
"definition": "The upfront payment value of the deal, in millions of USD." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "milestones", | |
"type": "number (metric)", | |
"example_values": [120.0], | |
"definition": "The value of milestone payments associated with the deal, in millions of USD." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "company_name", | |
"type": "string (exact match, for faceting, multi-valued)", | |
"example_values": ["Novartis AG", "Intec Pharma Ltd.", "Guerbet SA", "REGENXBIO, Inc."], | |
"definition": "The canonical, standardized names of companies involved in the deal. **Crucially, you MUST use this field for `terms` faceting** to group results by unique companies." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "company_name_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["Novartis AG", "Intec Pharma Ltd.", "Orly Guy Ltd.", "AveXis, Inc."], | |
"definition": "A field containing all known names and synonyms for companies in a deal. **You MUST use this field for all `query` parameter searches involving a company name**." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "company_name_investor", | |
"type": "string (multi-valued, for faceting)", | |
"example_values": ["Novartis AG", "Undisclosed Co.", "Merck KGaA", "Surface Oncology, Inc."], | |
"definition": "The canonical name(s) of the investor or acquiring company in the deal. Use for faceting on investors." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "company_name_investor_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["Novartis AG", "Undisclosed Co.", "AveXis, Inc.", "Surface Oncology, Inc."], | |
"definition": "A field with all known names and synonyms for the investor company. **Use this field for `query` parameter searches for investors.**" | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "company_name_invested", | |
"type": "string (multi-valued, for faceting)", | |
"example_values": ["Intec Pharma Ltd.", "Alcyone Therapeutics, Inc.", "Juniper Pharmaceuticals, Inc.", "Vaccinex, Inc."], | |
"definition": "The canonical name(s) of the company receiving investment or being acquired. Use for faceting on investees." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "company_name_invested_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["Intec Pharma Ltd.", "Orly Guy Ltd.", "Alcyone Lifesciences, Inc.", "Vaccinex, Inc."], | |
"definition": "A field with all known names and synonyms for the company receiving investment. **Use this field for `query` parameter searches for investees.**" | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "territory_name", | |
"type": "string (multi-valued, hierarchical)", | |
"example_values": ["Israel", "Asia Middle East", "Switzerland", "Europe Western", "United States of America"], | |
"definition": "The geographic locations (country, continent) of the companies involved in the deal. It is hierarchical. Use for filtering by location." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "therapeutic_category", | |
"type": "string (multi-valued, specific)", | |
"example_values": ["Duodenal Ulcer", "CNS, Other", "Infertility, Other", "Spinal Muscular Atrophy, Other"], | |
"definition": "The specific disease or therapeutic area being targeted by the deal. Use for very specific disease queries." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "therapeutic_category_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["gastrointestinal diseases", "peptic ulcer", "cns", "central nervous system", "musculoskeletal diseases"], | |
"definition": "Broader, multi-valued therapeutic categories and their synonyms related to the deal. **Use this field for broad category searches** in the `query` parameter." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "drug_delivery_branch", | |
"type": "string (multi-valued, for faceting)", | |
"example_values": ["Gastro Retentive", "Catheter Delivery Systems", "Bioadhesion", "Adeno-Associated Virus Vectors"], | |
"definition": "Specific categories of drug delivery technology involved in the deal. **Use this field for `terms` faceting** on specific delivery technologies." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "drug_delivery_branch_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["oral", "oral modified release", "gastro retentive", "medical devices", "viral vectors"], | |
"definition": "The method of drug administration and its broader search-friendly terms. **Use this for `query` parameter searches about route of administration**." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "route_branch", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["ORAL", "INJECTION", "SURGICAL INSERTION", "VAGINAL"], | |
"definition": "The primary route of drug administration related to the deal. Good for faceting on exact routes." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "product_name", | |
"type": "string (multi-valued, for searching and faceting)", | |
"example_values": ["Accordion Oral Capsule, Intec/Novartis", "Zolgensma Injection Suspension", "Crinone Vaginal Gel"], | |
"definition": "The name(s) of the product(s) central to the deal. Can be used for searching and faceting." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "phase", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["Phase 1", "Research", "Marketed", "Phase 3", "Pre Clinical"], | |
"definition": "The clinical or developmental stage(s) of a product or event discussed in the deal. Essential for queries about clinical trial phases." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "highest_phase", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["Phase 1", "Research", "Marketed", "Phase 3"], | |
"definition": "The highest stage of development a drug involved in the deal has ever reached." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "technology", | |
"type": "string (multi-valued, for searching and faceting)", | |
"example_values": ["Accordion GR Pill", "Alcyone Pulsar", "NAV Vectors", "Qb VLP Platform"], | |
"definition": "The specific named technologies that are part of the deal (e.g., a platform or a device)." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "mechanism_type_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["antiulcerative agents", "cns modulators", "hormone related", "progestogens", "gene replacements"], | |
"definition": "A field with all known mechanisms of action and their synonyms. **Use this field for all `query` parameter searches** involving mechanism of action." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "molecule_name_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["Accordion Pill Program Oral Capsule, Intec/Novartis", "progesterone", "onasemnogene abeparvovec-xioi", "apabetalone"], | |
"definition": "A field with all known generic names and synonyms for a molecule involved in the deal. **Use this field for all `query` parameter searches** involving a molecule name." | |
}, | |
{ | |
"core_name": "deal", | |
"field_name": "molecule_api_group", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["Small Molecules", "Biologics", "Nucleic Acids", "Peptides"], | |
"definition": "High-level classification of the drug's molecular type involved in the deal." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "id", | |
"type": "string", | |
"example_values": ["519-571", "35518_child"], | |
"definition": "Unique identifier for the compound document." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "molecule_id", | |
"type": "string", | |
# Placeholder, not in provided doc examples directly. | |
"example_values": ["mol_12345", "mol_67890"], | |
"definition": "Unique identifier for the molecule associated with the compound." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "product_name", | |
"type": "string (exact match, for faceting)", | |
"example_values": ["Toprol-XL Tablets"], | |
"definition": "The specific, full trade name of the product. **Use this field for `terms` faceting** on products." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "product_name_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["Toprol-XL Tablets", "Toprol Extended Release Tablets"], | |
"definition": "A field containing all known trade names and synonyms for a product. **Use this field for all `query` parameter searches involving a product name** to ensure comprehensive results." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "product_synonym", | |
"type": "string (multi-valued)", | |
"example_values": ["Toprol Extended Release Tablets", "metoprolol succinate ER Tablets"], | |
"definition": "Synonyms or alternative names for the product." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "molecule_name", | |
"type": "string (exact match, for faceting)", | |
"example_values": ["metoprolol succinate"], | |
"definition": "The generic, non-proprietary name of the active molecule. **Use this field for `terms` faceting** on molecules." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "molecule_name_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["metoprolol succinate", "Métoprolol, Succinate de"], | |
"definition": "A field with all known generic names and synonyms for a molecule. **Use this field for all `query` parameter searches** involving a molecule name." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "molecule_synonym", | |
"type": "string (multi-valued)", | |
"example_values": ["Métoprolol, Succinate de", "Metoprololi Succinas"], | |
"definition": "Synonyms or alternative names for the molecule." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "molecule_type", | |
"type": "string (categorical)", | |
"example_values": ["small molecule", "biologic", "nucleic acid"], | |
"definition": "High-level classification of the compound's molecular type." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "company_name", | |
"type": "string (multi-valued, exact match, for faceting)", | |
"example_values": ["AstraZeneca Plc", "Recordati S.p.A."], | |
"definition": "The canonical, standardized names of companies associated with the compound. **Use this field for `terms` faceting** to group results by unique companies." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "company_name_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["AstraZeneca Plc", "New American Therapeutics, Inc."], | |
"definition": "A field containing all known names and synonyms for companies associated with the compound. **Use this field for all `query` parameter searches involving a company name**." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "company_role", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["owner", "partner", "manufacturer"], | |
"definition": "The role of the company in relation to the compound (e.g., owner, partner, manufacturer)." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "owner_company_name", | |
"type": "string (multi-valued, exact match, for faceting)", | |
# Placeholder, based on common patterns | |
"example_values": ["AstraZeneca Plc"], | |
"definition": "The canonical, standardized name(s) of the owner company of the compound. Use for faceting on owner companies." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "overall_status", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["Marketed", "Completed", "Terminated"], | |
"definition": "The overall development status of the compound (e.g., Marketed, Completed, Terminated)." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "phase", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["Marketed", "Phase 1", "Pre Clinical"], | |
"definition": "The current or most advanced clinical or developmental stage of the compound. Essential for queries about clinical trial phases." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "highest_phase_molecule", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["Marketed", "Phase 3"], | |
"definition": "The highest development stage a molecule associated with this compound has ever reached." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "therapeutic_category", | |
"type": "string (multi-valued, specific, for faceting)", | |
"example_values": ["Angina Pectoris", "Heart Failure, Other"], | |
"definition": "The specific disease or therapeutic area being targeted by the compound. Use for very specific disease queries or faceting." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "therapeutic_category_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["cardiovascular diseases", "heart diseases", "angina pectoris"], | |
"definition": "Broader, multi-valued therapeutic categories and their synonyms. **Use this field for broad category searches** in the `query` parameter." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "therapeutic_category_hierarchy", | |
"type": "string (multi-valued, hierarchical)", | |
"example_values": ["Cardiovascular Diseases|Heart Diseases|Coronary Artery Disease|Angina Pectoris"], | |
"definition": "The hierarchical classification of the therapeutic area (e.g., 'Category|Subcategory|Specific Area'). Useful for hierarchical faceting or broader path-based searches. [12, 16, 18, 24]" | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "mechanism", | |
"type": "string (multi-valued, specific, for faceting)", | |
# Placeholder | |
"example_values": ["Beta-1 Adrenergic Receptor Antagonist"], | |
"definition": "The specific mechanism of action of the compound. Use for very specific mechanism queries or faceting." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "mechanism_s", | |
"type": "string (multi-valued, for searching)", | |
# Placeholder | |
"example_values": ["beta blocker", "adrenergic receptor antagonist"], | |
"definition": "Broader, multi-valued mechanisms of action and their synonyms. **Use this field for broad mechanism searches** in the `query` parameter." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "mechanism_type", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["Cardioprotectants", "Antihypertensive Agents", "Beta-1 Blockers"], | |
"definition": "High-level classification of the mechanism type." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "mechanism_type_hierarchy", | |
"type": "string (multi-valued, hierarchical)", | |
"example_values": ["Tissue Protectants|Cardioprotectants", "Adrenergic Receptor Modulators|Beta Adrenergic Receptor Modulators|Beta Blockers|Beta-1 Blockers"], | |
"definition": "The hierarchical classification of the mechanism type." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "target_name", | |
"type": "string (multi-valued, exact match, for faceting)", | |
"example_values": ["Beta1 Adrenergic"], | |
"definition": "The specific name of the biological target(s) of the compound. **Use this field for `terms` faceting** on targets." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "target_name_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["Beta1 Adrenergic", "Beta-1 Adrenergic Receptor", "ADRB1"], | |
"definition": "A field with all known names and synonyms for the biological target(s). **Use this field for all `query` parameter searches** involving a target name." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "target_type", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["protein", "biochemical process/pathway", "other"], | |
"definition": "The type of biological target (e.g., protein, pathway)." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "route", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["ORAL", "INJECTION", "TOPICAL"], | |
"definition": "The primary route of administration for the compound. Good for faceting on exact routes." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "route_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["oral", "parenteral", "injection"], | |
"definition": "Broader, multi-valued routes of administration and their synonyms. **Use this field for broad route searches** in the `query` parameter." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "route_branch_hierarchy", | |
"type": "string (multi-valued, hierarchical)", | |
"example_values": ["ORAL"], | |
"definition": "The hierarchical classification of the route of administration." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "form_name", | |
"type": "string (multi-valued, categorical)", | |
"example_values": ["ORAL|Oral Tablet", "INJECTION|Solution"], | |
"definition": "The pharmaceutical form of the compound, often combined with the route (e.g., 'Route|Form')." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "drug_delivery_technology", | |
"type": "string (multi-valued, specific, for faceting)", | |
"example_values": ["Conventional Melt Tablets", "Oral Matrix MR", "Bioadhesion"], | |
"definition": "Specific categories of drug delivery technology employed for the compound. **Use this field for `terms` faceting** on specific delivery technologies." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "drug_delivery_branch_s", | |
"type": "string (multi-valued, for searching)", | |
"example_values": ["oral", "oral modified release", "oral extended release"], | |
"definition": "The method of drug administration technology and its broader search-friendly terms. **Use this for `query` parameter searches about drug delivery technologies**." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "earliest_approval_date", | |
"type": "date", | |
"example_values": ["1986-06-19T00:00:00Z"], | |
"definition": "The earliest known approval date for the compound in ISO 8601 format. Use for precise date range queries." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "approval_year", | |
"type": "number (multi-valued, year)", | |
"example_values": [1992, 2000, 2001], | |
"definition": "The 4-digit year(s) of approval for the compound. Use for queries involving whole years." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "compound_territory", | |
"type": "string (multi-valued, hierarchical)", | |
"example_values": ["United States of America", "Americas Northern", "Europe", "World"], | |
"definition": "The geographic territories where the compound is approved or marketed. It is hierarchical. Use for filtering by location. [12, 16, 18, 24]" | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "is_orphan", | |
# Solr typically stores booleans as strings or numbers [14, 15, 21, 23] | |
"type": "string (boolean)", | |
"example_values": ["yes", "no"], | |
"definition": "Indicates if the compound has received orphan drug designation. Orphan drugs are intended for rare diseases that affect a small population, making them less profitable to develop without incentives. [2, 4, 7, 9, 10]" | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "is_prodrug", | |
"type": "string (boolean)", | |
"example_values": ["yes", "no"], | |
"definition": "Indicates if the compound is a prodrug (an inactive compound that is metabolized in the body to an active drug)." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "black_box", | |
"type": "string (boolean)", | |
"example_values": ["yes", "no"], | |
"definition": "Indicates if the compound carries a 'Black Box Warning' (the strongest warning by the FDA that a drug carries significant risks)." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "molecular_weight", | |
"type": "number (metric)", | |
"example_values": [652.816, 300.25], | |
"definition": "The molecular weight of the compound in Daltons. Use for numerical range queries." | |
}, | |
{ | |
"core_name": "compound", | |
"field_name": "logP", | |
"type": "number (metric)", | |
"example_values": [2.5, -0.7, 4.1], | |
"definition": "The logarithm of the octanol-water partition coefficient, a measure of a compound's lipophilicity (fat-liking) or hydrophilicity (water-liking). Higher values indicate more lipophilicity. [1, 3, 5, 6, 8]" | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "US_state", | |
"type": "string", | |
"example_values": ["California", "Massachusetts", "New York"], | |
"definition": "The US state(s) where the company operates or has a significant presence." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "acquired_by", | |
"type": "string", | |
"example_values": ["Pfizer Inc.", "Johnson & Johnson"], | |
"definition": "Names of companies that have acquired this company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "address", | |
"type": "string", | |
"example_values": ["123 Biotech Ave, Boston, MA 02110", "456 Pharma Rd, San Francisco, CA 94107"], | |
"definition": "Physical address(es) of the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "city", | |
"type": "string", | |
"example_values": ["Boston", "San Diego", "Basel"], | |
"definition": "City/cities where the company is located or has a significant presence." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_IPO_date", | |
"type": "string", | |
"example_values": ["2005-10-15", "2018-03-22"], | |
"definition": "Date(s) of the company's Initial Public Offering (IPO) in YYYY-MM-DD format." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_US_state", | |
"type": "string", | |
"example_values": ["California", "Massachusetts"], | |
"definition": "The primary US state of the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_business_model", | |
"type": "string", | |
"example_values": ["Drug Discovery", "Drug Development", "Contract Manufacturing", "Diagnostics"], | |
"definition": "Description(s) of the company's business model(s)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_city", | |
"type": "string", | |
"example_values": ["Cambridge", "Princeton"], | |
"definition": "The primary city of the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_development_capabilities", | |
"type": "string", | |
"example_values": ["Preclinical Research", "Clinical Trials Management", "CMC Development", "Regulatory Affairs"], | |
"definition": "Capabilities of the company in drug/product development." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_gross_profit", | |
"type": "float", | |
"example_values": [1500.5, 750.25], | |
"definition": "Gross profit(s) of the company, possibly over different periods (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_highest_phase", | |
"type": "string", | |
"example_values": ["Marketed", "Phase 3", "Preclinical"], | |
"definition": "The highest development phase achieved by any of the company's products/molecules." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_is_active", | |
"type": "string", | |
"example_values": ["Yes", "No"], | |
"definition": "Indicates if the company is currently active ('Yes' or 'No')." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_liabilities", | |
"type": "float", | |
"example_values": [800.75, 400.0], | |
"definition": "Total liabilities of the company, possibly over different periods (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_location_facility_type", | |
"type": "string", | |
"example_values": ["R&D Center", "Manufacturing Plant", "Headquarters", "Clinical Site"], | |
"definition": "Type of facilities associated with the company's locations (e.g., 'manufacturing', 'R&D')." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_main_territory", | |
"type": "text_ci", | |
"example_values": ["North America", "Europe", "Asia-Pacific"], | |
"definition": "Main geographical territories where the company operates or focuses." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_market_cap", | |
"type": "float", | |
"example_values": [50000.0, 12500.75], | |
"definition": "The market capitalization of the company (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_name", | |
"type": "string", | |
"example_values": ["BioGen Innovations", "TheraWorks Pharmaceuticals", "MediTech Solutions"], | |
"definition": "The official name of the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_net_income", | |
"type": "float", | |
"example_values": [250.1, -50.0], | |
"definition": "Net income(s) of the company, possibly over different periods (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_number_of_employees", | |
"type": "int", | |
"example_values": [500, 12000, 75], | |
"definition": "Number of employees in the company, possibly over different periods." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_operating_income", | |
"type": "float", | |
"example_values": [300.0, 80.5], | |
"definition": "Operating income(s) of the company, possibly over different periods (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_private_public", | |
"type": "string", | |
"example_values": ["Public", "Private"], | |
"definition": "Indicates if the company is 'Private' or 'Public'." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_r_d", | |
"type": "float", | |
"example_values": [120.0, 45.7], | |
"definition": "Research and Development (R&D) expenditure of the company, possibly over different periods (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_revenue", | |
"type": "float", | |
"example_values": [2500.0, 1100.2], | |
"definition": "Total revenue(s) of the company, possibly over different periods (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_role", | |
"type": "string", | |
"example_values": ["Developer", "Manufacturer", "Distributor", "Contract Research Organization (CRO)"], | |
"definition": "Role(s) of the company (e.g., 'developer', 'manufacturer')." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_sales", | |
"type": "float", | |
"example_values": [2300.0, 950.0], | |
"definition": "Sales figures of the company, possibly over different periods (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_sales_ga_expenses", | |
"type": "float", | |
"example_values": [500.0, 210.5], | |
"definition": "Sales, General, and Administrative (SG&A) expenses of the company (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_summary", | |
"type": "string", | |
"example_values": ["A leading biotechnology company focused on oncology.", "Specializes in developing advanced drug delivery systems."], | |
"definition": "A summary or description of the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_synonym", | |
"type": "string", | |
"example_values": ["BioGen Inc.", "TheraWorks Pharma"], | |
"definition": "Alternative names or synonyms for the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_territory", | |
"type": "text_ci", | |
"example_values": ["United States", "Germany", "Japan", "Global"], | |
"definition": "Geographical territories where the company operates." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_territory_hierarchy", | |
"type": "hierarchy", | |
"example_values": ["continent/North America/country/United States", "continent/Europe/country/Germany"], | |
"definition": "Hierarchical representation of the company's operating territories." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_territory_s", | |
"type": "string", | |
"example_values": ["United States", "Germany", "Japan"], | |
"definition": "String representation of the company's operating territories (likely for faceted search)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_total_assets", | |
"type": "float", | |
"example_values": [3000.0, 1500.0], | |
"definition": "Total assets of the company, possibly over different periods (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_total_current_assets", | |
"type": "float", | |
"example_values": [1200.0, 600.0], | |
"definition": "Total current assets of the company, possibly over different periods (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_total_current_liabilities", | |
"type": "float", | |
"example_values": [400.0, 200.0], | |
"definition": "Total current liabilities of the company, possibly over different periods (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_total_equity", | |
"type": "float", | |
"example_values": [2600.0, 1300.0], | |
"definition": "Total equity of the company, possibly over different periods (in millions USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_website", | |
"type": "string", | |
"example_values": ["https://www.biogeninnovations.com", "https://www.theraworks.com"], | |
"definition": "The official website URL of the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "company_year_founded", | |
"type": "string", | |
"example_values": ["1998", "2010"], | |
"definition": "The year the company was founded." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "conjugate_molecule_type_1", | |
"type": "text_ci", | |
"example_values": ["Antibody", "Polymer"], | |
"definition": "Type of the first conjugate molecule associated with the company's products." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "conjugate_molecule_type_2", | |
"type": "text_ci", | |
"example_values": ["Small Molecule", "Peptide"], | |
"definition": "Type of the second conjugate molecule associated with the company's products." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "conjugate_molecule_types", | |
"type": "text_ci", | |
"example_values": ["Antibody-Drug Conjugate", "Polymer-Drug Conjugate"], | |
"definition": "Overall types of conjugate molecules associated with the company's products." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "corporate_history", | |
"type": "string", | |
"example_values": ["Founded in 1998, went public in 2005.", "Acquired by Pfizer in 2020."], | |
"definition": "Historical information about the company's corporate activities." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "cp_moment_updated", | |
"type": "string", | |
"example_values": ["2023-01-15T10:30:00Z", "2024-05-20T14:00:00Z"], | |
"definition": "Timestamp(s) when the company's profile was last updated in ISO 8601 format." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "drug_delivery_branch", | |
"type": "string", | |
"example_values": ["Oral Delivery", "Injectable Delivery", "Transdermal Patches"], | |
"definition": "Branch(es) of drug delivery technologies related to the company's products." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "drug_delivery_branch_hierarchy", | |
"type": "hierarchy", | |
"example_values": ["route/Oral/branch/Oral Delivery", "route/Parenteral/branch/Injectable Delivery"], | |
"definition": "Hierarchical representation of drug delivery branches." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "drug_delivery_branch_s", | |
"type": "string", | |
"example_values": ["Oral Delivery", "Injectable Delivery"], | |
"definition": "String representation of drug delivery branches (likely for faceted search)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "drug_delivery_technology", | |
"type": "string", | |
"example_values": ["Nanoparticle Delivery", "Liposomal Encapsulation", "Microneedle Systems"], | |
"definition": "Specific drug delivery technologies used by the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "drug_delivery_technology_categories", | |
"type": "string", | |
"example_values": ["Advanced Formulations", "Targeted Delivery"], | |
"definition": "Categories of drug delivery technologies." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "drug_delivery_technology_hierarchy", | |
"type": "hierarchy", | |
"example_values": ["category/Advanced Formulations/technology/Nanoparticle Delivery"], | |
"definition": "Hierarchical representation of drug delivery technologies." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "drug_delivery_technology_names", | |
"type": "string", | |
"example_values": ["NanoCaps", "LipoSphere", "MicroDerm"], | |
"definition": "Names of drug delivery technologies." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "drug_delivery_technology_s", | |
"type": "string", | |
"example_values": ["nanoparticle", "liposomal", "microneedle"], | |
"definition": "String representation of drug delivery technologies (likely for faceted search)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "efficiency_income_employee", | |
"type": "float", | |
"example_values": [50000.0, 75000.0], | |
"definition": "Efficiency metric: income per employee (in USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "efficiency_revenue_employee", | |
"type": "float", | |
"example_values": [250000.0, 180000.0], | |
"definition": "Efficiency metric: revenue per employee (in USD)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "efficiency_total_asset_turnover", | |
"type": "float", | |
"example_values": [0.8, 1.2], | |
"definition": "Efficiency metric: total asset turnover." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "email", | |
"type": "string", | |
"example_values": ["info@biogeninnovations.com", "contact@theraworks.com"], | |
"definition": "Email address(es) for the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "facility_state", | |
"type": "string", | |
"example_values": ["Maryland", "North Carolina"], | |
"definition": "State(s) where company facilities are located." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "facility_territory", | |
"type": "text_ci", | |
"example_values": ["United States", "Ireland"], | |
"definition": "Geographical territories where company facilities are located." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "facility_territory_id", | |
"type": "text_ci", | |
"example_values": ["USA", "IRL"], | |
"definition": "ID(s) for the geographical territories of company facilities." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "fax", | |
"type": "string", | |
"example_values": ["+1-123-456-7890", "+44-20-1234-5678"], | |
"definition": "Fax number(s) for the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "founder", | |
"type": "string", | |
"example_values": ["Dr. Jane Doe", "John Smith"], | |
"definition": "The founder(s) of the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "generic_or_innovator", | |
"type": "string", | |
"example_values": ["Innovator", "Generic"], | |
"definition": "Indicates if the company primarily develops 'Generic' or 'Innovator' products." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "highest_phase", | |
"type": "string", | |
"example_values": ["Marketed", "Phase 3"], | |
"definition": "The highest development phase achieved by any of the company's products/molecules." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "id", | |
"type": "string", | |
"example_values": ["COMP_0001", "COMP_0002", "COMP_0003"], | |
"definition": "Unique identifier for the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "investor_company", | |
"type": "string", | |
"example_values": ["BlackRock", "Sequoia Capital"], | |
"definition": "Names of companies that have invested in this company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "investors", | |
"type": "string", | |
"example_values": ["VentureCorp Capital", "Angel Investors Network"], | |
"definition": "Names of individual or institutional investors in the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "last_update_time", | |
"type": "date", | |
"example_values": ["2023-11-01T08:00:00Z", "2024-01-25T16:45:00Z"], | |
"definition": "Timestamp(s) of the last update to the company's record in ISO 8601 format." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "last_update_user", | |
"type": "string", | |
"example_values": ["admin_user_1", "data_editor_2"], | |
"definition": "User(s) who last updated the company's record." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "liquidity_data_current_ratio_mrq", | |
"type": "float", | |
"example_values": [1.8, 2.5], | |
"definition": "Liquidity data: current ratio for the most recent quarter (MRQ)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "liquidity_data_current_ratio_yoy", | |
"type": "float", | |
"example_values": [1.9, 2.3], | |
"definition": "Liquidity data: current ratio year-over-year (YOY)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "liquidity_data_quick_ratio_mrq", | |
"type": "float", | |
"example_values": [1.2, 1.7], | |
"definition": "Liquidity data: quick ratio for the most recent quarter (MRQ)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "liquidity_data_quick_ratio_yoy", | |
"type": "float", | |
"example_values": [1.3, 1.6], | |
"definition": "Liquidity data: quick ratio year-over-year (YOY)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "major_business_model", | |
"type": "string", | |
"example_values": ["Biopharmaceutical Development", "Medical Device Manufacturing"], | |
"definition": "Major business model(s) of the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "marketing_status", | |
"type": "text_ci", | |
"example_values": ["Marketed", "Pre-Market", "Discontinued"], | |
"definition": "Current marketing status of the company's products (e.g., 'pre-market', 'on-market')." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "mechanism_type", | |
"type": "string", | |
"example_values": ["Kinase Inhibitor", "Monoclonal Antibody", "Gene Therapy"], | |
"definition": "Mechanism of action type(s) for molecules/products associated with the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "mechanism_type_hierarchy", | |
"type": "hierarchy", | |
"example_values": ["type/Kinase Inhibitor", "type/Monoclonal Antibody"], | |
"definition": "Hierarchical representation of mechanism types." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "molecule_api_group", | |
"type": "string", | |
"example_values": ["Small Molecules", "Biologics", "Gene Therapies"], | |
"definition": "API (Active Pharmaceutical Ingredient) group(s) of molecules associated with the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "molecule_name", | |
"type": "string", | |
"example_values": ["DrugX-200", "mAb-Y101", "GeneEdit-Z"], | |
"definition": "Names of molecules associated with the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "molecule_type", | |
"type": "string", | |
"example_values": ["Small Molecule", "Monoclonal Antibody", "CRISPR-Cas9"], | |
"definition": "Type(s) of molecules associated with the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "original_financial_rd", | |
"type": "string", | |
"example_values": ["$120,000,000", "€45M"], | |
"definition": "Original raw R&D financial data (as string)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "original_financial_total_revenue", | |
"type": "string", | |
"example_values": ["$2.5 Billion", "£1.1B"], | |
"definition": "Original raw total revenue financial data (as string)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "owner_company_private_public", | |
"type": "string", | |
"example_values": ["Public", "Private"], | |
"definition": "Indicates if the owner company is 'Private' or 'Public'." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "phase", | |
"type": "string", | |
"example_values": ["Phase 1", "Phase 2", "Preclinical", "Marketed"], | |
"definition": "Development phase(s) of products/molecules associated with the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "product_name", | |
"type": "string", | |
"example_values": ["OncoTherapy-A", "CardioGuard-XL", "NeuroBoost-System"], | |
"definition": "Names of products developed or marketed by the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "product_synonym", | |
"type": "string", | |
"example_values": ["OncoTA", "CGXL"], | |
"definition": "Synonyms for products associated with the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "profitability_data_operating_margin_ttm", | |
"type": "float", | |
"example_values": [0.15, 0.22], | |
"definition": "Profitability data: operating margin for the trailing twelve months (TTM)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "profitability_data_profit_margin", | |
"type": "float", | |
"example_values": [0.10, 0.18], | |
"definition": "Profitability data: overall profit margin." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "profitability_data_return_on_assets_ttm", | |
"type": "float", | |
"example_values": [0.08, 0.14], | |
"definition": "Profitability data: return on assets for the trailing twelve months (TTM)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "profitability_data_return_on_equity_ttm", | |
"type": "float", | |
"example_values": [0.12, 0.20], | |
"definition": "Profitability data: return on equity for the trailing twelve months (TTM)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "route", | |
"type": "string", | |
"example_values": ["Oral", "Intravenous", "Topical"], | |
"definition": "Route(s) of administration for products/molecules associated with the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "route_branch", | |
"type": "string", | |
"example_values": ["Oral Solid Dosage", "Injectable Solutions"], | |
"definition": "Branch(es) of route of administration." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "route_branch_hierarchy", | |
"type": "hierarchy", | |
"example_values": ["route/Oral/branch/Oral Solid Dosage"], | |
"definition": "Hierarchical representation of route of administration branches." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "route_branch_s", | |
"type": "string", | |
"example_values": ["Oral Solid Dosage", "Injectable Solutions"], | |
"definition": "String representation of route of administration branches (likely for faceted search)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "route_s", | |
"type": "text_ci", | |
"example_values": ["oral", "injection", "topical"], | |
"definition": "String representation of routes of administration (likely for faceted search)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "subsidiary", | |
"type": "string", | |
"example_values": ["BioGen Labs", "TheraWorks Diagnostics"], | |
"definition": "Names of subsidiaries of this company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "subsidiary_of_company", | |
"type": "string", | |
"example_values": ["Global Pharma Corp", "United Healthcare Inc."], | |
"definition": "Names of parent companies if this company is a subsidiary." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "telephone", | |
"type": "string", | |
"example_values": ["+1-555-123-4567", "+49-30-9876-5432"], | |
"definition": "Telephone number(s) for the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "therapeutic_category", | |
"type": "string", | |
"example_values": ["Oncology", "Cardiology", "Neurology"], | |
"definition": "Therapeutic category/categories of products/molecules associated with the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "therapeutic_category_hierarchy", | |
"type": "hierarchy", | |
"example_values": ["disease/Cancer/category/Oncology", "disease/Cardiovascular/category/Cardiology"], | |
"definition": "Hierarchical representation of therapeutic categories." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "therapeutic_category_s", | |
"type": "text_ci", | |
"example_values": ["cancer", "heart disease", "nervous system disorders"], | |
"definition": "String representation of therapeutic categories (likely for faceted search)." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "therapeutic_group_id", | |
"type": "string", | |
"example_values": ["THERA_ONC_01", "THERA_CARD_02"], | |
"definition": "ID(s) for the therapeutic group(s) of products/molecules associated with the company." | |
}, | |
{ | |
"core_name": "company", | |
"field_name": "type", | |
"type": "string", | |
"example_values": ["Biotech", "Pharmaceutical", "CRO", "Medical Device Company"], | |
"definition": "Type(s) of the company (e.g., 'Biotech', 'Pharma')." | |
} | |
] | |
def format_metadata_for_prompt(core_name="news"): | |
"""Formats the field metadata for a specific core into a string for the LLM prompt.""" | |
formatted_string = "" | |
# Filter fields by the provided core name | |
for field in field_metadata: | |
if field.get("core_name") == core_name: | |
formatted_string += f"- **{field['field_name']}**\n" | |
formatted_string += f" - **Type**: {field['type']}\n" | |
formatted_string += f" - **Definition**: {field['definition']}\n" | |
formatted_string += f" - **Examples**: {', '.join(map(str, field['example_values']))}\n\n" | |
return formatted_string | |