Logo
Explore Help
Register Sign In
yujunjun/haystack
1
0
Fork 0
You've already forked haystack
mirror of https://github.com/deepset-ai/haystack.git synced 2025-07-25 09:50:14 +00:00
Code Issues Packages Projects Releases Wiki Activity
haystack/haystack/api/controller/router.py

9 lines
219 B
Python
Raw Normal View History

Modularize API components (#55) This PR makes the REST API module more cohesive and maintainable by splitting into separate modules for controllers, routes, config, and the FastAPI app.
2020-04-15 14:04:30 +02:00
from fastapi import APIRouter
Simplify Retriever query (#73)
2020-04-27 12:19:59 +02:00
from haystack.api.controller import search, feedback
Modularize API components (#55) This PR makes the REST API module more cohesive and maintainable by splitting into separate modules for controllers, routes, config, and the FastAPI app.
2020-04-15 14:04:30 +02:00
router = APIRouter()
Simplify Retriever query (#73)
2020-04-27 12:19:59 +02:00
router.include_router(search.router, tags=["search"])
Modularize API components (#55) This PR makes the REST API module more cohesive and maintainable by splitting into separate modules for controllers, routes, config, and the FastAPI app.
2020-04-15 14:04:30 +02:00
router.include_router(feedback.router, tags=["feedback"])
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 4180ms Template: 106ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API