docs: update threads.yaml
This commit is contained in:
parent
a34a630ee5
commit
f851ca0587
@ -6,18 +6,18 @@ components:
|
|||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
description: |
|
description: |
|
||||||
"The identifier of the thread, defaults to foldername."
|
The identifier of the thread, defaults to foldername.
|
||||||
example: thread_....
|
example: thread_....
|
||||||
object:
|
object:
|
||||||
type: string
|
type: string
|
||||||
description: |
|
description: |
|
||||||
"Type of the object, defaults to thread."
|
Type of the object, defaults to thread.
|
||||||
example: thread
|
example: thread
|
||||||
title:
|
title:
|
||||||
type: string
|
type: string
|
||||||
description: >
|
description: >
|
||||||
"A brief summary or description of the thread, defaults to an empty
|
A brief summary or description of the thread, defaults to an empty
|
||||||
string."
|
string.
|
||||||
example: funny physics joke
|
example: funny physics joke
|
||||||
assistants:
|
assistants:
|
||||||
type: array
|
type: array
|
||||||
@ -50,13 +50,13 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
description: >
|
description: >
|
||||||
"Unix timestamp representing the creation time of the thread,
|
Unix timestamp representing the creation time of the thread,
|
||||||
defaults to file creation time."
|
defaults to file creation time.
|
||||||
example: 1231231
|
example: 1231231
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
description: |
|
description: |
|
||||||
"Metadata associated with the thread, defaults to an empty object."
|
Metadata associated with the thread, defaults to an empty object.
|
||||||
example: {}
|
example: {}
|
||||||
GetThreadResponse:
|
GetThreadResponse:
|
||||||
type: object
|
type: object
|
||||||
@ -100,7 +100,7 @@ components:
|
|||||||
example: thread_abc123
|
example: thread_abc123
|
||||||
object:
|
object:
|
||||||
type: string
|
type: string
|
||||||
description: "Type of the object, indicating it's a thread."
|
description: Type of the object, indicating it's a thread.
|
||||||
example: thread
|
example: thread
|
||||||
created_at:
|
created_at:
|
||||||
type: integer
|
type: integer
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user