Spaces:
Sleeping
Sleeping
update text splitter module
Browse files
cve_factchecker/retriever.py
CHANGED
|
@@ -4,7 +4,7 @@ import math
|
|
| 4 |
import re
|
| 5 |
import time
|
| 6 |
from typing import List, Dict, Any, Tuple, Optional
|
| 7 |
-
from
|
| 8 |
from langchain.schema import Document
|
| 9 |
try:
|
| 10 |
from langchain_chroma import Chroma # type: ignore
|
|
|
|
| 4 |
import re
|
| 5 |
import time
|
| 6 |
from typing import List, Dict, Any, Tuple, Optional
|
| 7 |
+
from langchain_text_splitters import RecursiveCharacterTextSplitter
|
| 8 |
from langchain.schema import Document
|
| 9 |
try:
|
| 10 |
from langchain_chroma import Chroma # type: ignore
|