Soheel Chughtai
Soheel Chughtai
Had to back out during test, as the stream input processing requires the attribute 'value', else the open stream from a document file causes node-red to crash.
How are you injecting the json? It has been tested with HTTP request, HTTP multipart and File Inject, and PDF Hummus. [{"id":"6a0eaf1a.5ae95","type":"fileinject","z":"e0b750ac.1c66c","name":"Inject a doc or json","x":134,"y":803,"wires":[["af11a3c2.83d6b"]]},{"id":"f6eb0f41.7a89b","type":"fileinject","z":"e0b750ac.1c66c","name":"Inject a pdf","x":104,"y":823,"wires":[["d52e8d8b.7f484"]]},{"id":"d52e8d8b.7f484","type":"pdf-hummus","z":"e0b750ac.1c66c","name":"","filename":"TempDoscV1.pdf","split":true,"mode":{"value":"asBuffer"},"x":282,"y":806,"wires":[["af11a3c2.83d6b"]]},{"id":"af11a3c2.83d6b","type":"watson-discovery-v1-document-loader","z":"e0b750ac.1c66c","name":"","environment_id":"6a02b192-b8ed-4839-b108-e02a842d26e5","collection_id":"06e8c1b0-9858-4a38-861f-d35cd96d70f6","filename":"Temp Docs","default-endpoint":true,"service-endpoint":"https://gateway.watsonplatform.net/discovery/api","x":518,"y":774,"wires":[["9d8fc50a.4acec8"]]},{"id":"9d8fc50a.4acec8","type":"debug","z":"e0b750ac.1c66c","name":"","active":true,"console":"false","complete":"true","x":540,"y":677,"wires":[]}]
@Lotti @rcorig Please take this discussion to the GitHub repo that you are referring to https://github.com/GwilymNewton/node-red-contrib-discovery-insert Perhaps if you report your issues to the correct repo, the owner might actually...
@Lotti If you can do it and verify that there is no regression in all current working cases, then I will happily accept a pull request.
I think the best way would be for the node to allow global system level context setting. Keeping this issue open allowing for pull requests with suggested resolutions.
SDK support for acoustic customisation will be released soon, so can be added to the node.
crud for entities and values implemented in 0.5.16
Create Environment, Configuration, Collection implemented in 0.5.7
Delete Environment, Collection implemented in 0.5.15
max alternatives (with limit of 1-5) and smart formatting added to STT Node configuration in 0.5.19