generative-ai-python

google.generativeai.protos.CreateChunkRequest

Request to create a Chunk.

`parent` `str` Required. The name of the ``Document`` where this ``Chunk`` will be created. Example: ``corpora/my-corpus-123/documents/the-doc-abc``
`chunk` `google.ai.generativelanguage.Chunk` Required. The ``Chunk`` to create.