mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Don't use the full path in reference text.
This commit is contained in:
parent
9b0629db8b
commit
0403a122ca
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user