This project is a React-based chatbot that interacts with the OpenAlex API to provide academic paper information and summaries.
- Interactive chat interface
- Integration with OpenAlex API for academic paper searches
- Paper summaries generated using OpenAI's GPT model
- Responsive design using Tailwind CSS
- Docker
- OpenAI API key
-
Clone the repository:
git clone https://github.com/martinbartolo/openalex-chatbot.git cd openalex-chatbot
-
Create a
.env
file in the root directory with your OpenAI API key:REACT_APP_OPENAI_API_KEY=your_openai_api_key_here
-
Build the Docker image:
docker build -t openalex-chatbot .
-
Run the Docker container:
docker run -p 3000:3000 openalex-chatbot
-
Open your browser and navigate to
http://localhost:3000
to use the application.
For local development without Docker, you can use the following commands:
npm install
npm start