Skip to content

feat: azure function deployment#230

Merged
chrisraygill merged 2 commits intogenkit-ai:mainfrom
xavidop:xavier/azure-functions
Mar 30, 2026
Merged

feat: azure function deployment#230
chrisraygill merged 2 commits intogenkit-ai:mainfrom
xavidop:xavier/azure-functions

Conversation

@xavidop
Copy link
Copy Markdown
Contributor

@xavidop xavidop commented Feb 23, 2026

No description provided.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @xavidop, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a new documentation section that guides users through deploying Genkit Flows to Azure Functions. It focuses on leveraging the onCallGenkit helper from the genkitx-azure-openai plugin to manage HTTP triggers, CORS, streaming, and authentication seamlessly. The update provides clear instructions for setting up the necessary Azure resources and integrating Genkit Flows, enhancing the platform's deployment flexibility.

Highlights

  • Azure Functions Deployment Documentation: Added a new comprehensive documentation page detailing how to deploy Genkit Flows as Azure Functions HTTP triggers using the genkitx-azure-openai plugin.
  • onCallGenkit Helper Function: Introduced the onCallGenkit helper function, which simplifies deployment by auto-registering functions, handling CORS, supporting streaming via Server-Sent Events (SSE), and providing authentication through ContextProvider.
  • Authentication Context Providers: Documented various built-in context provider helpers for authentication, including allowAll, requireHeader, requireApiKey, requireBearerToken, allOf, and anyOf.
  • Azure Deployment Instructions: Provided step-by-step instructions for deploying Genkit Flows to Azure, covering resource group creation, storage account setup, Azure Function App creation, application settings configuration, and deployment commands.
  • Sidebar Navigation Update: Updated the documentation sidebar to include a new entry for 'Azure Functions' under the 'Deployment' section, linking to the newly added guide.
Changelog
  • src/content/docs/docs/deployment/azure-functions.mdx
    • Added new documentation for deploying Genkit Flows to Azure Functions, including basic usage, streaming, configuration options, context providers for authentication, and deployment steps.
  • src/sidebar.ts
    • Updated the sidebar configuration to include a link to the new Azure Functions deployment documentation.
Activity
  • No specific pull request activity (comments, reviews, or progress updates) was provided in the context.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request introduces documentation for deploying Genkit Flows as Azure Functions, including basic usage, streaming, configuration options, authentication providers, and deployment steps. It also updates the sidebar navigation to include the new Azure Functions deployment guide. The documentation is well-structured and provides clear examples for each section. I've identified a few areas for improvement regarding clarity and consistency in the documentation.

@i14h
Copy link
Copy Markdown
Collaborator

i14h commented Mar 17, 2026

/gcbrun

@chrisraygill chrisraygill force-pushed the xavier/azure-functions branch from 54fec95 to 2f72976 Compare March 30, 2026 21:12
@chrisraygill chrisraygill merged commit 35a2db0 into genkit-ai:main Mar 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants