Skip to content

Commit

Permalink
Change defaults in YAML configuration (#7456)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: c311b142bec87ed630e6c52a386f62b30f38308c
  • Loading branch information
szymondudycz authored and Manul from Pathway committed Oct 9, 2024
1 parent ad369ba commit 18af9a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions examples/pipelines/adaptive-rag/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ $parser: !pw.xpacks.llm.parsers.ParseUnstructured
$retriever_factory: !pw.stdlib.indexing.BruteForceKnnFactory
reserved_space: 1000
embedder: $embedder
metric: !pw.internals.yaml_loader.import_object
path: pw.stdlib.indexing.BruteForceKnnMetricKind.COS
metric: !pw.stdlib.indexing.BruteForceKnnMetricKind.COS
dimensions: 1536


Expand Down
3 changes: 1 addition & 2 deletions examples/pipelines/demo-document-indexing/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ $parser: !pw.xpacks.llm.parsers.ParseUnstructured
$retriever_factory: !pw.stdlib.indexing.BruteForceKnnFactory
reserved_space: 1000
embedder: $embedder
metric: !pw.internals.yaml_loader.import_object
path: pw.stdlib.indexing.BruteForceKnnMetricKind.COS
metric: !pw.stdlib.indexing.BruteForceKnnMetricKind.COS
dimensions: 1536


Expand Down
3 changes: 1 addition & 2 deletions examples/pipelines/demo-question-answering/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ $parser: !pw.xpacks.llm.parsers.ParseUnstructured
$retriever_factory: !pw.stdlib.indexing.BruteForceKnnFactory
reserved_space: 1000
embedder: $embedder
metric: !pw.internals.yaml_loader.import_object
path: pw.stdlib.indexing.BruteForceKnnMetricKind.COS
metric: !pw.stdlib.indexing.BruteForceKnnMetricKind.COS
dimensions: 1536


Expand Down

0 comments on commit 18af9a6

Please sign in to comment.