Skip to content

Commit

Permalink
Feature/workbench UI 2 (#76)
Browse files Browse the repository at this point in the history
* Added workbench UI option

* Add 0.18.7 templates
  • Loading branch information
cybermaggedon authored Dec 20, 2024
1 parent a54e648 commit 1d14d23
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/simple-editor/state/ModelParams.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

const TRUSTGRAPH_VERSION = "0.18.4";
const TRUSTGRAPH_VERSION = "0.18.7";

import { create } from 'zustand'

Expand Down
1 change: 1 addition & 0 deletions templates/components.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"vector-store-qdrant": import "components/qdrant.jsonnet",
"vector-store-pinecone": import "components/pinecone.jsonnet",
"vertexai": import "components/vertexai.jsonnet",
"workbench-ui": import "components/workbench-ui.jsonnet",
"null": {},

"agent-manager-react": import "components/agent-manager-react.jsonnet",
Expand Down
32 changes: 32 additions & 0 deletions templates/components/workbench-ui.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
local images = import "values/images.jsonnet";

{

"workbench-ui" +: {

create:: function(engine)

local container =
engine.container("workbench-ui")
.with_image(images["workbench-ui"])
.with_limits("0.1", "256M")
.with_reservations("0.1", "256M")
.with_port(8888, 8888, "ui");

local containerSet = engine.containers(
"workbench-ui", [ container ]
);

local service =
engine.internalService(containerSet)
.with_port(8888, 8888, "ui");

engine.resources([
containerSet,
service,
])

},

}

3 changes: 2 additions & 1 deletion templates/values/images.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ local version = import "version.jsonnet";
qdrant: "docker.io/qdrant/qdrant:v1.11.1",
memgraph_mage: "docker.io/memgraph/memgraph-mage:1.22-memgraph-2.22",
memgraph_lab: "docker.io/memgraph/lab:2.19.1",
falkordb: "docker.io/falkordb/falkordb:latest"
falkordb: "docker.io/falkordb/falkordb:latest",
"workbench-ui": "docker.io/trustgraph/workbench-ui:0.1.4",
}

0 comments on commit 1d14d23

Please sign in to comment.