Getting all of an API response
However if I call this via an api block in voiceflow, the output always gets rendered to [Object Object]
The api block is configured to capture the output like this:
Capture Response:
response
APPLY TO {manual_results}
manual_results is ALWAYS set to [Object Object], which is obviously Java trying to output an object to a string..... fair enough... so I wrote a function which stringify's the Object:
But that doesnt work because its input is literally '[Object Object]', (as the API step is outputting) so it outputs the same.
I have also tried having the function make the API call, but it crashes my browser, making me wonder if functions run client side.... which wouldnt work for me anyway because it would expose the API key....
Does anyone have any suggestions of how to get full json responses from API blocks?
EDIT: Yes Im doing RAG in another system, and sadly VF's knowledge base is not man enough for the size of the documents in question, hence the API call.

