I am trying to use a list picker to let the user select a chatbot model, but the list is distorted as shown in the screenshot I tried to paste here. I have also uploaded the .aia file
Please tell me what the problem is
Arun
testtselmodel1.aia (2.2 KB)
listpickerscreenshot
Thank you, but that does not solve the problem. The text before the colon disappears in the view of the list
Arun
I see the problem now.
The helper blocks don't coerce into text values the way you would expect.
You might have to code a lookup table mapping the model identifier helper block into whatever text representation you like for the List Picker, then use the SelectionIndex to load the selected model.
It would have been nicer if the chatbotbot component had a block to return the provider of a model.
Here's a pnambic (Pay No Attention to the Man Behind the Curtain) version, patched for the google special cases, and incomplete because I got bored filling in the map table.
testtselmodel1 (2).aia (3.3 KB)
P.S. After Picking, you might have to set the Provider too. I have never used this component, so I don't know.
Many thanks, ABG! I know how to fix it now.
Arun
The blocks are populated by an API, which actually does have the information in a structured form. I've logged a feature request to see if we could expose that via blocks to make these types of app designs easier to build.