Skip to content

Update message attachment spec #276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tags:
- name: Assistants
description: Build Assistants that can call models and use tools.
- name: Audio
description: Learn how to turn audio into text or text into audio.
description: Turn audio into text or text into audio.
- name: Chat
description: Given a list of messages comprising a conversation, the model will return a response.
- name: Completions
Expand Down Expand Up @@ -7692,9 +7692,9 @@ components:
required:
- type
- function

ParallelToolCalls:
description: Whether to enable [parallel function calling](/docs/guides/function-calling) during tool use.
description: Whether to enable [parallel function calling](/docs/guides/function-calling/parallel-function-calling) during tool use.
type: boolean
default: true

Expand Down Expand Up @@ -10257,6 +10257,17 @@ components:
required:
- type

AssistantToolsFileSearchTypeOnly:
type: object
title: FileSearch tool
properties:
type:
type: string
description: "The type of tool being defined: `file_search`"
enum: ["file_search"]
required:
- type

AssistantToolsFunction:
type: object
title: Function tool
Expand Down Expand Up @@ -11225,7 +11236,7 @@ components:
items:
oneOf:
- $ref: "#/components/schemas/AssistantToolsCode"
- $ref: "#/components/schemas/AssistantToolsFileSearch"
- $ref: "#/components/schemas/AssistantToolsFileSearchTypeOnly"
x-oaiExpandable: true
description: A list of files attached to the message, and the tools they were added to.
nullable: true
Expand Down Expand Up @@ -11370,7 +11381,7 @@ components:
items:
oneOf:
- $ref: "#/components/schemas/AssistantToolsCode"
- $ref: "#/components/schemas/AssistantToolsFileSearch"
- $ref: "#/components/schemas/AssistantToolsFileSearchTypeOnly"
x-oaiExpandable: true
description: A list of files attached to the message, and the tools they should be added to.
required:
Expand Down
Loading