Skip to content
Snippets Groups Projects
Commit 2ebbb6f2 authored by thucpn's avatar thucpn
Browse files

fix: /api/chat

parent b4b4ff57
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ export class LlamaIndexServer {
workflow: ServerWorkflow;
port: number;
constructor({ workflow, port = 8000 }: LlamaIndexServerParams) {
constructor({ workflow, port = 3000 }: LlamaIndexServerParams) {
this.app = express();
this.workflow = workflow;
this.port = port;
......@@ -41,7 +41,7 @@ export class LlamaIndexServer {
protected setupRoutes() {
this.app.use(express.json());
this.app.post("/chat", this.chatController);
this.app.post("/api/chat", this.chatController);
}
public start() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment