generative-ai-python

google.generativeai.protos.BatchUpdateChunksRequest

Request to batch update Chunk\ s.

`parent` `str` Optional. The name of the ``Document`` containing the ``Chunk``\ s to update. The parent field in every ``UpdateChunkRequest`` must match this value. Example: ``corpora/my-corpus-123/documents/the-doc-abc``
`requests` `MutableSequence[google.ai.generativelanguage.UpdateChunkRequest]` Required. The request messages specifying the ``Chunk``\ s to update. A maximum of 100 ``Chunk``\ s can be updated in a batch.