Skip to content

Commit 5c438cc

Browse files
committed
fix merge overwrite
1 parent 583822f commit 5c438cc

File tree

3 files changed

+102
-6
lines changed

3 files changed

+102
-6
lines changed

output/schema/schema.json

Lines changed: 81 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/Retriever.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ export class RetrieverContainer {
3737
rrf?: RRFRetriever
3838
/** A retriever that reranks the top documents based on a reranking model using the InferenceAPI */
3939
text_similarity_reranker?: TextSimilarityReranker
40+
/** A retriever that replaces the functionality of a rule query. */
41+
rule?: RuleRetriever
4042
}
4143

4244
export class RetrieverBase {
@@ -95,3 +97,14 @@ export class TextSimilarityReranker extends RetrieverBase {
9597
/** The document field to be used for text similarity comparisons. This field should contain the text that will be evaluated against the inference_text */
9698
field?: string
9799
}
100+
101+
export class RuleRetriever extends RetrieverBase {
102+
/** The ruleset IDs containing the rules this retriever is evaluating against. */
103+
ruleset_ids: Id[]
104+
/** The match criteria that will determine if a rule in the provided rulesets should be applied. */
105+
match_criteria: UserDefinedValue
106+
/** The retriever whose results rules should be applied to. */
107+
retriever: RetrieverContainer
108+
/** This value determines the size of the individual result set. */
109+
rank_window_size?: integer
110+
}

0 commit comments

Comments
 (0)