mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Topic templates for extractor (#62)
* Add topic prompt to templates * Bump version * Updated templates
This commit is contained in:
parent
728ff7542a
commit
6af86fa09f
25 changed files with 549 additions and 252 deletions
|
|
@ -58,6 +58,31 @@ local url = import "values/url.jsonnet";
|
|||
|
||||
},
|
||||
|
||||
"kg-extract-topics" +: {
|
||||
|
||||
create:: function(engine)
|
||||
|
||||
local container =
|
||||
engine.container("kg-extract-topics")
|
||||
.with_image(images.trustgraph)
|
||||
.with_command([
|
||||
"kg-extract-topics",
|
||||
"-p",
|
||||
url.pulsar,
|
||||
])
|
||||
.with_limits("0.5", "128M")
|
||||
.with_reservations("0.1", "128M");
|
||||
|
||||
local containerSet = engine.containers(
|
||||
"kg-extract-topics", [ container ]
|
||||
);
|
||||
|
||||
engine.resources([
|
||||
containerSet,
|
||||
])
|
||||
|
||||
},
|
||||
|
||||
"graph-rag" +: {
|
||||
|
||||
create:: function(engine)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue