This bundle contains:
- backend-azure-functions-js/ — a production-ready Azure Functions HTTP endpoint that proxies to Azure OpenAI Chat Completions.
- frontend-squarespace/ — a self-contained HTML snippet to embed in a Squarespace Code Block with polished styling.
- Deploy the Function (
backend-azure-functions-js/README.md). - Paste the embed snippet (
frontend-squarespace/squarespace-embed.html) into a Squarespace Code Block and setAPI_URL. - (Optional) Gate the page behind Squarespace Member Areas for paid access.
AOAI_ENDPOINT:https://oraieducator.openai.azure.com/AOAI_DEPLOYMENT:gpt-4.1-miniSYSTEM_PROMPT: "This is a placeholder prompt!"
Change any of these in your Function App settings or in the embed block.