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

Adding Toast, GUI update, better form handling, adding JSON viewer #5

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

Conversation

nodelike
Copy link

@nodelike nodelike commented Mar 17, 2024

Preview

Screenshot 2024-03-17 at 4 12 06 PM

New Features:

  • Better GUI
  • Toast Notification
  • JSON Data viewer with editing capabilities
  • Form validation (Submitting only if atleast one turn present and all the turns are filled)
  • Resetting form option.
  • Adding turns in DPO Builder

17.03.2024_16.17.26_REC.mp4

Notes

  • I have seperated the scripts and styles from html to seperate script.js and style.css
  • JSON Scheme for DPO is changed.

IMPORTANT! - JSON Scheme for DPO is changed:

Current DPO Scheme:

[
  {
    "system": "asd",
    "conversations": [
      {
        "prompt": "asd",
        "chosen": "xx",
        "rejected": "xx"
      }
    ],
    "source": "manual"
  },
  {
    "system": "asd",
    "conversations": [
      {
        "prompt": "asd",
        "chosen": "asd",
        "rejected": "asd"
      },
      {
        "prompt": "asd",
        "chosen": "asd",
        "rejected": "asdd"
      }
    ],
    "source": "manual"
  }
]

TO-DO

  • Adding keyboard shortcuts to add turns, reset form, and save data.
  • Load any data.json and edit them and download data.json from within the app.

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.

1 participant