File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,6 +32,14 @@ class GoogleCloudDocumentaiV1DocumentSchema extends \Google\Collection
3232 * @var string
3333 */
3434 public $ displayName ;
35+ /**
36+ * Optional. Document level prompt provided by the user. This custom text is
37+ * injected into the AI model's prompt to provide extra, document-wide
38+ * guidance for processing.
39+ *
40+ * @var string
41+ */
42+ public $ documentPrompt ;
3543 protected $ entityTypesType = GoogleCloudDocumentaiV1DocumentSchemaEntityType::class;
3644 protected $ entityTypesDataType = 'array ' ;
3745 protected $ metadataType = GoogleCloudDocumentaiV1DocumentSchemaMetadata::class;
@@ -69,6 +77,24 @@ public function getDisplayName()
6977 {
7078 return $ this ->displayName ;
7179 }
80+ /**
81+ * Optional. Document level prompt provided by the user. This custom text is
82+ * injected into the AI model's prompt to provide extra, document-wide
83+ * guidance for processing.
84+ *
85+ * @param string $documentPrompt
86+ */
87+ public function setDocumentPrompt ($ documentPrompt )
88+ {
89+ $ this ->documentPrompt = $ documentPrompt ;
90+ }
91+ /**
92+ * @return string
93+ */
94+ public function getDocumentPrompt ()
95+ {
96+ return $ this ->documentPrompt ;
97+ }
7298 /**
7399 * Entity types of the schema.
74100 *
Original file line number Diff line number Diff line change @@ -32,6 +32,14 @@ class GoogleCloudDocumentaiV1beta3DocumentSchema extends \Google\Collection
3232 * @var string
3333 */
3434 public $ displayName ;
35+ /**
36+ * Optional. Document level prompt provided by the user. This custom text is
37+ * injected into the AI model's prompt to provide extra, document-wide
38+ * guidance for processing.
39+ *
40+ * @var string
41+ */
42+ public $ documentPrompt ;
3543 protected $ entityTypesType = GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType::class;
3644 protected $ entityTypesDataType = 'array ' ;
3745 protected $ metadataType = GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata::class;
@@ -69,6 +77,24 @@ public function getDisplayName()
6977 {
7078 return $ this ->displayName ;
7179 }
80+ /**
81+ * Optional. Document level prompt provided by the user. This custom text is
82+ * injected into the AI model's prompt to provide extra, document-wide
83+ * guidance for processing.
84+ *
85+ * @param string $documentPrompt
86+ */
87+ public function setDocumentPrompt ($ documentPrompt )
88+ {
89+ $ this ->documentPrompt = $ documentPrompt ;
90+ }
91+ /**
92+ * @return string
93+ */
94+ public function getDocumentPrompt ()
95+ {
96+ return $ this ->documentPrompt ;
97+ }
7298 /**
7399 * Entity types of the schema.
74100 *
You can’t perform that action at this time.
0 commit comments