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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor how configs work #765

Merged
merged 9 commits into from
May 20, 2024
Merged

Refactor how configs work #765

merged 9 commits into from
May 20, 2024

Conversation

collindutter
Copy link
Member

@collindutter collindutter commented Apr 30, 2024

  • Simplify use of StructureConfig classes by moving Driver config to top level.
  • Make it easier to configure custom Task Memory without needing Config classes.
  • Remove task_memory config from Config classes.

馃摎 Documentation preview 馃摎: https://griptape--765.org.readthedocs.build//765/

@collindutter collindutter force-pushed the refactor/default-configs branch 2 times, most recently from e7d5fb8 to f7ad35a Compare April 30, 2024 23:13
@collindutter collindutter marked this pull request as ready for review April 30, 2024 23:22
dylanholmes
dylanholmes previously approved these changes May 3, 2024
Copy link
Contributor

@dylanholmes dylanholmes left a comment

Choose a reason for hiding this comment

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

Sweet simplicity!

I think this great change overall.

Approving, though it would be nice if you could elaborate on the decision to remove task_memory from the config classes.

@collindutter
Copy link
Member Author

it would be nice if you could elaborate on the decision to remove task_memory from the config classes.

Originally they were added here to make configuring Task Memory easier. Though in reality it didn't really make it much easier and just over-complicated the Config classes. Instead, this PR makes it easier to configure Task Memory without the need of a Config class. More details on how to do this will come in #757

griptape/config/openai_structure_config.py Outdated Show resolved Hide resolved
@collindutter collindutter force-pushed the refactor/default-configs branch 2 times, most recently from e0e0adb to 8f14657 Compare May 17, 2024 17:03
vachillo
vachillo previously approved these changes May 20, 2024
@collindutter collindutter merged commit e2f7f72 into dev May 20, 2024
9 checks passed
@collindutter collindutter deleted the refactor/default-configs branch May 20, 2024 15:35
hkhajgiwale pushed a commit to hkhajgiwale/griptape that referenced this pull request May 25, 2024
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.

None yet

3 participants