Hello,
I am trying to connect the API from Azure Machine Learning Studio to Buuble.is
I made a sample module, which checks the text delivered to the API, and say “positive” or “negative” to mean if the text sounds positive/negative.
To use it easily, I tried to make a webapp using bubble.is.
The goal is to get the input, send it to Azure API, received the result and show the result on Bubble.is page, which is “positive” or “negative” However, the page only shows [object Object] text.
Here is what I have done.
- Set up the API connector as shown below, using entries that I received from Azure Machine Learning Studio.
Notes: This is the script that I entered on this page.
{
“Inputs”: {
“input1”: {
“Values”: [
[
“Happy New Year”,
“value”
]
]
}
},
“GlobalParameters”: {}
}
==
- Check the raw response and choose “value Values (list)” as the value to use.
- Using the [Design] menu, add the text and connect it to API as shown below.
- Open the preview page, enter a text.
I expected to get a text “positive” or “negative”. However, it only shows [object Object] text.
I am new to API (actually for anything about programming) and I was not sure how I can make my page show “positive” instead of [object Object]
Any advice will be really appreciated. If I need to share more details, please let me know.
Thank you.
Sincerely,
Ariteru Hara