Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: assisted form creation with Azure OpenAI #7115

Open
wants to merge 84 commits into
base: develop
Choose a base branch
from

Conversation

kathleenkhy
Copy link
Contributor

@kathleenkhy kathleenkhy commented Mar 1, 2024

Problem

To migrate the AI Form Builder from Open AI to Azure OpenAI as moving to Azure OpenAI could help us to prevent logging of information for security reasons.

Closes FRM-1659, FRM-1661, FRM-1660, FRM-1682, FRM-1683, FRM-1684

Breaking Changes

  • No - this PR is backwards compatible

Features:

  • Adding frontend and backend validation for character limit for prompts
  • Adding frontend and backend validation for character limit for PDFs (to review again if this is the right approach for users)
  • Updating loading image gif
  • Updating upload size limit to 5mb

Bug Fixes:

  • TODO: to fix bug that when you upload a PDF/ add a prompt and click the back button, you're still able to proceed and click the "Create Form" button
  • There should be a behaviour (similar to form builder) that when you click back, there should be a prompt that asks if you're sure to discard what you have uploaded/ input

image

Before & After Screenshots

BEFORE:

AFTER:

Tests

Deploy Notes

New environment variables:

  • env var : env var details

New scripts:

  • script : script details

New dependencies:

  • dependency : dependency details

New dev dependencies:

  • dependency : dependency details

@kathleenkhy kathleenkhy changed the title Feat: azure openai migration feat: azure openai migration Mar 1, 2024
Copy link

linear bot commented Mar 7, 2024

@KenLSM KenLSM marked this pull request as ready for review March 19, 2024 10:31
@kathleenkhy kathleenkhy force-pushed the feat/azure-openai branch 3 times, most recently from b44f74b to 1982bb4 Compare April 22, 2024 14:25
@LoneRifle LoneRifle changed the title feat: azure openai migration feat: assisted form creation with Azure OpenAI Apr 23, 2024
@kathleenkhy kathleenkhy changed the base branch from feat/assisted-form-creation to develop April 23, 2024 04:19
@kathleenkhy kathleenkhy force-pushed the feat/azure-openai branch 2 times, most recently from 10fce12 to 95dee48 Compare April 23, 2024 17:45
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.

None yet

5 participants