The following steps need to be followed to install II-Researcher:
1. Cloning the code base:
git clone https://github.com/Intelligent-Internet/ii-researcher.git
cd ii-researcher
2. Installation of dependencies:
pip install -e .
3. Configure environment variables:Multiple API keys and parameters need to be set
export OPENAI_API_KEY="your-openai-api-key"
export TAVILY_API_KEY="your-tavily-api-key"
export SEARCH_PROVIDER="tavily"
export SCRAPER_PROVIDER="firecrawl"
Optional Configurations(for compression or reasoning):
export USE_LLM_COMPRESSOR="TRUE"
export FAST_LLM="gemini-lite"
export STRATEGIC_LLM="gpt-4o"
export R_TEMPERATURE="0.2"
It can also be deployed using Docker to run commands:
docker compose up --build -d
The services will run at the following addresses respectively:
- Front end: http://localhost:3000
- Backend API: http://localhost:8000
- LiteLLM: http://localhost:4000
This answer comes from the articleII-Researcher: Deep Search and Stepwise Reasoning to Answer Complex QuestionsThe