mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-03 01:24:53 +00:00
Don't use the full path in reference text.
This commit is contained in:
@@ -651,7 +651,7 @@ void Database::scanQueue()
|
|||||||
existing_id, document_path, q.lastError());
|
existing_id, document_path, q.lastError());
|
||||||
}
|
}
|
||||||
QTextStream stream(&file);
|
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*/);
|
QString() /*subject*/, QString() /*keywords*/, -1 /*page*/);
|
||||||
file.close();
|
file.close();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user