mirror of
https://github.com/langgenius/dify.git
synced 2026-03-12 12:20:28 +08:00
feat: remove logger in custom splitter
This commit is contained in:
parent
8354d23643
commit
ada461b81a
@ -1,7 +1,6 @@
|
||||
"""Functionality for splitting text."""
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
from typing import (
|
||||
Any,
|
||||
List,
|
||||
@ -10,8 +9,6 @@ from typing import (
|
||||
|
||||
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class FixedRecursiveCharacterTextSplitter(RecursiveCharacterTextSplitter):
|
||||
def __init__(self, fixed_separator: str = "\n\n", separators: Optional[List[str]] = None, **kwargs: Any):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user