File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed
google/cloud/documentai/v1beta3 Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Generate API Index
2+ on : # yamllint disable-line rule:truthy
3+ push :
4+ branches : [master]
5+ workflow_dispatch :
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Setup .NET Core SDK
11+ uses : actions/setup-dotnet@v3
12+ - name : Checkout googleapis (this repository)
13+ uses : actions/checkout@v3
14+ with :
15+ path : googleapis
16+ - name : Checkout index generator
17+ uses : actions/checkout@v3
18+ with :
19+ repository : googleapis/googleapis-api-index-generator
20+ path : gen
21+ - name : Generate API index
22+ run : |
23+ gen/scripts/generate-schema.sh
24+ gen/scripts/generate-index.sh $PWD/googleapis
25+ cp gen/tmp/api-index-v1.json $PWD/googleapis
26+ - name : Create PR
27+ uses : googleapis/code-suggester@v5
28+ env :
29+ ACCESS_TOKEN : ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
30+ with :
31+ command : pr
32+ upstream_owner : googleapis
33+ upstream_repo : googleapis
34+ title : ' chore: regenerate API index'
35+ description : ' chore: regenerate API index'
36+ message : ' chore: regenerate API index'
37+ primary : ' master'
38+ branch : api-index
39+ git_dir : ' googleapis/.'
40+ force : true
41+ fork : true
Original file line number Diff line number Diff line change @@ -1118,6 +1118,14 @@ message TrainProcessorVersionRequest {
11181118 // values are between 0.1 and 10. If not provided, recommended learning rate
11191119 // will be used.
11201120 float learning_rate_multiplier = 3 [(google.api.field_behavior ) = OPTIONAL ];
1121+
1122+ // Optional. Resource name of a previously fine tuned version id to copy the
1123+ // overwritten configs from. The base_processor_version should be newer than
1124+ // the base processor version used to fine tune this provided processor
1125+ // version. Format:
1126+ // `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
1127+ string previous_fine_tuned_processor_version_name = 5
1128+ [(google.api.field_behavior ) = OPTIONAL ];
11211129 }
11221130
11231131 oneof processor_flags {
You can’t perform that action at this time.
0 commit comments