{
  "schema": 1,
  "type": "completion",
  "description": "Summarizes fundamental financial analysis data into a narrative.",
  "completion": {
    "max_tokens": 500,
    "temperature": 0.7,
    "top_p": 1.0,
    "presence_penalty": 0.0,
    "frequency_penalty": 0.0
  },
  "input": {
    "parameters": [
      {
        "name": "company_id",
        "description": "The ID or name of the company.",
        "defaultValue": ""
      },
      {
        "name": "financial_health",
        "description": "The assessed financial health (e.g., Strong, Moderate, Weak).",
        "defaultValue": "Not available"
      },
      {
        "name": "ratios_summary",
        "description": "A string summarizing key financial ratios.",
        "defaultValue": "Not available"
      },
      {
        "name": "dcf_valuation_summary",
        "description": "A string summarizing DCF valuation.",
        "defaultValue": "Not available"
      },
      {
        "name": "comps_valuation_summary",
        "description": "A string summarizing comparable company valuation.",
        "defaultValue": "Not available"
      },
      {
        "name": "enterprise_value_summary",
        "description": "A string summarizing Enterprise Value.",
        "defaultValue": "Not available"
      },
      {
        "name": "user_provided_key_insights_or_conclusion_prompt",
        "description": "User-provided specific points to include or a prompt for the conclusion.",
        "defaultValue": "Provide a brief overall conclusion based on the data."
      }
    ]
  }
}
