Feat: explore apps (#196)

This commit is contained in:
John Wang 2023-05-25 15:54:45 +08:00 • committed by GitHub
commit 93ae18ea12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 1197 additions and 231 deletions

View file

@ -5,8 +5,11 @@ from libs.external_api import ExternalApi
bp = Blueprint('console', __name__, url_prefix='/console/api')
api = ExternalApi(bp)
# Import other controllers
from . import setup, version, apikey, admin
# Import app controllers
from .app import app, site, explore, completion, model_config, statistic, conversation, message
from .app import app, site, completion, model_config, statistic, conversation, message
# Import auth controllers
from .auth import login, oauth
@ -14,7 +17,8 @@ from .auth import login, oauth
# Import datasets controllers
from .datasets import datasets, datasets_document, datasets_segments, file, hit_testing
# Import other controllers
from . import setup, version, apikey
# Import workspace controllers
from .workspace import workspace, members, providers, account
# Import explore controllers
from .explore import installed_app, recommended_app, completion, conversation, message, parameter, saved_message