Module: Cotoha::Endpoint::Summary

Included in:
Cotoha::Endpoint
Defined in:
lib/cotoha/endpoint/summary.rb

Instance Method Summary collapse

Instance Method Details

#summary(document:, sent_len:) ⇒ Object



4
5
6
# File 'lib/cotoha/endpoint/summary.rb', line 4

def summary(document:, sent_len:)
  post('/api/dev/nlp/beta/summary', document: document, sent_len: sent_len)
end