mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 20:12:55 +01:00
Update with verify function to check the maker request for documents
This commit is contained in:
parent
2bcc7f589f
commit
f7de7c3b54
15 changed files with 954 additions and 1048 deletions
|
|
@ -72,7 +72,7 @@ class IngestService:
|
|||
logger.debug("Ingesting text data with file_name=%s", file_name)
|
||||
return self._ingest_data(file_name, text)
|
||||
|
||||
def ingest_bin_data(
|
||||
async def ingest_bin_data(
|
||||
self, file_name: str, raw_file_data: BinaryIO
|
||||
) -> list[IngestedDoc]:
|
||||
logger.debug("Ingesting binary data with file_name=%s", file_name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue