Tips and tricks to explore for advanced users.
muna.predictions.create
method, the Python SDK provides an @muna.beta.predict
decorator
which monkey-patches an existing function to instead make a prediction:
@muna.beta.predict
decorator to a function. When the function is called, it will instead create a prediction
with the provided tag and return the results:
Iterator
or Generator
return type annotation to the function: