Skip to content Skip to main navigation Skip to footer

Search: asynchronous

9 results

Understand SPE configuration file

…50. server.finished_task_timeout # Timeout auto remove finished task server.finished_task_timeout = 60 Sets the timeout in seconds, after which finished tasks are automatically removed. Default is 60 seconds. This is related to using polling to get results of asynchronous tasks, see Asynchronous request – Polling section of REST API documentation. When polling for asynchronous task result using either GET /pending/{id} or…

Understand SPE processing queue

This article explains details about SPE asynchronous requests processing queue, the processing task lifecycle and its handling states. When SPE receives an asynchronous API request, a task is created and put in a queue. Size of the queue is defined by server.n_task_limit setting in SPE configuration file, default value is 1000 tasks. Tasks in queue are then handled according to…

Understand SPE executable files

…registered Windows service phxclient phxclient is simple command line SPE client. It is specifically designed for the SPE REST API, e.g. it automatically handles polling for asynchronous requests results. phxclient also provides additional functionality related to SPE features, like ability to stream audio recordings via RTP or HTTP stream. Therefore it’s useful for quick testing of the SPE API without…

Q: How do I get results for a pending operation?

…will be. WebSocket: Client asks for websocket creation by get /pending/{ID}. In query header there will be the parameters Upgrade, Connection, Sec-WebSocket-Version, Sec-WebSocket-Key. Authentication has to be a part of the header (HTTP basic or Session – according the server setup). Result of asynchronous operation will be send by the server by websocket client – client doesn’t have to ask…

Releases and Changelogs (SPE)

…[G#3] Restart MySQL DB transaction when deadlock occurs [G#26] Added webhooks for asynchronous requests [G#46] Changed default log verbosity level to ‘debug’ [G#32] Speaker model and group is possible to prepare with calibration [G#21] Dictate now supports incremental mode [G#9] Added resource for compare voiceprint sets [G#42] Optimized SID speed, use DB cache for calibrated voiceprints of speaker models (removed…

Video – Getting started with SPE

MODULE 1: Getting started with Speech Engine (19 min) Installation Technologies configuration Server and database configuration Users configuration Files processing Synchronous and asynchronous requests, results polling Stream processing https://youtu.be/4qrB-GfFdWY…

Documentation (SPE)

Partners and customers are encouraged to read Speech Engine (PhxSpe | PhxSpe.exe) software API reference and various manuals available as files in [SPE]/doc in standard software package and installation. You can also find REST API reference (Speech Engine) documentation online. You might be interested in reading the following information in manual: REST API reference Structure of API queries Asynchronous request…

Understand SPE processing priority

…by a number from (highest priority) to 99 (lowest priority) and can be set using X-Priority HTTP header when starting the asynchronous task. The PendingInfoResult response contains information about task priority. Priority can be set only when starting the task, it’s not possible to modify it afterwards. For additional info and example, see Task prioritization section in REST API documentation….

FAQs (PSP)

…in body of the response. Client will ask for resource “get /done/{ID}”, where the final result will be. WebSocket: Client asks for websocket creation by get /pending/{ID}. In query header there will be the parameters Upgrade, Connection, Sec-WebSocket-Version, Sec-WebSocket-Key. Authentication has to be a part of the header (HTTP basic or Session – according the server setup). Result of asynchronous