datastax / pulsar-transformations

Apache License 2.0
10 stars 8 forks source link

Use a different classname for the ai-tools Function (com.datastax.oss.pulsar.functions.aitools.GenAIToolkit) #98

Closed eolivelli closed 1 year ago

eolivelli commented 1 year ago

Summary: Unfortunately the Pulsar Functions API doesn't allow you to know the original name of the "type" of the builtin function. So when you deploy the 'ai-tools' function there is no way of distinguishing it from the 'transforms' function.

This patch changes the name to com.datastax.oss.pulsar.functions.aitools.GenAIToolkit. It is 100% compatible with the previous versions.