2026-02-25 12:21:53 +03:30
|
|
|
from django.urls import path
|
|
|
|
|
|
2026-03-25 15:43:00 +03:30
|
|
|
from .views import ChatListView, ChatMessagesView, ChatView, ContextView
|
2026-02-25 12:21:53 +03:30
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
path("context/", ContextView.as_view(), name="farm-ai-assistant-context"),
|
|
|
|
|
path("chat/", ChatView.as_view(), name="farm-ai-assistant-chat"),
|
2026-03-25 15:43:00 +03:30
|
|
|
path("chats/", ChatListView.as_view(), name="farm-ai-assistant-chat-list"),
|
|
|
|
|
path("chats/<uuid:conversation_id>/messages/", ChatMessagesView.as_view(), name="farm-ai-assistant-chat-messages"),
|
2026-02-25 12:21:53 +03:30
|
|
|
]
|