Add SDE Code Search Tool for API-based code search #73
Merged
Conversation
- Initial implementation of SDE code search tool
- Initial implementation of pytest tests for code search tool - Added pytest-asyncio dependency
- Added output structure validation to tests
- Added input structure validation and google drive link test
- Added generate_embeddings method in case data is missing the embedding column
- Added vectorizer test
- Move embedding processing to init
NISH1001
requested changes
Jul 17, 2025
- Updates to SDE code search tool based on PR feedback
NISH1001
requested changes
Jul 17, 2025
Collaborator
|
@pranath-reddy this branch seems to have merge conflicts. can you check? |
…discovery into feature/code_search_tool
- Updates to tests based on PR feedback
NISH1001
approved these changes
Jul 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary 📝
This PR adds the initial implementation of the
SDECodeSearchTool, which queries the SDE API for relevant code repositories. It also includes a suite of PyTests for tool validation.Details
SDECodeSearchTool(API-Based Search via NASA SDE)SDECodeSearchToolunderakd.tools.code_search, a tool for querying repositories via the NASA SDE code search REST API.max_pagesandpage_size.SearchResultItemformat.CodeSearchToolInputSchemaandCodeSearchToolOutputSchemato ensure compatibility with the base tool interface.PyTests Added
Usage
SDE Code Search Tool
Run tests with:
Bugfixes 🐛 (delete if dind't have any)
Checks