This commit is contained in:
Timothy J. Baek committed 2024-10-01 13:13:39 -07:00
1 parent 5c9dd25459
commit a0fb4a9b84
2 files changed
+13 -6

No files matched your search

+2 -6
View File
@@ -729,13 +729,9 @@ def process_file(
text_content = " ".join([doc.page_content for doc in docs])
log.debug(f"text_content: {text_content}")
Files.update_files_metadata_by_id(
Files.update_files_data_by_id(
form_data.file_id,
{
"content": {
"text": text_content,
}
},
{"content": text_content},
)
try: