auto-rust
auto-rust copied to clipboard
Implement a runtime version for `auto-implement`
Create a runtime version for auto-implement, this must to use a one different method to calculate the response of the function. The main idea is create a macro that implement a "compiled query" to code to invoke OpenAI API at runtime stage, we can capture the input nature at compilation time and calculate the output based on the input at runtime time. I think a good starter point is read and explore the marvin's implementation: https://github.com/PrefectHQ/marvin/blob/35582ba2142d2fb6826e97416e7f0afc84d4c721/src/marvin/ai_functions/base.py