mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
- Add component template files for all LLM types - Top-level templates simplified to use just components - Version to 0.6.2
34 lines
609 B
Jsonnet
34 lines
609 B
Jsonnet
local base = import "base.jsonnet";
|
|
local images = import "images.jsonnet";
|
|
local url = import "url.jsonnet";
|
|
{
|
|
services +: {
|
|
|
|
"text-completion": base + {
|
|
image: images.trustgraph,
|
|
command: [
|
|
"text-completion-claude",
|
|
"-p",
|
|
url.pulsar,
|
|
"-k",
|
|
"${CLAUDE_KEY}",
|
|
],
|
|
},
|
|
|
|
"text-completion-rag": base + {
|
|
image: images.trustgraph,
|
|
command: [
|
|
"text-completion-claude",
|
|
"-p",
|
|
url.pulsar,
|
|
"-k",
|
|
"${CLAUDE_KEY}",
|
|
"-i",
|
|
"non-persistent://tg/request/text-completion-rag",
|
|
"-o",
|
|
"non-persistent://tg/response/text-completion-rag-response",
|
|
],
|
|
},
|
|
|
|
},
|
|
}
|