diff --git a/pgml-dashboard/src/utils/markdown.rs b/pgml-dashboard/src/utils/markdown.rs index 291e5839e..3863dae2e 100644 --- a/pgml-dashboard/src/utils/markdown.rs +++ b/pgml-dashboard/src/utils/markdown.rs @@ -1252,7 +1252,7 @@ pub struct SiteSearch { impl SiteSearch { pub async fn new() -> anyhow::Result { let collection = pgml::Collection::new( - env!("CMS_HASH"), + &format!("{}-1", env!("CMS_HASH")), Some( std::env::var("SITE_SEARCH_DATABASE_URL") .context("Please set the `SITE_SEARCH_DATABASE_URL` environment variable")?, @@ -1267,7 +1267,7 @@ impl SiteSearch { "configuration": "english" }, "semantic_search": { - "model": "Alibaba-NLP/gte-base-en-v1.5", + "model": "mixedbread-ai/mxbai-embed-large-v1", } }, "contents": { @@ -1278,7 +1278,7 @@ impl SiteSearch { "configuration": "english" }, "semantic_search": { - "model": "Alibaba-NLP/gte-base-en-v1.5", + "model": "mixedbread-ai/mxbai-embed-large-v1", } } }) @@ -1319,14 +1319,14 @@ impl SiteSearch { "title": { "query": query, "parameters": { - "instruction": "Represent the Wikipedia question for retrieving supporting documents: " + "prompt": "Represent this sentence for searching relevant passages: " }, "boost": 10.0 }, "contents": { "query": query, "parameters": { - "instruction": "Represent the Wikipedia question for retrieving supporting documents: " + "prompt": "Represent this sentence for searching relevant passages: " }, "boost": 1.0 } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy