mirror of
https://ghfast.top/https://github.com/discourse/discourse-ai.git
synced 2026-05-27 01:14:34 +08:00
In this feature update, we add the UI for the ability to easily configure persona backed AI-features. The feature will still be hidden until structured responses are complete.
37 lines
1,018 B
JavaScript
37 lines
1,018 B
JavaScript
export default {
|
|
resource: "admin.adminPlugins.show",
|
|
|
|
path: "/plugins",
|
|
|
|
map() {
|
|
this.route("discourse-ai-personas", { path: "ai-personas" }, function () {
|
|
this.route("new");
|
|
this.route("edit", { path: "/:id/edit" });
|
|
});
|
|
|
|
this.route("discourse-ai-llms", { path: "ai-llms" }, function () {
|
|
this.route("new");
|
|
this.route("edit", { path: "/:id/edit" });
|
|
});
|
|
|
|
this.route("discourse-ai-tools", { path: "ai-tools" }, function () {
|
|
this.route("new");
|
|
this.route("edit", { path: "/:id/edit" });
|
|
});
|
|
this.route("discourse-ai-spam", { path: "ai-spam" });
|
|
this.route("discourse-ai-usage", { path: "ai-usage" });
|
|
|
|
this.route(
|
|
"discourse-ai-embeddings",
|
|
{ path: "ai-embeddings" },
|
|
function () {
|
|
this.route("new");
|
|
this.route("edit", { path: "/:id/edit" });
|
|
}
|
|
);
|
|
|
|
this.route("discourse-ai-features", { path: "ai-features" }, function () {
|
|
this.route("edit", { path: "/:id/edit" });
|
|
});
|
|
},
|
|
};
|