ArgueAI is a unique tool that simulates a debate between two Artificial Intelligence (AI) powered agents, leveraging the capabilities of search engine and language model technologies. This AI-based debate tool implements the power of the OpenAI and Tavily APIs for its NLP models.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Ensure that you have the latest version of npm and Python installed on your machine. The application requires NodeJS to manage the frontend and Python for the backend.
- Clone the repository to your local machine.
git clone https://github.com/FaizanFaisal25/ArgueAI.git
- Navigate to Server Folder, and install the required dependencies using pip.
cd ArgueAI/server
pip install -r requirements.txt
- Create a .env file in the
server
directory. Here, you will need to add your OpenAI API Key and Tavily API Key as shown below:
OPENAI_API_KEY=your-api-key-here
TAVILY_API_KEY=your-api-key-here
- Navigate to the client directory. Here, install the required dependencies using npm.
cd ArgueAI/client
npm install
Start the backend server first.
cd ArgueAI/server
python flask_server.py
Next, start the frontend.
cd ArgueAI/client
npm start
The frontend of the application runs on localhost:3000
by default, and the backend runs on localhost:9988
.