dify/api/controllers/service_api/__init__.py

12 lines
313 B
Python
Raw Normal View History

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