Files
dify/api/controllers/console/__init__.py
T

29 lines
1.0 KiB
Python
Raw Normal View History

2023-05-15 08:51:32 +08:00
from flask import Blueprint
from libs.external_api import ExternalApi
bp = Blueprint('console', __name__, url_prefix='/console/api')
api = ExternalApi(bp)
2023-05-25 15:54:45 +08:00
# Import other controllers
2023-12-20 15:37:57 +08:00
from . import extension, setup, version, apikey, admin, feature
2023-05-25 15:54:45 +08:00
2023-05-15 08:51:32 +08:00
# Import app controllers
2023-12-18 13:10:05 +08:00
from .app import advanced_prompt_template, app, site, completion, model_config, statistic, conversation, message, generator, audio, annotation
2023-05-15 08:51:32 +08:00
# Import auth controllers
from .auth import login, oauth, data_source_oauth, activate
2023-05-15 08:51:32 +08:00
# Import datasets controllers
2023-06-16 21:47:51 +08:00
from .datasets import datasets, datasets_document, datasets_segments, file, hit_testing, data_source
2023-05-15 08:51:32 +08:00
2023-05-25 15:54:45 +08:00
# Import workspace controllers
2023-08-12 00:57:00 +08:00
from .workspace import workspace, members, providers, model_providers, account, tool_providers, models
2023-05-25 15:54:45 +08:00
# Import explore controllers
2023-07-07 17:50:42 +08:00
from .explore import installed_app, recommended_app, completion, conversation, message, parameter, saved_message, audio
2023-07-27 13:08:57 +08:00
# Import universal chat controllers
from .universal_chat import chat, conversation, message, parameter, audio
2023-08-12 00:57:00 +08:00
2023-12-03 20:59:29 +08:00
from .billing import billing