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: add basic data fields and design #397

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

arslanashraf7
Copy link
Contributor

@arslanashraf7 arslanashraf7 commented Nov 19, 2024

What are the relevant tickets?

https://github.com/mitodl/hq/issues/6079

Description (What does it do?)

  • Adds the initial fields required for the chatbot

  • Adds the basic form for adding all the configuration fields for the chat:

    • Prompt text
    • Enabled
    • Additional solution
    • GPT model selection (Configurable)
  • Adds filtering and allows this aside only on the problem and video blocks

  • Enables the user to save the data in these fields

Screenshots (if appropriate):

Screen.Recording.2024-11-27.at.5.18.46.PM.mov

How can this be tested?

  • Generate the Gzip of this package using pants
  • Follow the setup required configurations from feat: add initial architecture for AI chat aside #393
  • Install that in CMS
  • Add any Video or Problem block and you should see the configurations form
  • Add values and save It should save successfully
  • Refresh and check the values retain
  • Edit any configuration in the form and save again and check that it persists

Additional Context

@arslanashraf7 arslanashraf7 force-pushed the arslan/6079-add-cms-fields branch 2 times, most recently from b08ac96 to 4e2eb65 Compare November 25, 2024 11:47
@arslanashraf7 arslanashraf7 marked this pull request as ready for review November 27, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant