Describe the bug
When using document_collection.import_documents() with a string as an argument, we assign the same default_filename to all uploaded strings. This leads to a replacement of the documents when called repeatedly.
To Reproduce
Steps to reproduce the behavior:
Call document_collection.import_documents("First text") and document_collection.import_documents("Second text")
There will only be one document in the collection, the second one.
Expected behavior
I want to have both documents in the collection. In case of using import_documents with a string, the user should be forced to provide a filename that serves as an id.
Describe the bug When using
document_collection.import_documents()
with a string as an argument, we assign the samedefault_filename
to all uploaded strings. This leads to a replacement of the documents when called repeatedly.To Reproduce Steps to reproduce the behavior:
document_collection.import_documents("First text")
anddocument_collection.import_documents("Second text")
Expected behavior I want to have both documents in the collection. In case of using
import_documents
with a string, the user should be forced to provide afilename
that serves as anid
.Error message None
Please complete the following information: