Skip to content

Commit 18af9a6

Browse files
szymondudyczManul from Pathway
authored andcommitted
Change defaults in YAML configuration (#7456)
GitOrigin-RevId: c311b142bec87ed630e6c52a386f62b30f38308c
1 parent ad369ba commit 18af9a6

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

examples/pipelines/adaptive-rag/app.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ $parser: !pw.xpacks.llm.parsers.ParseUnstructured
4444
$retriever_factory: !pw.stdlib.indexing.BruteForceKnnFactory
4545
reserved_space: 1000
4646
embedder: $embedder
47-
metric: !pw.internals.yaml_loader.import_object
48-
path: pw.stdlib.indexing.BruteForceKnnMetricKind.COS
47+
metric: !pw.stdlib.indexing.BruteForceKnnMetricKind.COS
4948
dimensions: 1536
5049

5150

examples/pipelines/demo-document-indexing/app.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ $parser: !pw.xpacks.llm.parsers.ParseUnstructured
4747
$retriever_factory: !pw.stdlib.indexing.BruteForceKnnFactory
4848
reserved_space: 1000
4949
embedder: $embedder
50-
metric: !pw.internals.yaml_loader.import_object
51-
path: pw.stdlib.indexing.BruteForceKnnMetricKind.COS
50+
metric: !pw.stdlib.indexing.BruteForceKnnMetricKind.COS
5251
dimensions: 1536
5352

5453

examples/pipelines/demo-question-answering/app.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ $parser: !pw.xpacks.llm.parsers.ParseUnstructured
4444
$retriever_factory: !pw.stdlib.indexing.BruteForceKnnFactory
4545
reserved_space: 1000
4646
embedder: $embedder
47-
metric: !pw.internals.yaml_loader.import_object
48-
path: pw.stdlib.indexing.BruteForceKnnMetricKind.COS
47+
metric: !pw.stdlib.indexing.BruteForceKnnMetricKind.COS
4948
dimensions: 1536
5049

5150

0 commit comments

Comments
 (0)