generative-ai-python

google.generativeai.protos.BatchCreateChunksRequest

Request to batch create Chunk\ s.

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