chore: update something
Browse files- docsifer/service.py +2 -0
- requirements.txt +1 -1
docsifer/service.py
CHANGED
@@ -168,8 +168,10 @@ class DocsiferService:
|
|
168 |
|
169 |
# Decide whether to use LLM-enhanced conversion or the basic converter.
|
170 |
if openai_config and openai_config.get("api_key"):
|
|
|
171 |
md_converter = self._init_markitdown_with_llm(openai_config)
|
172 |
else:
|
|
|
173 |
md_converter = self._basic_markitdown
|
174 |
|
175 |
# Load cookies if provided in the HTTP config.
|
|
|
168 |
|
169 |
# Decide whether to use LLM-enhanced conversion or the basic converter.
|
170 |
if openai_config and openai_config.get("api_key"):
|
171 |
+
print("openai_config:\n", openai_config)
|
172 |
md_converter = self._init_markitdown_with_llm(openai_config)
|
173 |
else:
|
174 |
+
print("no openai_config")
|
175 |
md_converter = self._basic_markitdown
|
176 |
|
177 |
# Load cookies if provided in the HTTP config.
|
requirements.txt
CHANGED
@@ -5,7 +5,7 @@ requests
|
|
5 |
pydantic
|
6 |
cachetools
|
7 |
scuid
|
8 |
-
markitdown
|
9 |
upstash_redis==1.2.0
|
10 |
openai==1.59.7
|
11 |
pyquery==2.0.1
|
|
|
5 |
pydantic
|
6 |
cachetools
|
7 |
scuid
|
8 |
+
markitdown>=0.0.1a2
|
9 |
upstash_redis==1.2.0
|
10 |
openai==1.59.7
|
11 |
pyquery==2.0.1
|