ixg_platform/apps/ai/urls.py

12 lines
349 B
Python

from rest_framework.routers import DefaultRouter
from django.urls import path, include
from . import views
router = DefaultRouter()
router.register("ai-interactions", views.AIInteractionViewSet, basename="ai-interaction")
router.register("agents", views.AgentConfigViewSet, basename="agent")
urlpatterns = [
path("", include(router.urls)),
]