mirror of
https://ghfast.top/https://github.com/discourse/discourse-ai.git
synced 2026-05-26 01:04:52 +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.
15 lines
291 B
JavaScript
15 lines
291 B
JavaScript
import RestModel from "discourse/models/rest";
|
|
|
|
export default class AiFeature extends RestModel {
|
|
createProperties() {
|
|
return this.getProperties(
|
|
"id",
|
|
"name",
|
|
"ref",
|
|
"description",
|
|
"enable_setting",
|
|
"persona",
|
|
"persona_setting"
|
|
);
|
|
}
|
|
}
|