Skip to content

Commit d3e4f8d

Browse files
authored
chore: fix docs for automl (#13354)
1 parent 8b9c7bf commit d3e4f8d

File tree

1 file changed

+23
-46
lines changed
  • packages/google-cloud-automl/google/cloud/automl_v1/types

1 file changed

+23
-46
lines changed

packages/google-cloud-automl/google/cloud/automl_v1/types/io.py

+23-46
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,9 @@ class InputConfig(proto.Message):
5555
with non-terminal symbols defined near the end of this comment. The
5656
formats are:
5757
58-
AutoML Vision
59-
^^^^^^^^^^^^^
58+
AutoML Vision:
6059
61-
Classification
62-
''''''''''''''
60+
Classification:
6361
6462
See `Preparing your training
6563
data <https://cloud.google.com/vision/automl/docs/prepare>`__ for
@@ -100,8 +98,7 @@ class InputConfig(proto.Message):
10098
UNASSIGNED,gs://folder/image3.jpg,daisy
10199
UNASSIGNED,gs://folder/image4.jpg
102100
103-
Object Detection
104-
''''''''''''''''
101+
Object Detection:
105102
106103
See `Preparing your training
107104
data <https://cloud.google.com/vision/automl/object-detection/docs/prepare>`__
@@ -151,11 +148,9 @@ class InputConfig(proto.Message):
151148
</section>
152149
</div>
153150
154-
AutoML Video Intelligence
155-
^^^^^^^^^^^^^^^^^^^^^^^^^
151+
AutoML Video Intelligence:
156152
157-
Classification
158-
''''''''''''''
153+
Classification:
159154
160155
See `Preparing your training
161156
data <https://cloud.google.com/video-intelligence/automl/docs/prepare>`__
@@ -205,8 +200,7 @@ class InputConfig(proto.Message):
205200
gs://folder/vid2.avi,car,0,60.5
206201
gs://folder/vid3.avi,,,
207202
208-
Object Tracking
209-
'''''''''''''''
203+
Object Tracking:
210204
211205
See `Preparing your training
212206
data </video-intelligence/automl/object-tracking/docs/prepare>`__
@@ -269,11 +263,9 @@ class InputConfig(proto.Message):
269263
gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,,
270264
gs://folder/video2.avi,,,,,,,,,,,
271265
272-
AutoML Natural Language
273-
^^^^^^^^^^^^^^^^^^^^^^^
266+
AutoML Natural Language:
274267
275-
Entity Extraction
276-
'''''''''''''''''
268+
Entity Extraction:
277269
278270
See `Preparing your training
279271
data </natural-language/automl/entity-analysis/docs/prepare>`__ for
@@ -467,8 +459,7 @@ class InputConfig(proto.Message):
467459
},
468460
],
469461
470-
Classification
471-
''''''''''''''
462+
Classification:
472463
473464
See `Preparing your training
474465
data <https://cloud.google.com/natural-language/automl/docs/prepare>`__
@@ -520,8 +511,7 @@ class InputConfig(proto.Message):
520511
TEST,gs://folder/document.pdf
521512
VALIDATE,gs://folder/text_files.zip,BadFood
522513
523-
Sentiment Analysis
524-
''''''''''''''''''
514+
Sentiment Analysis:
525515
526516
See `Preparing your training
527517
data <https://cloud.google.com/natural-language/automl/docs/prepare>`__
@@ -584,8 +574,7 @@ class InputConfig(proto.Message):
584574
TEST,gs://folder/document.pdf
585575
VALIDATE,gs://folder/text_files.zip,2
586576
587-
AutoML Tables
588-
^^^^^^^^^^^^^
577+
AutoML Tables:
589578
590579
See `Preparing your training
591580
data <https://cloud.google.com/automl-tables/docs/prepare>`__ for
@@ -702,8 +691,7 @@ class InputConfig(proto.Message):
702691
semantic of the imported data, any string must be up to
703692
25000 characters long.
704693
705-
AutoML Tables
706-
^^^^^^^^^^^^^
694+
AutoML Tables:
707695
708696
``schema_inference_version`` : (integer) This value must be
709697
supplied. The version of the algorithm to use for the
@@ -736,11 +724,9 @@ class BatchPredictInputConfig(proto.Message):
736724
with non-terminal symbols defined near the end of this comment. The
737725
formats are:
738726
739-
AutoML Vision
740-
^^^^^^^^^^^^^
727+
AutoML Vision:
741728
742-
Classification
743-
''''''''''''''
729+
Classification:
744730
745731
One or more CSV files where each line is a single column:
746732
@@ -760,8 +746,7 @@ class BatchPredictInputConfig(proto.Message):
760746
gs://folder/image2.gif
761747
gs://folder/image3.png
762748
763-
Object Detection
764-
''''''''''''''''
749+
Object Detection:
765750
766751
One or more CSV files where each line is a single column:
767752
@@ -781,11 +766,9 @@ class BatchPredictInputConfig(proto.Message):
781766
gs://folder/image2.gif
782767
gs://folder/image3.png
783768
784-
AutoML Video Intelligence
785-
^^^^^^^^^^^^^^^^^^^^^^^^^
769+
AutoML Video Intelligence:
786770
787-
Classification
788-
''''''''''''''
771+
Classification:
789772
790773
One or more CSV files where each line is a single column:
791774
@@ -808,8 +791,7 @@ class BatchPredictInputConfig(proto.Message):
808791
gs://folder/video1.mp4,20,60
809792
gs://folder/vid2.mov,0,inf
810793
811-
Object Tracking
812-
'''''''''''''''
794+
Object Tracking:
813795
814796
One or more CSV files where each line is a single column:
815797
@@ -832,11 +814,9 @@ class BatchPredictInputConfig(proto.Message):
832814
gs://folder/video1.mp4,20,60
833815
gs://folder/vid2.mov,0,inf
834816
835-
AutoML Natural Language
836-
^^^^^^^^^^^^^^^^^^^^^^^
817+
AutoML Natural Language:
837818
838-
Classification
839-
''''''''''''''
819+
Classification:
840820
841821
One or more CSV files where each line is a single column:
842822
@@ -857,8 +837,7 @@ class BatchPredictInputConfig(proto.Message):
857837
gs://folder/text2.pdf
858838
gs://folder/text3.tif
859839
860-
Sentiment Analysis
861-
''''''''''''''''''
840+
Sentiment Analysis:
862841
863842
One or more CSV files where each line is a single column:
864843
@@ -879,8 +858,7 @@ class BatchPredictInputConfig(proto.Message):
879858
gs://folder/text2.pdf
880859
gs://folder/text3.tif
881860
882-
Entity Extraction
883-
'''''''''''''''''
861+
Entity Extraction:
884862
885863
One or more JSONL (JSON Lines) files that either provide inline text
886864
or documents. You can only use one format, either inline text or
@@ -955,8 +933,7 @@ class BatchPredictInputConfig(proto.Message):
955933
}
956934
}
957935
958-
AutoML Tables
959-
^^^^^^^^^^^^^
936+
AutoML Tables:
960937
961938
See `Preparing your training
962939
data <https://cloud.google.com/automl-tables/docs/predict-batch>`__

0 commit comments

Comments
 (0)