|
|
--- |
|
|
title: Research Draft Generator |
|
|
emoji: ๐ |
|
|
colorFrom: blue |
|
|
colorTo: indigo |
|
|
sdk: gradio |
|
|
sdk_version: 4.44.0 |
|
|
app_file: app.py |
|
|
pinned: false |
|
|
--- |
|
|
|
|
|
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference |
|
|
|
|
|
# Research Draft Generator |
|
|
|
|
|
An AI-powered research paper generator that uses a multi-agent workflow to create comprehensive academic papers. |
|
|
|
|
|
## Features |
|
|
|
|
|
- **Multi-Agent AI System**: Specialized agents for topic analysis, research retrieval, outline building, draft writing, and citation formatting |
|
|
- **Human-in-the-Loop**: Interactive feedback system for outline review and approval |
|
|
- **Automated Workflow**: Streamlined process from topic to final draft |
|
|
- **PDF Export**: Generate downloadable PDFs of completed research papers |
|
|
|
|
|
## How It Works |
|
|
|
|
|
1. **Topic Input**: Enter your research topic |
|
|
2. **AI Analysis**: The system analyzes and refines your topic |
|
|
3. **Outline Generation**: Creates a structured research paper outline |
|
|
4. **Human Review**: You review and approve/revise the outline |
|
|
5. **Draft Generation**: AI generates the full research paper |
|
|
6. **PDF Export**: Download your completed paper |
|
|
|
|
|
## Technology Stack |
|
|
|
|
|
- **AI Models**: OpenAI GPT-4 for natural language generation |
|
|
- **Workflow Engine**: LangGraph for orchestrating multi-agent workflows |
|
|
- **User Interface**: Gradio for web-based interaction |
|
|
- **Document Generation**: ReportLab for PDF creation |
|
|
|
|
|
## Usage |
|
|
|
|
|
1. Enter your research topic in the input field |
|
|
2. Click "Generate Outline" to start the process |
|
|
3. Review the generated outline |
|
|
4. Approve, request revisions, or reject the outline |
|
|
5. Once approved, the system will generate the full draft |
|
|
6. Download your research paper as a PDF |
|
|
|
|
|
## Environment Variables |
|
|
|
|
|
Set your OpenAI API key in the environment: |
|
|
```bash |
|
|
OPENAI_API_KEY=your_api_key_here |
|
|
``` |
|
|
|
|
|
## License |
|
|
|
|
|
This project is for research and educational purposes. |
|
|
|
|
|
## Author |
|
|
|
|
|
Anushka0007 |
|
|
|