Repository navigation
feat(search): find what a pipeline's model step wrote about an asset - #683
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QFUNzy1QZy5HhKAyJxTAYJ
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.
Requested by Adeel · project thread
Description
Before: what a pipeline's
llmstep wrote about an asset (a summary, notes, a classification) was saved on the asset, but search couldn't find it.After: search finds the words of the output an
llmstep saves on an asset, and those of a workflow's Save output node after an LLM prompt node.GET /searchand MCP'ssearchreturn them assource: generated, with the step's name inoutput_label, and the web app shows "Written by ". Running the step again replaces them, and deleting the asset removes them. A step keeps its output out of search when Find what it writes in search is unticked (searchable: false); it is on otherwise. The upgrade stepgenerated-searchmakes outputs a model wrote before searchable too.Motivation and Context
Item from the personal feature plan sheet (search what the model wrote).
Screenshots (if appropriate):
n/a
Steps to reproduce (if appropriate):
Run a pipeline with an
llmstep that writes a summary, then search for a word only in that summary: the asset comes up, marked "Written by" the step.Types of changes
!in the title)Checklist:
make hookschecks it on commit).tests/api/test_generated_search.py,tests/domain/test_migrations.py,__tests__/pipelines-templates.test.ts,__tests__/search.test.ts).docs/accordingly (docs/processing.md, Pipelines and templates;docs/api.md;docs/database.md, Upgrades).## UnreleasedinCHANGELOG.md. Written aschangelog.d/generated-search.md, per build(release): changelog fragments in changelog.d/ instead of one Unreleased section #581.Done questions (AGENTS.md)
GET /searchand MCPsearchreturngeneratedhits..envedit or manual step.searchableper step in the pipeline editor, on by default.generated-searchindexes existing outputs, safe to run twice (test_migrations.py).docs/requirements.mdnametest_generated_search.py.make openapi).Local CI (
ci/local-ci.sh): FastAPI embedded passed. FastAPI server had 1 failure in 1,980 (test_mesh_service.py::test_the_keeper_and_the_sidecar_bring_up_the_primary, a 502 from the mesh test server, which this change doesn't touch) while the container ran several times slower than usual. Next.js and pre-commit were stopped for time, so GitHub CI decides those.Generated by Claude Code