技术集成可分为三个步骤:
- environmental preparation::
- 安装Node.js 18+环境
- pass (a bill or inspection etc)
npm install mira-ai
Installation of core libraries - 配置OpenAI和ScrapingBee的API密钥
- base call: Use
researchCompany
函数,最低只需传入公司URL和API配置即可生成报告,支持TypeScript类型提示 - 高级定制::
- pass (a bill or inspection etc)
onProgress
回调实现实时进度监控 - modifications
prompts/
目录下的提示模板调整分析逻辑 - 覆盖默认抓取策略(如设置特定等待时间规避反爬)
- pass (a bill or inspection etc)
典型集成场景包括:CRM系统自动丰富客户档案、投资平台批量扫描初创公司、招聘工具构建技术栈画像等。核心库采用MIT许可,允许商业场景二次开发。
This answer comes from the articleMira: an AI library of intelligences that automate company research and analysisThe