Pārlūkot izejas kodu

fix: markdown proc will remove image (#5855)

tags/0.6.14
tangyoha pirms 1 gada
vecāks
revīzija
0cbbaf3f68
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      api/core/rag/extractor/markdown_extractor.py

+ 2
- 2
api/core/rag/extractor/markdown_extractor.py Parādīt failu

@@ -18,8 +18,8 @@ class MarkdownExtractor(BaseExtractor):
def __init__(
self,
file_path: str,
remove_hyperlinks: bool = True,
remove_images: bool = True,
remove_hyperlinks: bool = False,
remove_images: bool = False,
encoding: Optional[str] = None,
autodetect_encoding: bool = True,
):

Notiek ielāde…
Atcelt
Saglabāt