Skip to content

Commit

Permalink
feat: regenerate READMEs with new compogen
Browse files Browse the repository at this point in the history
  • Loading branch information
jvallesm committed Jun 21, 2024
1 parent 768532e commit 7b648ee
Show file tree
Hide file tree
Showing 19 changed files with 808 additions and 6 deletions.
37 changes: 37 additions & 0 deletions ai/archetypeai/v0/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,59 +12,96 @@ It can carry out the following tasks:
- [Summarize](#summarize)
- [Upload File](#upload-file)



## Release Stage

`Alpha`



## Configuration

The component configuration is defined and maintained [here](https://github.com/instill-ai/component/blob/main/ai/archetypeai/v0/config/definition.json).




## Setup


| Field | Field ID | Type | Note |
| :--- | :--- | :--- | :--- |
| API Key (required) | `api-key` | string | Fill your Archetype AI API key |




## Supported Tasks

### Describe

Describe a video.


| Input | ID | Type | Description |
| :--- | :--- | :--- | :--- |
| Task ID (required) | `task` | string | `TASK_DESCRIBE` |
| Query (required) | `query` | string | A guide to describe the video |
| File IDs (required) | `file-ids` | array[string] | The IDs of the videos to describe. These must have been previously uploaded via TASK_UPLOAD_FILE. |



| Output | ID | Type | Description |
| :--- | :--- | :--- | :--- |
| Descriptions | `descriptions` | array[object] | A set of descriptions corresponding to different moments in the video |






### Summarize

Summarize the image.


| Input | ID | Type | Description |
| :--- | :--- | :--- | :--- |
| Task ID (required) | `task` | string | `TASK_SUMMARIZE` |
| Query (required) | `query` | string | A guide to summarize the image |
| File IDs (required) | `file-ids` | array[string] | The IDs of the images to summarize. These must have been previously uploaded via TASK_UPLOAD_FILE. |



| Output | ID | Type | Description |
| :--- | :--- | :--- | :--- |
| Response | `response` | string | A text responding to the query |






### Upload File

Upload file.


| Input | ID | Type | Description |
| :--- | :--- | :--- | :--- |
| Task ID (required) | `task` | string | `TASK_UPLOAD_FILE` |
| File (required) | `file` | string | The file to upload. Accepted formats are JPEG and PNG for images or MP4 for videos |



| Output | ID | Type | Description |
| :--- | :--- | :--- | :--- |
| File ID | `file-id` | string | The ID to reference the file in queries |







Loading

0 comments on commit 7b648ee

Please sign in to comment.