Skip to content

Updated ES specification to support simplified retrievers #4911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions specification/_types/Retriever.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ export class LinearRetriever extends RetrieverBase {
/** Inner retrievers. */
retrievers?: InnerRetriever[]
rank_window_size?: integer
query?: string
fields?: string[]
normalizer?: ScoreNormalizer
}

export class PinnedRetriever extends RetrieverBase {
Expand Down Expand Up @@ -136,6 +139,8 @@ export class RRFRetriever extends RetrieverBase {
rank_constant?: integer
/** This value determines the size of the individual result sets per query. */
rank_window_size?: integer
query?: string
fields?: string[]
}

export class TextSimilarityReranker extends RetrieverBase {
Expand Down
Loading