Functions.Templates/Templates-v2/OpenAI-TextCompletion-Python/blueprint.py (4 lines of code) (raw):

# Register this blueprint by adding the following line of code # to your entry point file. # app.register_functions($(BLUEPRINT_FILENAME)) # # Please refer to https://aka.ms/azure-functions-python-blueprints import azure.functions as func import logging import json $(BLUEPRINT_FILENAME) = func.Blueprint()