Skip to content

Commit

Permalink
Merge pull request #60 from togethercomputer/add-vision-support
Browse files Browse the repository at this point in the history
Support vision models
  • Loading branch information
Nutlope authored Nov 27, 2024
2 parents c3bc7b9 + 5500816 commit f426d89
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,42 @@ components:
content:
description: The content of the message, which can either be a simple string or a structured format.
type: string
oneOf:
- type: string
description: A plain text message.
- type: array
description: A structured message with mixed content types.
items:
type: object
oneOf:
- type: object
properties:
type:
type: string
enum:
- text
text:
type: string
required:
- type
- text
- type: object
properties:
type:
type: string
enum:
- image_url
image_url:
type: object
properties:
url:
type: string
description: The URL of the image as a plain string.
required:
- url
required:
- type
- image_url
required:
- role
- content
Expand Down

0 comments on commit f426d89

Please sign in to comment.