Improves a Prompt

Enhances the given prompt.


Revise and optimize the clarity and quality of a provided prompt. This task focuses on refining the text to enhance its comprehensibility and compatibility with AI tools.

First release
VersionAI ModelCreatedLink


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


  • prompt_to_improve (Prompt to improve): A prompt is provided that should be improved by the task
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN"
  • 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 ='improve-prompt','1.0.0', {'prompt_to_improve': 'Explain me the following code: <code>'})
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('improve-prompt','1.0.0', prompt_to_improve='Explain me the following code: <code>')