by zby on 8/12/24, 12:14 PM with 3 comments
There is not much code in it - but it is not as trivial as it would seem when you try to cover all the possible cases.
I think it is now quite well tested and useful.
1 - https://zzbbyy.substack.com/p/ai-applications-for-question-a...
by spdustin on 8/12/24, 4:25 PM
Even better: extract them to their own function, list all the resulting functions when composing the completion request, and re-assemble the final object when the completion is returned.
by namanyayg on 8/12/24, 1:54 PM
I'm working on an agentic b2b ai myself and i found the process to add different tools quite annoying. This is a great solution. alas, my code is in TypeScript.
i'm curious, how do you handle errors and edge cases when the LLM-generated params don't quite match the function signature?