Skip to content

Commit

Permalink
GRPC clients version 10.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
clarifai-prod committed Aug 12, 2024
1 parent d0c0731 commit ec0f52b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.7.0
10.7.1
29 changes: 22 additions & 7 deletions src/Clarifai/Api/V2Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,12 @@ public function GetInput(\Clarifai\Api\GetInputRequest $argument,
}

/**
* Get a video input manifest.
* Get a MPEG-DASH manifest for video-type inputs that were added via PostInputs and successfully processed
* Experimental. Manifest is used by browser and desktop clients that implement an efficient streaming playback
* This means client can switch between low-resolution and high-resolution video streams
* Depending on network bandwidth or user's preference
* This also means that reencoded video streams are reencoded in a uniform way, not relying on original format
* Alternative to MPEG-dash is to stream original file with byte-range header
* @param \Clarifai\Api\GetVideoManifestRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
Expand Down Expand Up @@ -524,8 +529,12 @@ public function ListInputs(\Clarifai\Api\ListInputsRequest $argument,
}

/**
* Add 1 or more input to an app.
* The actual inputs processing is asynchronous.
* PostInputs adds one or more inputs to the app.
* Takes a list of image/video/audio/text URLs, image/video/audio bytes or raw text
* Optionally, include concepts or dataset ids to link them
* Optionally, include metadata for search
* Note that inputs processing is asynchronous process
* See ListInputs, StreamInputs or PostInputSearches to list results
* @param \Clarifai\Api\PostInputsRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
Expand Down Expand Up @@ -3200,6 +3209,11 @@ public function CancelInputsAddJob(\Clarifai\Api\CancelInputsAddJobRequest $argu
}

/**
* PostUploads is used to upload files. Note that this does not create inputs.
* returns job with uploadID, job has UPLOAD_IN_PROGRESS status
* Actual upload content can be done in multiple calls with PutUploadContentParts
* You can get status of upload with GetUpload or ListUploads endpoints
* See also PostInputsUploads
* @param \Clarifai\Api\PostUploadsRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
Expand Down Expand Up @@ -3343,11 +3357,12 @@ public function CancelInputsExtractionJobs(\Clarifai\Api\CancelInputsExtractionJ
}

/**
* Start uploading a file archive containing inputs.
* Will create and return an inputs-add-job for tracking progress.
*
* Associated inputs-add-job contains an upload id which should be completed through `PutUploadContentParts` endpoint.
* Create new upload job with a file archive containing inputs (images, videos, text, audio)
* Actual file upload happens in next steps by calling `PutUploadContentParts` endpoint
* and providing the file content in the request body.
* This endpoint creates and return an inputs-add-job which contains an upload id needed for upload and further status tracking
* Completing the upload will automatically begin unpacking the archive and uploading the contents as inputs.
* See also GetInputsAddJob and then GetInputsExtractionJob
* @param \Clarifai\Api\PostInputsUploadsRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
Expand Down

0 comments on commit ec0f52b

Please sign in to comment.