feat: add search_mixedbread built-in skill (Mixedbread Basic Web Search) - #140
Open
samsja wants to merge 1 commit into
Open
feat: add search_mixedbread built-in skill (Mixedbread Basic Web Search)#140samsja wants to merge 1 commit into
samsja wants to merge 1 commit into
Conversation
Add a `search_mixedbread` built-in skill alongside `edit`/`search`, enabled via RLM_SKILLS and pre-imported into the IPython kernel as `await search_mixedbread(query=..., num_results=5)`. It performs Mixedbread Basic Web Search (POST /v1/stores/search with store_identifiers=["mixedbread/web"]) and returns each result as title, URL, relevance score, and the page-content chunk text (a large chunk of the page, often the whole page for short pages). Needs MIXEDBREAD_API_KEY; returns a friendly error when the key is missing. Includes: new skill module, _BUILTIN_SKILLS registration, system-prompt addendum in prompt.py, README updates, and unit tests.
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
Adds a
search_mixedbreadbuilt-in skill to nano-rlm (alongsideeditandsearch), enabled per run viaRLM_SKILLSand pre-imported into the IPython kernel asawait search_mixedbread(query=..., num_results=5).It performs Mixedbread Basic Web Search —
POST https://api.mixedbread.com/v1/stores/searchwithstore_identifiers: ["mixedbread/web"]— and returns each result as title, URL, relevance score, and the page-content chunk text (a large chunk of the page, often the whole page for short pages).Changes
src/rlm/skills/search_mixedbread.py— new skill module (search,run,format_results), needsMIXEDBREAD_API_KEYsrc/rlm/skills/__init__.py— registered in_BUILTIN_SKILLSsrc/rlm/prompt.py—SEARCH_MIXEDBREAD_SKILL_PROMPTaddendum when enabledREADME.md— docs: intro, env-var table (MIXEDBREAD_API_KEY), Skills sectiontests/test_builtin_skills.py— 5 new tests (enable stub, missing-key error, formatting)Enable
Verified
test_builtin_skills.pytests pass (the 4 full-suite failures are pre-existing on a clean tree — they require the examplesayskill CLI)Note
Cursor Bugbot is generating a summary for commit b63db81. Configure here.