google.generativeai.protos.Corpus
A Corpus
is a collection of Document
\ s.
A project can
create up to 5 corpora.
Attributes |
`name`
|
`str`
Immutable. Identifier. The ``Corpus`` resource name. The ID
(name excluding the "corpora/" prefix) can contain up to 40
characters that are lowercase alphanumeric or dashes (-).
The ID cannot start or end with a dash. If the name is empty
on create, a unique name will be derived from
``display_name`` along with a 12 character random suffix.
Example: ``corpora/my-awesome-corpora-123a456b789c``
|
`display_name`
|
`str`
Optional. The human-readable display name for the
``Corpus``. The display name must be no more than 512
characters in length, including spaces. Example: "Docs on
Semantic Retriever".
|
`create_time`
|
`google.protobuf.timestamp_pb2.Timestamp`
Output only. The Timestamp of when the ``Corpus`` was
created.
|
`update_time`
|
`google.protobuf.timestamp_pb2.Timestamp`
Output only. The Timestamp of when the ``Corpus`` was last
updated.
|