Draft and review articles through the use of Large Language Models (LLMs)
Project description
Article-Assistant
Article Assistant is a comprehensive Python package designed to assist with authoring and reviewing scientific articles. Utilizing advanced AI models from OpenAI, the package offers tools for generating complete articles based on provided topics and descriptions and reviewing existing articles for clarity, accuracy, and overall quality.
Features
- Authoring: Automatically generate well-structured review articles with sections including Title, Abstract, Introduction, Body, Conclusion, and Sources.
- Reviewing: Use a multi-agent AI system to review articles. The system includes:
- SME Reviewer: Reviews the article for technical accuracy and provides detailed feedback.
- SME Search: Searches the internet for similar articles and provides recommendations based on findings.
- Lead Reviewer: Summarizes the findings from both SME agents into a single cohesive summary.
Quick Start:
Install the Application:
pip install article-assistant
Author a New Article:
# Set API Key:
api_key = os.getenv('OPENAI_API_KEY')
author = Author(api_key)
# Describe the article:
topic = "quaternary ammonium compounds"
description = "An article of quaternary ammonium compounds and their efficacy"
# Generate the Article:
outline = author.generate_outline(topic, description)
paper_content = author.draft_paper(outline)
author.save_to_word(paper_content, "Drafted_Paper.docx")
Review Existing Article:
# Select files to review:
review = Review()
pdf_path = "path/to/file.pdf"
# Run Review:
results = review.review_article(pdf_path)
# Print the results
print("\nSummary by Lead Reviewer:")
print(results["summary"])
print("\nSME_Reviewer Outputs:")
for output in results["sme_reviewer"]:
print(output)
print("\nSME_Search Outputs:")
for output in results["sme_search"]:
print(output)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file article_assistant-0.1.3.tar.gz
.
File metadata
- Download URL: article_assistant-0.1.3.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21409e97df307d998fb658c8de0ab00d02b3b2c9341a31655e5cf7ccd090300b |
|
MD5 | 33af775842a71d6a2d4b508048ab03a8 |
|
BLAKE2b-256 | fc60f71b4ea2a0dc586d8c3f9aa47fcf5613e1a11c624069a6a886b881d5e2bd |
File details
Details for the file article_assistant-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: article_assistant-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d77b2891c0ba93480b4c1e5ce055bcc03c324aa06485e847ca34c2e81057cc5 |
|
MD5 | dac48c22bfb3935cb9ba204ea931530d |
|
BLAKE2b-256 | 40d7eb6537869d9f8443580665f3e907cbe3d5362b5e3816d989d305b237043b |