mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-22 22:20:07 +08:00

### What problem does this PR solve? Introduced [beartype](https://github.com/beartype/beartype) for runtime type-checking. ### Type of change - [x] New Feature (non-breaking change which adds functionality)
14 lines
432 B
Python
14 lines
432 B
Python
from beartype.claw import beartype_this_package
|
|
beartype_this_package() # <-- raise exceptions in your code
|
|
|
|
import importlib.metadata
|
|
|
|
__version__ = importlib.metadata.version("ragflow_sdk")
|
|
|
|
from .ragflow import RAGFlow
|
|
from .modules.dataset import DataSet
|
|
from .modules.chat import Chat
|
|
from .modules.session import Session
|
|
from .modules.document import Document
|
|
from .modules.chunk import Chunk
|
|
from .modules.agent import Agent |