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 Repairing Data #15

Merged
merged 4 commits into from
Dec 6, 2023
Merged

Feat Repairing Data #15

merged 4 commits into from
Dec 6, 2023

Conversation

H0llyW00dzZ
Copy link
Owner

@H0llyW00dzZ H0llyW00dzZ commented Dec 6, 2023

Note

This can load in manage local data as chat

image

- [+] feat(main.go): add functionality to repair old JSON data using repairdata package
- [+] feat(repairdata/repairdata.go): implement RepairSessionData function to transform old JSON data into new format
- [+] feat(main.go): add support for repairing JSON data
- [+] fix(main.go): update jsonFilePath to the new repaired file path
@H0llyW00dzZ H0llyW00dzZ marked this pull request as draft December 6, 2023 06:17
- [+] chore(repairdata.go): update package comment to include purpose of the package
- [+] chore(repairdata.go): add comments to UnmarshalJSON method
- [+] chore(repairdata.go): update comments for OldData and NewData structs
- [+] feat(repairdata.go): add Session struct
- [+] feat(repairdata.go): add RepairSessionData function to transform JSON data
- [+] feat(repairdata.go): add SystemPrompt struct
- [+] chore(repairdata.go): update comments for RepairSessionData function
- [+] feat(repairdata.go): add millisToTime helper function
- [+] chore(main.go): add exit code after repairing the data
@H0llyW00dzZ H0llyW00dzZ marked this pull request as ready for review December 6, 2023 07:36
@H0llyW00dzZ H0llyW00dzZ merged commit 58af6a0 into master Dec 6, 2023
@H0llyW00dzZ H0llyW00dzZ deleted the repairdata branch December 6, 2023 07:36
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