mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-13 13:46:08 +00:00
Don't use the full path in reference text.
This commit is contained in:
parent
0a4c3a14ca
commit
e6f5d88f17
@ -651,7 +651,7 @@ void Database::scanQueue()
|
||||
existing_id, document_path, q.lastError());
|
||||
}
|
||||
QTextStream stream(&file);
|
||||
chunkStream(stream, document_id, file.fileName(), QString() /*title*/, QString() /*author*/,
|
||||
chunkStream(stream, document_id, info.doc.fileName(), QString() /*title*/, QString() /*author*/,
|
||||
QString() /*subject*/, QString() /*keywords*/, -1 /*page*/);
|
||||
file.close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user