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

### What problem does this PR solve? Fix errors detected by Ruff ### Type of change - [x] Refactoring
21 lines
435 B
Python
21 lines
435 B
Python
import importlib.metadata
|
|
|
|
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
|
|
|
|
__version__ = importlib.metadata.version("ragflow_sdk")
|
|
|
|
__all__ = [
|
|
"RAGFlow",
|
|
"DataSet",
|
|
"Chat",
|
|
"Session",
|
|
"Document",
|
|
"Chunk",
|
|
"Agent"
|
|
] |