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

Rename all Tools for better naming consistency #1060

Merged
merged 1 commit into from
Aug 13, 2024
Merged

Conversation

collindutter
Copy link
Member

@collindutter collindutter commented Aug 13, 2024

Describe your changes

Changed

  • BREAKING: Dropped Client from all Tool names for better naming consistency.
  • BREAKING: Dropped _client suffix from all Tool packages.
  • BREAKING: Added Tool suffix to all Tool names for better naming consistency.

Was on the fence about dropping Client from some tools like SqlClient. But it was unclear when a Tool should, and should not contain Client so I decided to drop from all.

Issue ticket number and link

NA


📚 Documentation preview 📚: https://griptape--1060.org.readthedocs.build//1060/

dylanholmes
dylanholmes previously approved these changes Aug 13, 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.

Awesome!

Comment on lines 96 to 100
tools=[
WebScraper(off_prompt=True),
TaskMemoryClient(off_prompt=True),
FileManager()
WebScraperTool(off_prompt=True),
TaskMemoryTool(off_prompt=True),
FileManagerTool()
]
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

docs/examples/src/query_webpage_astra_db_1.py Outdated Show resolved Hide resolved
docs/examples/src/talk_to_a_pdf_1.py Outdated Show resolved Hide resolved
docs/examples/src/talk_to_a_webpage_1.py Outdated Show resolved Hide resolved
griptape/tools/file_manager/tool.py Show resolved Hide resolved
@dylanholmes dylanholmes dismissed their stale review August 13, 2024 19:17

accidentally approved

Copy link

codecov bot commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@collindutter collindutter force-pushed the fix/tool-names branch 5 times, most recently from 9c7eaaa to fd85735 Compare August 13, 2024 22:15
@collindutter collindutter merged commit aea51bb into dev Aug 13, 2024
13 checks passed
@collindutter collindutter deleted the fix/tool-names branch August 13, 2024 22:40
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