Bundle Google Gemini corpus APIs (-lib gemini)
Chunk
Google Gemini document chunk
Inherits: OAuthEndPoint
Operations
Create # function
Create a new document
function : Create(value:String, metadata:Map<String,String>, document:Document) ~ ChunkParameters
| Name | Type | Description |
|---|---|---|
| value | String | check string value |
| metadata | Map<String,String> | document metadata |
| document | Document | document to attach chunk |
Return
| Type | Description |
|---|---|
| Chunk | new Document |
Delete #
Delete existing chunk
method : public : Delete() ~ BoolReturn
| Type | Description |
|---|---|
| Bool | true if successful, false otherwise |
Get # function
Get existing chunk
function : Get(name:String) ~ ChunkParameters
| Name | Type | Description |
|---|---|---|
| name | String | chunk name |
Return
| Type | Description |
|---|---|
| Chunk | existing chunk |
GetCreateTime #
Get creation time
method : public : GetCreateTime() ~ System.Time.DateReturn
| Type | Description |
|---|---|
| Date | creation time |
GetUpdateTime #
Get update time
method : public : GetUpdateTime() ~ System.Time.DateReturn
| Type | Description |
|---|---|
| Date | update time |