mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 09:29:38 +02:00
saving
This commit is contained in:
parent
e8c7a4f6e0
commit
ffd97375a8
160 changed files with 6704 additions and 1895 deletions
|
|
@ -1,6 +1,9 @@
|
|||
// Will work once the agent service is merged.
|
||||
import("../packages/flow/dist/agent/react/service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/agent/react/service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/chunking/service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/chunking/service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/config/service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/config/service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/cores/service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/cores/service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/query/embeddings/qdrant-doc-service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/query/embeddings/qdrant-doc-service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/retrieval/document-rag-service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/retrieval/document-rag-service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/embeddings/ollama.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/embeddings/ollama.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/extract/knowledge-extract.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/extract/knowledge-extract.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/flow-manager/service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/flow-manager/service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/gateway/server.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/gateway/server.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/query/embeddings/qdrant-graph-service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/query/embeddings/qdrant-graph-service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/storage/embeddings/graph-embeddings-service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/storage/embeddings/graph-embeddings-service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/retrieval/graph-rag-service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/retrieval/graph-rag-service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
// Will work once the librarian service is merged.
|
||||
import("../packages/flow/dist/librarian/service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/librarian/service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/agent/mcp-tool/service.js")
|
||||
.then((m) => m.McpToolService.launch("mcp-tool"))
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/agent/mcp-tool/service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/decoding/pdf-decoder.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/decoding/pdf-decoder.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/prompt/template.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/prompt/template.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/model/text-completion/azure-openai.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/model/text-completion/azure-openai.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/model/text-completion/claude.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/model/text-completion/claude.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/model/text-completion/mistral.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/model/text-completion/mistral.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/model/text-completion/ollama.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/model/text-completion/ollama.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/model/text-completion/openai-compatible.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/model/text-completion/openai-compatible.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/model/text-completion/openai.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/model/text-completion/openai.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/query/triples/falkordb-service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/query/triples/falkordb-service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import("../packages/flow/dist/storage/triples/falkordb-service.js")
|
||||
.then((m) => m.run())
|
||||
import("@effect/platform-bun/BunRuntime")
|
||||
.then(async (BunRuntime) => {
|
||||
const m = await import("../packages/flow/dist/storage/triples/falkordb-service.js");
|
||||
BunRuntime.runMain(m.program);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue