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

chore: update contributing guidelines, improve environment setup, and refactor search functionality #964

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

Conversation

ftonato
Copy link

@ftonato ftonato commented Dec 11, 2024

  • Enhanced the CONTRIBUTING.md file for clarity on environment variable setup and installation instructions.
  • Updated package.json to use npx for prettier formatting.
  • Refactored search functionality to implement a provider pattern for different search engines, including Google, Serper, and SearchAPI.
  • Removed deprecated Google search implementation and related files.
  • Improved error handling and logging in search functions.
  • Added tests for the new Google search result parser.
  • Introduced a new provider factory to streamline search provider creation.

ftonato and others added 5 commits December 11, 2024 19:11
… refactor search functionality

- Enhanced the CONTRIBUTING.md file for clarity on environment variable setup and installation instructions.
- Updated package.json to use npx for prettier formatting.
- Refactored search functionality to implement a provider pattern for different search engines, including Google, Serper, and SearchAPI.
- Removed deprecated Google search implementation and related files.
- Improved error handling and logging in search functions.
- Added tests for the new Google search result parser.
- Introduced a new provider factory to streamline search provider creation.
@nickscamara
Copy link
Member

This is awesome @ftonato! Thank you! You just reminded me that we had to fix our prettier settings.

Copy link
Member

Choose a reason for hiding this comment

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

No need for this anymore, added prettier as dependency

Copy link
Author

Choose a reason for hiding this comment

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

I would say we can keep it here, as it will be removed once we merge #969.

Unless you insist that this should be removed in this PR, I can easily do it anyway.

Copy link
Member

@nickscamara nickscamara left a comment

Choose a reason for hiding this comment

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

awesome work! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants