Generate Investment Memo
Next, we'll set up our system prompt that configures how our AI researcher should behave. This prompt establishes key requirements like:
Finally, create our report generation function that uses the system prompt and combines it with company-specific research: