Write a Paper

Write a paper about a topic by creating a document and specifying what should be changed on the document.

Input

Description

This task offers a seamless approach to writing academic papers on any chosen topic. Begin by specifying the field of your paper and instructing the AI to generate the initial document. Once generated, you have the freedom to refine and modify the content according to your preferences.

Applications

• Students and researchers can use this task to efficiently generate the initial draft of a paper on a specific topic, saving time and effort in the writing process.

• The task provides a starting point for research, and users can define research plugins to gather relevant data, citations, and references to support their paper.

• The task's ability to generate multiple file formats allows users to iteratively improve and edit the document.

How to use the task

  1. Specify the field for the paper you want to write. This defines the focus and scope of the document.

  2. Enter the Document Lifetime (in hours), which specifies the duration for which the model stores your document in memory for further processing.

  3. Instruct the model to create the initial draft of the paper on the specified topic. This document will serve as a foundation for further development.

  4. Execute the Task: Run the task to create the initial document. Review the generated content and structure.

  5. If additional research is needed, define plugins to assist the AI in gathering relevant information, citations, and references.

  6. The task generates the paper in PDF, DOCX, TXT, and TEX formats, making it versatile for various editing and publishing tools.

  7. After reviewing the initial document, specify what changes, improvements, or additions you want to make.

  8. Execute the task again, this time incorporating the desired changes to the document.

  9. Repeat the process as needed to iteratively refine and enhance the paper until it meets your desired quality and completeness.

[1.0.0]:
First version
VersionAI ModelCreatedLink
1.0.020.07.2023

API

The REST API allows you to call the tool with the same costs as when running the tool. Please generate an Personal access token before using the REST API.

Parameters

  • duration_h (Document lifetime (h)): How many hours the document is stored. (less = cheaper)
  • session (Document name): The name of the document
  • field (Paper's field): The field of the paper
  • task (Changes on the paper): What on the paper should be changed
  • plugin_tasks (Plugins the task can use for research): List tasks that are shown to GPT for execution.
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN" https://api.anysolve.ai/rest/v1/u-ba835df8268fc301-write-a-paper/1.0.0?duration_h=3&session=4720f2e9-6f7f-4dd2-8a94-c4d45597b600&field=Biology&task=Start%20with%20writing%20a%20paper%20about%20wolves&plugin_tasks=intern-web-arxiv-1-0-0
  • Install the package with pip
    python3 -m pip install anysolve
  • Run in python3
    import os
    from anysolve import AnySolve
    anysolve_token = os.environ.get('ANYSOLVE_PERSONAL_ACCESS_TOKEN') # Resolve your personal access token here
    client = AnySolve(anysolve_token)
    res = client.run('u-ba835df8268fc301-write-a-paper','1.0.0', {'duration_h': '3', 'session': '4720f2e9-6f7f-4dd2-8a94-c4d45597b600', 'field': 'Biology', 'task': 'Start with writing a paper about wolves', 'plugin_tasks': 'intern-web-arxiv-1-0-0'})
    print(res)
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('u-ba835df8268fc301-write-a-paper','1.0.0', duration_h='3', session='4720f2e9-6f7f-4dd2-8a94-c4d45597b600', field='Biology', task='Start with writing a paper about wolves', plugin_tasks='intern-web-arxiv-1-0-0')