Hi HN!
In the last months I've been working on a JS package to integrate AI function calling directly into frontend frameworks, with little to no knowledge about AI required.
It works like this:
1. Design your actions (i.e. which JS functions you want to enable from GenAI).
2. Connect an Input to package's trigger (1 line of code).
3. When your user submits their needs, the API automatically run the actions with the best parameters.
Example: you are the owner of HN.
- User writes their need "I want to submit a 'Show HN' post similar to the best performing of 2024. My app is for pizza ordering".
- Using the package, the following actions are sequentially triggered:
`search(filter_by='year', filter_val=2024)` -> `sort(field='points', asc=true)` -> `write_post(text='.....')`
(disclaimer: I did not do it for writing this post ;) )
My goal is to allow devs to simplify user journey, finally improving conversion by reducing number of clicks to purchase.
Now, developers with some general knowledge about GenAI will get better results, but I'm working to make it effortless for anyone.
It's free to try, and I'd love to hear your feedbacks or requests for help -> https://userize.it