lamhieu commited on
Commit
4af30b6
Β·
1 Parent(s): 90e29cf

chore: update something

Browse files
Files changed (1) hide show
  1. docsifer/service.py +4 -0
docsifer/service.py CHANGED
@@ -159,6 +159,10 @@ class DocsiferService:
159
  filename = new_filename
160
  source = str(tmp_path)
161
 
 
 
 
 
162
  # Decide whether to use LLM-enhanced conversion or the basic converter.
163
  if openai_config and openai_config.get("api_key"):
164
  md_converter = self._init_markitdown_with_llm(openai_config)
 
159
  filename = new_filename
160
  source = str(tmp_path)
161
 
162
+ with open(source) as f:
163
+ xxx = f.read()
164
+ print(f"Filename: {filename}, Source: {source}, Content: {xxx}")
165
+
166
  # Decide whether to use LLM-enhanced conversion or the basic converter.
167
  if openai_config and openai_config.get("api_key"):
168
  md_converter = self._init_markitdown_with_llm(openai_config)