Skip to content

Commit

Permalink
feat: add product_support plugin to ai_api
Browse files Browse the repository at this point in the history
  • Loading branch information
luandro committed Dec 16, 2024
1 parent e873573 commit f4bf838
Show file tree
Hide file tree
Showing 4 changed files with 1,609 additions and 1,028 deletions.
39 changes: 38 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,41 @@ media/
apps/whatsapp-store/message_db.json
*.zip
observations_db.json
old
old

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.python-version
.pdm.toml
__pypackages__/

# uv
.uv/
3 changes: 2 additions & 1 deletion apps/ai_api/eda_ai_api/api/routes/router.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from fastapi import APIRouter

from eda_ai_api.api.routes import classifier, grant, heartbeat, onboarding
from eda_ai_api.api.routes import classifier, grant, heartbeat, product_support, onboarding

api_router = APIRouter()
api_router.include_router(heartbeat.router, tags=["health"], prefix="/health")
api_router.include_router(grant.router, tags=["discovery"], prefix="/grant")
api_router.include_router(product_support.router, tags=["product_support"], prefix="/product_support")
api_router.include_router(classifier.router, tags=["classifier"], prefix="/classifier")
api_router.include_router(onboarding.router, tags=["onboarding"], prefix="/onboarding")
2 changes: 2 additions & 0 deletions apps/ai_api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies = [
"opportunity-finder",
"proposal_writer",
"onboarding",
"product_support",
"ffmpeg-python>=0.2.0",
"python-multipart>=0.0.17",
]
Expand Down Expand Up @@ -73,6 +74,7 @@ ignore_missing_imports = true
[tool.uv.sources]
opportunity-finder = { path = "../../plugins/grant_plugin/opportunity_finder" }
proposal_writer = { path = "../../plugins/grant_plugin/proposal_writer" }
product_support = { path = "../../plugins/product_support_plugin" }
onboarding = { path = "../../plugins/onboarding" }

[build-system]
Expand Down
Loading

0 comments on commit f4bf838

Please sign in to comment.