docs: update assistant object
This commit is contained in:
parent
c4d78f7cc6
commit
87484e8428
@ -3,10 +3,6 @@ components:
|
|||||||
AssistantObject:
|
AssistantObject:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
avatar:
|
|
||||||
type: string
|
|
||||||
description: "URL of the assistant's avatar. Jan-specific property."
|
|
||||||
example: "https://lala.png"
|
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
description: "The identifier of the assistant."
|
description: "The identifier of the assistant."
|
||||||
@ -23,6 +19,7 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
description: "Unix timestamp representing the creation time of the assistant."
|
description: "Unix timestamp representing the creation time of the assistant."
|
||||||
|
example: 1698984975
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
description: "Name of the assistant."
|
description: "Name of the assistant."
|
||||||
@ -30,6 +27,11 @@ components:
|
|||||||
description:
|
description:
|
||||||
type: string
|
type: string
|
||||||
description: "Description of the assistant. Can be null."
|
description: "Description of the assistant. Can be null."
|
||||||
|
example: null
|
||||||
|
avatar:
|
||||||
|
type: string
|
||||||
|
description: "URL of the assistant's avatar. Jan-specific property."
|
||||||
|
example: "https://pic.png"
|
||||||
models:
|
models:
|
||||||
type: array
|
type: array
|
||||||
description: "List of models associated with the assistant. Jan-specific property."
|
description: "List of models associated with the assistant. Jan-specific property."
|
||||||
@ -38,7 +40,11 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
model_id:
|
model_id:
|
||||||
type: string
|
type: string
|
||||||
# Additional properties for models can be added here
|
example: model_0
|
||||||
|
instructions:
|
||||||
|
type: string
|
||||||
|
description: "A system prompt for the assistant"
|
||||||
|
example: Be concise
|
||||||
events:
|
events:
|
||||||
type: object
|
type: object
|
||||||
description: "Event subscription settings for the assistant."
|
description: "Event subscription settings for the assistant."
|
||||||
@ -55,10 +61,6 @@ components:
|
|||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
description: "Metadata associated with the assistant."
|
description: "Metadata associated with the assistant."
|
||||||
required:
|
|
||||||
- name
|
|
||||||
- models
|
|
||||||
- events
|
|
||||||
|
|
||||||
ListAssistantsResponse:
|
ListAssistantsResponse:
|
||||||
type: object
|
type: object
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user