Make sure to use the search_query tag for nomic embed.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
pull/1901/head v2.6.2
Adam Treat 8 months ago
parent d14b95f4bd
commit cdf0fedae2

@ -113,6 +113,7 @@ void EmbeddingLLMWorker::requestSyncEmbedding(const QString &text)
QJsonArray texts;
texts.append(text);
root.insert("texts", texts);
root.insert("task_type", "search_query");
QJsonDocument doc(root);

Loading…
Cancel
Save