diff --git a/examples/pipelines/adaptive-rag/app.yaml b/examples/pipelines/adaptive-rag/app.yaml index e62536d..6fb2fab 100644 --- a/examples/pipelines/adaptive-rag/app.yaml +++ b/examples/pipelines/adaptive-rag/app.yaml @@ -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 diff --git a/examples/pipelines/demo-document-indexing/app.yaml b/examples/pipelines/demo-document-indexing/app.yaml index 4f0f696..faf40a1 100644 --- a/examples/pipelines/demo-document-indexing/app.yaml +++ b/examples/pipelines/demo-document-indexing/app.yaml @@ -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 diff --git a/examples/pipelines/demo-question-answering/app.yaml b/examples/pipelines/demo-question-answering/app.yaml index 09458da..a293544 100644 --- a/examples/pipelines/demo-question-answering/app.yaml +++ b/examples/pipelines/demo-question-answering/app.yaml @@ -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