simple way to mark requests?
bubakazouba opened this issue · 4 comments
I am trying to use mark my messages using the "msg_id" parameter that can be sent to wit and wit will send it back again. (see: https://wit.ai/docs/http/20141022#get-intent-via-speech-link).
I can see that in WitUploader.m --> startRequestWithContext, the url being formed would only contain the "context" (if it wasn't nil), is there something am I missing? Or is there just an easier way to "mark" my messages?
I am also having the same problem, that would be great if you added it to the sdk.
I haven't used it but would the start method with the customData work?
- (void)start: (id)customData;
According to the API
Same as the start method but allow a custom object to be passed, which will be passed back as an argument of the
[self.delegate witDidGraspIntent:… customData:(id)customData]. This is how you should link a request to a response, if needed.
customData is always the WITMicButton (line 238/243 WITMicButton.m)
When using the new converseAPI you can use the WitSession's customData to pass around data that you do not want sent to the server, so you could use this to mark your query.