mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 09:29:38 +02:00
Remove RAG requestor Promise bridges
This commit is contained in:
parent
88db18fbda
commit
5979d38b99
11 changed files with 249 additions and 293 deletions
|
|
@ -6,9 +6,6 @@
|
|||
* Env:
|
||||
* NATS_URL (default: nats://localhost:4222)
|
||||
*/
|
||||
import { run } from "../packages/flow/src/agent/react/service.js";
|
||||
import {runMain} from "../packages/flow/src/agent/react/service.js";
|
||||
|
||||
run().catch((err) => {
|
||||
console.error("Agent service failed:", err);
|
||||
process.exit(1);
|
||||
});
|
||||
runMain();
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
import { run } from "../packages/flow/src/retrieval/document-rag-service.js";
|
||||
import {runMain} from "../packages/flow/src/retrieval/document-rag-service.js";
|
||||
|
||||
run().catch((err) => {
|
||||
console.error("Document RAG service failed:", err);
|
||||
process.exit(1);
|
||||
});
|
||||
runMain();
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
import { run } from "../packages/flow/src/retrieval/graph-rag-service.js";
|
||||
import {runMain} from "../packages/flow/src/retrieval/graph-rag-service.js";
|
||||
|
||||
run().catch((err) => {
|
||||
console.error("Graph RAG service failed:", err);
|
||||
process.exit(1);
|
||||
});
|
||||
runMain();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue