Skip to content

Commit 75c7e73

Browse files
committed
Linting
1 parent ec18411 commit 75c7e73

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

specification/_types/Retriever.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import { FieldCollapse } from '@global/search/_types/FieldCollapse'
2323
import { Rescore } from '@global/search/_types/rescoring'
2424
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
2525
import { Id, IndexName } from './common'
26-
import { QueryContainer } from './query_dsl/abstractions'
2726
import { ChunkRescorerChunkingSettings } from './mapping/ChunkingSettings'
27+
import { QueryContainer } from './query_dsl/abstractions'
2828

2929
/**
3030
* @variants container
@@ -155,10 +155,10 @@ export class TextSimilarityReranker extends RetrieverBase {
155155
inference_text: string
156156
/** The document field to be used for text similarity comparisons. This field should contain the text that will be evaluated against the inference_text. */
157157
field: string
158-
/** Whether to rescore on only the best matching chunks.
158+
/** Whether to rescore on only the best matching chunks.
159159
* @availability stack since=9.2.0 stability=beta
160160
* @availability serverless stability=beta
161-
*/
161+
*/
162162
chunk_rescorer?: ChunkRescorer
163163
}
164164

specification/_types/mapping/ChunkingSettings.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ export class ChunkingSettings implements OverloadOf<InferenceChunkingSettings> {
3535
sentence_overlap?: integer
3636
}
3737

38-
export class ChunkRescorerChunkingSettings implements OverloadOf<InferenceChunkingSettings> {
38+
export class ChunkRescorerChunkingSettings
39+
implements OverloadOf<InferenceChunkingSettings>
40+
{
3941
strategy?: string
4042

4143
separator_group?: string

0 commit comments

Comments
 (0)