Description:
An AI-driven backend platform designed to streamline the creation and compilation of LaTeX-based research papers. The core provides asynchronous execution for dynamic content generation, robust section management, and secure citation handling via a lightweight Flask-based API.
Key Features:
- Paper Management: Create, load, save, and delete research papers.
- Asynchronous Content Generation: Dynamically generate paper sections and content.
- LaTeX Compilation: Convert LaTeX documents into PDFs.
- Citation & Reference Management: Secure handling of citations.
- CORS Enabled: Simplifies integration with various frontend frameworks.
-
Clone the Repository:
git clone https://github.com/rajulubheem/resonance-draftpro-core.git cd resonance-draftpro-core/ -
Set Up Virtual Environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install Dependencies:
pip install -r requirements.txt # If you see the issues, try to install this packages manually. pip install flask[async] pip install openai-function-call -
Run the Application:
export OPENAI_API_KEY=sk-CWqhs...VI python src/app.pyThe API will be accessible at http://localhost:5002.
- OPENAI_API_KEY: Your OpenAI API key used for AI content generation services.
Flask>=3.0.3
flask-cors>=4.0.1
nest-asyncio>=1.6.0
pydantic>=2.7.4
pylatex>=1.4.2
openai>=1.55.3
openai-function-call>=0.2.6
tenacity>=9.0.0
python-dotenv>=1.0.1
- License: Apache-2.0
AI-Generated Content Disclaimer:
- Accuracy: AI content may include inaccuracies or outdated info. Always verify generated content independently.
- Originality: No guarantee on content originality. Ensure proper citation and plagiarism checks.
- Compliance: Follow ethical, academic, and institutional guidelines when using AI-assisted drafting.
- Liability: The creators are not liable for inaccuracies or misuse of AI-generated content. Use AI as a support tool, not a substitute for expert advice.