Merge pull request #649 from believethehype/vending-machine

Fixed request input back to stringified json, added additional alignment parameter to text-to-speech
This commit is contained in:
Pablo Fernandez 2023-07-11 01:57:51 +02:00 committed by GitHub
commit c1b8d98b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ The output of processing the data -- published by the Service Provider.
"kind": 68002,
"tags" [
// stringified JSON request event
[ "request", "<id-of-68001-event>" ],
[ "request", "<68001-event-as-stringified JSON>" ],
[ "e", "<id-of-68001-event>" ],
[ "p", "<Customer's pubkey>" ],
[ "status", "success", "<more-info>" ],
@ -115,6 +115,7 @@ This NIP defines some example job types, Customers SHOULD specify these types fo
| param | req? | description
|--------------------------------|------|--------
| `range` | opt | timestamp range (in seconds) of desired text to be transcribed
| `alignment` | opt | word, segment, raw : word-level, segment-level or raw outputs
### `summarization`
| param | req? | description