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

Add support for Bing Seach and Brave Search #1107

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

Conversation

Shangyint
Copy link
Collaborator

@Shangyint Shangyint commented Jun 4, 2024

TODO

  • Test
  • DSPy style cache
    • TODO: handle non 400 return code

@Shangyint Shangyint marked this pull request as ready for review October 18, 2024 03:56
@Shangyint Shangyint changed the title Add support for Bing Seach Add support for Bing Seach and Brave Search Oct 18, 2024
Copy link
Collaborator

@arnavsinghvi11 arnavsinghvi11 left a comment

Choose a reason for hiding this comment

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

Thanks @Shangyint ! mostly LGTM just maybe some minor comments cleanup required before merging

try:
response = requests.get(endpoint, headers=headers, params=params)
except Exception as e:
print(e)
Copy link
Collaborator

Choose a reason for hiding this comment

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

better to use dspy.logger here (and all corresponding errors)

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