mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
17 lines
319 B
Python
17 lines
319 B
Python
# coding=utf-8
|
||
"""
|
||
@project: MaxKB
|
||
@Author:虎
|
||
@file: i_chunk_handle.py
|
||
@date:2024/7/23 16:51
|
||
@desc:
|
||
"""
|
||
from abc import ABC, abstractmethod
|
||
from typing import List
|
||
|
||
|
||
class IChunkHandle(ABC):
|
||
@abstractmethod
|
||
def handle(self, chunk_list: List[str], chunk_size: int = 256):
|
||
pass
|