mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-07 20:18:16 +00:00
f5cf1019fb
* Use AR model for embeddings features * endpoints * Embeddings CRUD UI * Add presets. Hide a couple more settings * system specs * Seed embedding definition from old settings * Generate search bit index on the fly. cleanup orphaned data * support for seeded models * Fix run test for new embedding * fix selected model not set correctly
34 lines
881 B
JavaScript
34 lines
881 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" });
|
|
}
|
|
);
|
|
},
|
|
};
|