Skip to content

Commit

Permalink
SAS-695: replaced MediaType with FileExtension.
Browse files Browse the repository at this point in the history
  • Loading branch information
liamsommer-mx committed Aug 22, 2024
1 parent 24562ff commit 08c0b25
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ This is a file in a collection of files that belongs to a message. Each instance
| `ContentType` | This describes the type of file data. Supported content types are either URL or base64-encoded file data. For more information, see the [ENUM_FileContentType](#enum-filecontenttype) section.
| `FileType` | Currently only images and documents are supported file types. In general, not all file types might be supported by all AI providers or models. For more information, see the [ENUM_FileType](#enum-filetype).
| `TextContent` | An optional text content describing the file content or giving it a specific name. This can be used to refer to specific files in the prompt of the message. |
| `MediaType` | This is a combination of `FileType` and the extension of the file, e.g. *image/png*. Note that this attribute may only be filled for images and can be empty. |

| `FileExtension` | Extension of the file. |
F
#### 4.1.6 `ToolCollection` {#toolcollection}

This is an optional collection of tools to be sent along with the `Request`. Using tool call capabilities (also known as function calling) might not be supported by certain AI providers or models. This entity functions as a wrapper entity for tools and has no attributes.
Expand Down

0 comments on commit 08c0b25

Please sign in to comment.