I know there are some Tally.so fans here - just as I am - so I wanted to share a little project.
Using Make I developed a first prototype on AI generated Tally forms!
Whenever someone submits the form it triggers a Make Scenario asking GPT3.5/4 to generate the formās blocks. Those blocks are then used to created the JSON for the internal Tally API. Once itās done, you are redirected to the form to view & use
Yeaaah I saw that - I am sorry, I was testing stuff and the Make Scenario was turned Off
I created those but also did them again using GPT4. Should I share them? Send via DM?
Hey @Chap, now there isnāt a lot to share anymore
But Iām happy to share a little bit about the process:
How are Tally forms created? Through a JSON Object
Which information is within this JSON? All kinds of stuff, different for each question type but basically itās the type of question, placeholder text, and some setting e.g. maximum content length etc.
As this was set, I used OpenAI to create this kind of JSON object. Using function calling. Make didnāt have a Module for this then but now itās here, itās called āGet structured data from unstructured inputā or something similar. So I defined the JSON I needed but the output was poor because there were too many moving parts etc.
I then moved away from OpenAI generating the complete object to only generating the question itself (e.g. āHow old are you?ā) combined with the question type (e.g. ānumberā) in this case. Then I wrote some custom javascript code to handle this input and create the needed JSON. Thatās why it currently only looks like the screenshot below. Calling GoogleCloudRun in the HTTP Module.
Also to speed up stuff I am calling OpenAI twice:
Generate all questions for a given prompt.
Then I am sending each of those question individually and in parallel to OpenAI. This way the output is smaller and itās not one big JSON containing all questions.
Then I am putting all those things together and create the needed JSON to create the tally.
Could anyone help me understand why the total price isnāt displaying and how to remove the unnecessary payment box or if you know how to make the calculation for multiple products you can share it with me?
The logic is really tricky to get right using AI.
Usually you can show calculated fields using ā@ā in the form and then it should be displayed.
Just because the AI created a price box, please do not take this as the right way to do it.
Iād suggest to look into the tally help center (Calculated Fields) which is very well documented or reach out to their support
I understand AI-generated solutions can be tricky. I did check out the Tally.so help centerās guide on Calculated Fields, like you suggested, and also contacted their support team, but havenāt heard back yet.
Interestingly, the logic seemed to work initially with a smaller number of products. However, when I increased the number of products, it stopped calculating the total price correctly.
Is there anything else I can try in the meantime to get the total price displaying correctly and remove the extra payment box?
The AI solution creates a template which you can put into your Tally account to use. In your account you are free to adjust the form however you like, so you should be able remove the extra payment box and setup the calculated fields however you like