Paraphraser

Generate alternative phrasings for a sentence.

Input

Description

The task paraphrases a sentence while preserving its original meaning. Enter the sentence in the input box and click "Run task" for multiple suggestions.

Applications

The task helps generate multiple paraphrasings of a given sentence while maintaining its meaning.

How to use the task

Enter a sentence, click "Run task," get multiple paraphrased suggestions.

[1.0.0]:
First version
VersionAI ModelCreatedLink
1.0.022.07.2023

API

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.

Parameters

  • sentence (Sentence): Enter the sentence you wish to paraphrase.
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN" https://api.anysolve.ai/rest/v1/u-806494eb1fbfb39f-paraphraser/1.0.0?sentence=I%20love%20good%20food
  • 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-806494eb1fbfb39f-paraphraser','1.0.0', {'sentence': 'I love good food'})
    print(res)
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('u-806494eb1fbfb39f-paraphraser','1.0.0', sentence='I love good food')

Task infos

Author: AnySolve
Status: Published
Version: 1.0.0
Runs: 13 times
Favorites: 1
Average costs: 2 Credits (0.003 EUR)
Created: 22.07.2023