Method: AI21::Client#paraphrase
- Defined in:
- lib/ai21/client.rb
#paraphrase(prompt, options = {}) ⇒ Object
27 28 29 |
# File 'lib/ai21/client.rb', line 27 def paraphrase(prompt, = {}) AI21::Client.post("/paraphrase", {text: prompt}.merge(snake_to_camel())) end |