We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db17079 commit 2a74388Copy full SHA for 2a74388
backend/chain.py
backend/main.py
@@ -1,10 +1,10 @@
1
"""Main entrypoint for the app."""
2
+# TODO (VB): delete this completely & test feedback + tracing in langgraph deploy
3
import asyncio
4
from typing import Optional, Union
5
from uuid import UUID
6
7
import langsmith
-from chain import ChatRequest, answer_chain
8
from fastapi import FastAPI
9
from fastapi.middleware.cors import CORSMiddleware
10
from langserve import add_routes
@@ -24,15 +24,6 @@
24
)
25
26
27
-add_routes(
28
- app,
29
- answer_chain,
30
- path="/chat",
31
- input_type=ChatRequest,
32
- config_keys=["metadata", "configurable", "tags"],
33
-)
34
-
35
36
class SendFeedbackBody(BaseModel):
37
run_id: UUID
38
key: str = "user_score"
0 commit comments