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

Mappers Part 1 #167

Merged
merged 3 commits into from
Aug 15, 2023
Merged

Mappers Part 1 #167

merged 3 commits into from
Aug 15, 2023

Conversation

dfellis
Copy link
Member

@dfellis dfellis commented Aug 15, 2023

Started work on the refactoring RFC. Today's progress is just using it as a thin wrapper on top of the GPT calling logic and doesn't really provide a benefit.

Next steps will be creating Mappers for the other transformations in the codebase and moving most of the logic out of llm.py, reviving the stats tracking logic (probably automatically within the ChatGPTMapper), and then pulling logic out of base.py into llm.py and start refactoring said logic into the layers of transformations.

This PR is fully functional (besides the stats tracking, which shouldn't be too hard) and could be merged once stats are back, but it could also be a longer-lived branch if we want to wait for the RFC to be merged first.

…g the codebase a bit. Not yet showing the benefit, but Soon (tm)
@dfellis dfellis self-assigned this Aug 15, 2023
…s instead of passed as an argument, making it more of a side-effect
@dfellis dfellis changed the title Mappers Mappers Part 1 Aug 15, 2023
@dfellis dfellis marked this pull request as ready for review August 15, 2023 17:05
@dfellis dfellis merged commit 7ebc8e8 into main Aug 15, 2023
3 checks passed
@dfellis dfellis deleted the mappers branch August 15, 2023 17:37
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