mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-19 12:14:20 +00:00
Make sure to use the search_query tag for nomic embed.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
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…
Reference in New Issue
Block a user