lukekim commented on issue #17379: URL: https://github.com/apache/datafusion/issues/17379#issuecomment-3391293194
I took a shot at this, for Spic.ai's [ai async UDF](https://spiceai.org/blog/releases/v1.8.0#ai-sql-function-for-llm-integration-preview), that I can post as an example. ```sql SELECT ai('tell me a poem', 'gpt-4o', temperature => 50.0) ``` The problem is it requires updates to every ScalarFunction UDF even if the additional parameters are varadic. I tried several methods to make it 100% compatible so no one has to change anything, but it seems like we'd have to change the interface to make it perform well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
