Skip to content

Python: Added Brave search capability in SK(python) based on PR #9632 #11531

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

Merged
merged 21 commits into from
Apr 21, 2025

Conversation

N-E-W-T-O-N
Copy link
Contributor

@N-E-W-T-O-N N-E-W-T-O-N commented Apr 13, 2025

Motivation and Context

Added BRAVE SEARCH CAPABILITIES in Semantic Kernel Python based on PR #11308 .

Description

  • Introduce BraveConnector & BraveSearch for Brave Search API integration,
  • BraveSettings and response models were added, respectively.
  • Add unit Tests

Contribution Checklist

@N-E-W-T-O-N N-E-W-T-O-N requested a review from a team as a code owner April 13, 2025 20:57
@markwallace-microsoft markwallace-microsoft added the python Pull requests for the Python Semantic Kernel label Apr 13, 2025
@markwallace-microsoft
Copy link
Member

markwallace-microsoft commented Apr 15, 2025

Python Unit Test Overview

Tests Skipped Failures Errors Time
3434 5 💤 0 ❌ 0 🔥 1m 27s ⏱️

Reorganizes Brave Search connector by merging files into a single module for improved maintainability. Consolidates settings, response, and web page models. Updates imports and retains functionality.
Copy link
Member

@eavanvalkenburg eavanvalkenburg left a comment

Choose a reason for hiding this comment

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

Just the sample needs a bit of love, otherwise looks great, thanks!

@N-E-W-T-O-N N-E-W-T-O-N force-pushed the pySearch branch 2 times, most recently from 4f942b2 to 26179d9 Compare April 17, 2025 14:08
Copy link
Member

@eavanvalkenburg eavanvalkenburg left a comment

Choose a reason for hiding this comment

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

two small things in the sample and then it LGTM

@N-E-W-T-O-N
Copy link
Contributor Author

N-E-W-T-O-N commented Apr 17, 2025

@eavanvalkenburg
Resolved the issue that arose in the previous workflow run.
Please re-run the Workflow

@moonbox3
Copy link
Contributor

@N-E-W-T-O-N, the required GitHub jobs to run the workflow were never created. Can you push a dummy commit so the CI jobs are created?

Something like:

git commit --allow-empty -m "CI: retrigger"
git push

@N-E-W-T-O-N
Copy link
Contributor Author

@eavanvalkenburg
Please approve my PR changes

@moonbox3 moonbox3 added this pull request to the merge queue Apr 19, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 19, 2025
@moonbox3 moonbox3 added this pull request to the merge queue Apr 19, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 19, 2025
@moonbox3 moonbox3 added this pull request to the merge queue Apr 20, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 20, 2025
@moonbox3 moonbox3 added this pull request to the merge queue Apr 20, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 20, 2025
@N-E-W-T-O-N
Copy link
Contributor Author

A vector index based error is occurred in pre merge integration test

@moonbox3
Copy link
Contributor

A vector index based error is occurred in pre merge integration test

Yes. I’m aware. Need to investigate what’s going on.

@moonbox3 moonbox3 added this pull request to the merge queue Apr 21, 2025
Merged via the queue into microsoft:main with commit 8edcdb3 Apr 21, 2025
28 checks passed
@moonbox3
Copy link
Contributor

Thank you for your contribution, @N-E-W-T-O-N. We greatly appreciate it.

glorious-beard pushed a commit to glorious-beard/semantic-kernel that referenced this pull request May 6, 2025
…soft#9632 (microsoft#11531)

### Motivation and Context

Added BRAVE SEARCH CAPABILITIES in Semantic Kernel Python based on PR
microsoft#11308 .

### Description

- Introduce BraveConnector & BraveSearch for Brave Search API
integration,
- BraveSettings and response models were added, respectively.
- Add unit Tests  

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄

---------

Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation python Pull requests for the Python Semantic Kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants