安装配置流程
environmental preparation
首先需要准备Python 3.11环境和必要的API key。
step by step
- Create a virtual environment:
通过命令conda create -n OmniThink python=3.11
创建独立环境 - Cloning Project:
fulfillmentgit clone https://github.com/zjunlp/OmniThink.git
Download source code - Install the dependencies:
进入项目目录后运行pip install -r requirements.txt
- Configure the key:
需设置两个关键环境变量:export OPENAI_API_KEY=你的API_KEY
export SEARCHKEY=你的搜索KEY
- Run the program:
fulfillmentsh run.sh
命令启动生成过程
output result
生成的文章、大纲和思维导图会自动保存在./results/
Catalog.
This answer comes from the articleOmniThink: a writing framework for generating high-quality long articles, searching for external knowledge and then reflecting on it and building a knowledge tree step by stepThe