Skip to content

Comments

feat: Create frontend support for AI Hint generation using ChatGPT for the basic layout#66

Merged
shreyabhandari0220 merged 13 commits intomainfrom
ai-hint-generation-basic-layout
Dec 3, 2024
Merged

feat: Create frontend support for AI Hint generation using ChatGPT for the basic layout#66
shreyabhandari0220 merged 13 commits intomainfrom
ai-hint-generation-basic-layout

Conversation

@Mehul-Gandhi
Copy link
Collaborator

@Mehul-Gandhi Mehul-Gandhi commented Nov 25, 2024

  1. Create a renderGPTText helper function
  2. Create frontend support for ChatGPT AI generated hints with streaming
  3. Load the function URL through github secrets workflow
  4. Load IAM AWS Access Key and Secret Access Key through github secret workflows
  5. Support hint regeneration through a reload button
Recording.2024-11-24.220845.mp4

image

@Mehul-Gandhi
Copy link
Collaborator Author

Updated video with reloading hints

Recording.2024-11-27.214422.mp4

@Mehul-Gandhi Mehul-Gandhi marked this pull request as ready for review November 28, 2024 06:45
REACT_APP_COMMIT_HASH: ${{ github.sha }}
REACT_APP_AI_HINT_GENERATION_AWS_ENDPOINT: ${{ secrets.AI_HINT_GENERATION_AWS_ENDPOINT }}
REACT_APP_AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
REACT_APP_AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this one say AWS_SECRET_ACCESS_KEY?

REACT_APP_COMMIT_HASH: ${{ github.sha }}
REACT_APP_AI_HINT_GENERATION_AWS_ENDPOINT: ${{ secrets.AI_HINT_GENERATION_AWS_ENDPOINT }}
REACT_APP_AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
REACT_APP_AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this one say AWS_SECRET_ACCESS_KEY?

question_subtitle: this.step.stepBody,
student_answer: inputVal,
correct_answer: correctAnswer,
// var inputVal = "";
Copy link
Collaborator

Choose a reason for hiding this comment

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

You can remove the commented chunk of code

Copy link
Collaborator

@shreyabhandari0220 shreyabhandari0220 left a comment

Choose a reason for hiding this comment

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

Great Job!

@shreyabhandari0220 shreyabhandari0220 merged commit a4a478e into main Dec 3, 2024
ananda17gb pushed a commit to ananda17gb/OATutor that referenced this pull request Sep 6, 2025
feat: Create frontend support for AI Hint generation using ChatGPT for the basic layout
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.

2 participants