Skip to content

Conversation

@cabljac
Copy link
Contributor

@cabljac cabljac commented Aug 20, 2024

This PR adds rerankers as an action. It also adds an example reranker to the vertexai plugin.

resolves #771

Checklist (if applicable):

  • Tested - only manually tested so far (manually, unit tested, etc.)
  • Changelog updated
  • Docs updated

I will add tests and docs once this design is confirmed and approved.

@cabljac cabljac force-pushed the @invertase/rerankers branch from 5cb6350 to d05622b Compare August 20, 2024 12:58
@cabljac cabljac marked this pull request as ready for review August 20, 2024 13:11
@cabljac cabljac changed the title @invertase/rerankers Aug 21, 2024
@cabljac cabljac changed the title feat(js): rerankers Aug 21, 2024
@cabljac cabljac changed the base branch from main to next August 28, 2024 12:51
@cabljac cabljac force-pushed the @invertase/rerankers branch from d05622b to 86dfa5f Compare August 28, 2024 12:54
@cabljac cabljac changed the title feat(js): add rerankers Aug 30, 2024
@cabljac cabljac requested a review from pr-Mais August 30, 2024 14:24
@cabljac cabljac changed the base branch from next to main September 9, 2024 07:58
@cabljac cabljac changed the base branch from main to next September 9, 2024 08:01
@cabljac cabljac merged commit 99c35a0 into next Sep 9, 2024
@cabljac cabljac deleted the @invertase/rerankers branch September 9, 2024 09:00
cabljac added a commit to invertase/genkit that referenced this pull request Nov 25, 2025
* feat(js): add reranker actions

* feat(js/plugins/vertexai): add reranker to vertexai plugin

* feat(js/testapps): add testapp for vertexai reranker

* chore(js/ai/reranker): remove duplicate document method implementations

* chore(js/testapps): update README and deps of reranker testapp

* fix: lift some reranker lines out of defineReranker

* docs(js): add reranker section

* test(js): add reranker tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants