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.
16 lines
291 B
JavaScript
16 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"
|
|
);
|
|
}
|
|
}
|