From bcb716e8937a15c9825727f88617aca3d935999d Mon Sep 17 00:00:00 2001 From: Jo Kristian Bergum Date: Fri, 1 Mar 2024 10:48:10 +0100 Subject: [PATCH] fix sample app and add link (#1398) --- colbert-long/README.md | 6 ++++-- colbert-long/services.xml | 5 ++--- colbert/README.md | 8 ++++---- colbert/services.xml | 2 +- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/colbert-long/README.md b/colbert-long/README.md index 47a9eabef..e6999d9eb 100644 --- a/colbert-long/README.md +++ b/colbert-long/README.md @@ -15,14 +15,16 @@ with extended context windows for long-document retrieval. The app demonstrates the [colbert-embedder](https://docs.vespa.ai/en/embedding.html#colbert-embedder) and the tensor expressions for performing two types of extended ColBERT late-interaction for long-context retrieval. -

+See [Announcing Vespa Long-Context ColBERT](https://blog.vespa.ai/announcing-long-context-colbert-in-vespa/) for details on this application. + +

Requires at least Vespa 8.311.28

## To try this application Follow [Vespa getting started](https://cloud.vespa.ai/en/getting-started) -through the vespa deploy step, cloning `long-colbert` instead of `album-recommendation`. +through the vespa deploy step, cloning `colbert-long` instead of `album-recommendation`. Feed documents (this includes embed inference in Vespa):
diff --git a/colbert-long/services.xml b/colbert-long/services.xml
index 00c8bf002..12e2dda2c 100644
--- a/colbert-long/services.xml
+++ b/colbert-long/services.xml
@@ -10,7 +10,6 @@
             
             
         
-
         
         
         
@@ -23,7 +22,7 @@
 
     
     
-        2
+        2
         
             
         
@@ -33,7 +32,7 @@
                 
                     
                         
-                            16 
+                            4 
                         
                     
                 
diff --git a/colbert/README.md b/colbert/README.md
index cc1d8e3a9..493bbee9a 100644
--- a/colbert/README.md
+++ b/colbert/README.md
@@ -17,7 +17,7 @@ It also features reciprocal rank fusion to fuse different rankings.
 
 
 

-Requires at least Vespa 8.283.46 +Requires at least Vespa 8.311.28

## To try this application @@ -36,21 +36,21 @@ Example queries:
 vespa query 'yql=select * from doc where userQuery() or ({targetHits: 100}nearestNeighbor(embedding, q))'\
  'input.query(q)=embed(e5, "query: space contains many suns")' \
- 'input.query(qt)=embed(colbert, "space contains many suns")' \
+ 'input.query(qt)=embed(colbert, @query)' \
  'query=space contains many suns'
 
 vespa query 'yql=select * from doc where userQuery() or ({targetHits: 100}nearestNeighbor(embedding, q))'\
  'input.query(q)=embed(e5, "query: shipping stuff over the sea")' \
- 'input.query(qt)=embed(colbert, "shipping stuff over the sea")' \
+ 'input.query(qt)=embed(colbert, @query)' \
  'query=shipping stuff over the sea'
  
 vespa query 'yql=select * from doc where userQuery() or ({targetHits: 100}nearestNeighbor(embedding, q))'\
  'input.query(q)=embed(e5, "query: exchanging information by sound")' \
- 'input.query(qt)=embed(colbert, "exchanging information by sound")' \
+ 'input.query(qt)=embed(colbert, @query)' \
  'query=exchanging information by sound'
  
diff --git a/colbert/services.xml b/colbert/services.xml index 95c81e286..969aa41f9 100644 --- a/colbert/services.xml +++ b/colbert/services.xml @@ -29,7 +29,7 @@ - 2 + 2