dify/api/controllers/service_api/__init__.py

12 lines
301 B
Python
Raw Normal View History

2023-05-15 08:51:32 +08:00
from flask import Blueprint
2023-05-15 08:51:32 +08:00
from libs.external_api import ExternalApi
bp = Blueprint("service_api", __name__, url_prefix="/v1")
2023-05-15 08:51:32 +08:00
api = ExternalApi(bp)
from . import index
from .app import app, audio, completion, conversation, file, message, workflow
from .dataset import dataset, document, segment