Skip to content

[AGE-326] Update the hybrid search tool to use new searchable column data#110

Merged
gregsaab merged 26 commits intomainfrom
greg/AGE-326_update_search_tool
Feb 12, 2026
Merged

[AGE-326] Update the hybrid search tool to use new searchable column data#110
gregsaab merged 26 commits intomainfrom
greg/AGE-326_update_search_tool

Conversation

@gregsaab
Copy link
Contributor

@gregsaab gregsaab commented Feb 11, 2026

Why

So that our hybrid search will also look into attachment data, as well.

What

This updates the bm25-specific ORDER BY clause to use the new searchable_content column and the new message_vanilla_searchable_content_bm25_idx index.

Also, this PR updates the getMessageContext and getMessageThread tool to take an array of message UIDs (e.g. ts + channel_id) so that the LLM can somewhat efficiently retrieve more context (e.g. other messages in thread) for the ranked messages returned in search tool.

Other changes:

  • DRYing up of the zod models

Thread regarding testing results

https://iobeam.slack.com/archives/C091Q9BRDED/p1770844223548209

Related PRs

New Skill

#99
#104
https://github.com/timescale/tiger-slack/pull/106/changes

@gregsaab gregsaab requested a review from a team as a code owner February 11, 2026 15:17
@gregsaab gregsaab force-pushed the greg/AGE-326_update_search_tool branch from 924d913 to 4b9a632 Compare February 12, 2026 16:10
@gregsaab gregsaab merged commit efbeb8e into main Feb 12, 2026
3 checks passed
@gregsaab gregsaab deleted the greg/AGE-326_update_search_tool branch February 12, 2026 21:36
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.

1 participant