factory/apps/ichat/urls.py

10 lines
308 B
Python

from django.urls import path
from apps.ichat.views import QueryLLMview, ConversationView
API_BASE_URL = 'api/ichat/'
urlpatterns = [
path(API_BASE_URL + 'query/', QueryLLMview.as_view(), name='llm_query'),
path(API_BASE_URL + 'conversation/', ConversationView.as_view(), name='conversation')
]