Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ai
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
ai
Commits
0732f8a5
Commit
0732f8a5
authored
7 months ago
by
Marcus Johansson
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3478551
by marcus_johansson: Defaults for extraAdvancedFormFields in...
parent
2f0ed697
No related branches found
No related tags found
1 merge request
!142
Issue #3478551 by marcus_johansson: Defaults for extraAdvancedFormFields in...
Pipeline
#302098
passed
7 months ago
Stage: build
Stage: validate
Stage: test
Stage: .post
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/ai_automators/src/PluginBaseClasses/Taxonomy.php
+2
-2
2 additions, 2 deletions
modules/ai_automators/src/PluginBaseClasses/Taxonomy.php
with
2 additions
and
2 deletions
modules/ai_automators/src/PluginBaseClasses/Taxonomy.php
+
2
−
2
View file @
0732f8a5
...
...
@@ -134,7 +134,7 @@ class Taxonomy extends RuleBase implements ContainerFactoryPluginInterface {
'uppercase'
=>
$this
->
t
(
'UPPERCASE'
),
'first_char'
=>
$this
->
t
(
'First character uppercase'
),
],
'#default_value'
=>
$
fieldDefinition
->
getConfig
(
$entity
->
bundle
())
->
getThirdPartySetting
(
'ai_automator'
,
'
automator_clean_up
'
,
''
)
,
'#default_value'
=>
$
defaultValues
[
"
automator_clean_up
"
]
??
''
,
'#weight'
=>
23
,
];
...
...
@@ -143,7 +143,7 @@ class Taxonomy extends RuleBase implements ContainerFactoryPluginInterface {
'#type'
=>
'checkbox'
,
'#title'
=>
'Find similar tags'
,
'#description'
=>
$this
->
t
(
'This will use GPT-4 to find similar tags. Meaning if the tag "Jesus Christ" exists and the system wants to store "Jesus" it will store it as "Jesus Christ". This uses extra calls and is slower and more costly.'
),
'#default_value'
=>
$
fieldDefinition
->
getConfig
(
$entity
->
bundle
())
->
getThirdPartySetting
(
'ai_automator'
,
'
automator_search_similar_tags
'
,
FALSE
)
,
'#default_value'
=>
$
defaultValues
[
"
automator_search_similar_tags
"
]
??
FALSE
,
'#weight'
=>
23
,
];
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment