mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
Generate all YAML files (#24)
* All templates generated, added missing file * Up version
This commit is contained in:
parent
305dda4463
commit
a2ae1d8820
23 changed files with 1819 additions and 1263 deletions
27
templates/main.jsonnet
Normal file
27
templates/main.jsonnet
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
local components = {
|
||||
neo4j: import "components/neo4j.jsonnet",
|
||||
cassandra: import "components/neo4j.jsonnet",
|
||||
pulsar: import "components/pulsar.jsonnet",
|
||||
milvus: import "components/milvus.jsonnet",
|
||||
grafana: import "components/grafana.jsonnet",
|
||||
trustgraph: import "components/trustgraph.jsonnet",
|
||||
azure: import "components/azure.jsonnet",
|
||||
bedrock: import "components/bedrock.jsonnet",
|
||||
cohere: import "components/cohere.jsonnet",
|
||||
claude: import "components/claude.jsonnet",
|
||||
ollama: import "components/ollama.jsonnet",
|
||||
openai: import "components/openai.jsonnet",
|
||||
mix: import "components/mix.jsonnet",
|
||||
vertexai: import "components/vertexai.jsonnet",
|
||||
};
|
||||
|
||||
local options = std.split(std.extVar("options"), ",");
|
||||
|
||||
local add = function(state, name) state + components[name];
|
||||
|
||||
local config = std.foldl(add, options, {});
|
||||
|
||||
std.manifestYamlDoc(config)
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue