|
from flask import Blueprint
|
|
|
|
from libs.external_api import ExternalApi
|
|
|
|
bp = Blueprint('console', __name__, url_prefix='/console/api')
|
|
api = ExternalApi(bp)
|
|
|
|
|
|
from . import admin, apikey, extension, feature, ping, setup, version
|
|
|
|
|
|
from .app import (
|
|
advanced_prompt_template,
|
|
agent,
|
|
annotation,
|
|
app,
|
|
audio,
|
|
completion,
|
|
conversation,
|
|
generator,
|
|
message,
|
|
model_config,
|
|
site,
|
|
statistic,
|
|
workflow,
|
|
workflow_app_log,
|
|
workflow_run,
|
|
workflow_statistic,
|
|
)
|
|
|
|
|
|
from .auth import activate, data_source_oauth, login, oauth
|
|
|
|
|
|
from .billing import billing
|
|
|
|
|
|
from .datasets import data_source, datasets, datasets_document, datasets_segments, file, hit_testing
|
|
|
|
|
|
from .explore import (
|
|
audio,
|
|
completion,
|
|
conversation,
|
|
installed_app,
|
|
message,
|
|
parameter,
|
|
recommended_app,
|
|
saved_message,
|
|
workflow,
|
|
)
|
|
|
|
|
|
from .tag import tags
|
|
|
|
|
|
from .workspace import account, members, model_providers, models, tool_providers, workspace
|
|
|