diff --git a/application.py b/application.py index dd4e279c..3c92c182 100644 --- a/application.py +++ b/application.py @@ -236,7 +236,7 @@ class AzureOpenAIRequest(BaseModel): conversation: List[Dict[str, str]] # Route 5: Connect to OpenAI and get response -@app.post("/conversation") +@app.post("/chat") async def create_item(request: AzureOpenAIRequest) -> str: conversation = request.conversation result = await get_openai_response(conversation)