docs: complete thread
This commit is contained in:
parent
7a9cd83e80
commit
3162e66e46
@ -327,6 +327,7 @@ paths:
|
|||||||
"content": "How does AI work? Explain it in simple terms."
|
"content": "How does AI work? Explain it in simple terms."
|
||||||
}]
|
}]
|
||||||
}'
|
}'
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
operationId: deleteThread
|
operationId: deleteThread
|
||||||
tags:
|
tags:
|
||||||
@ -352,7 +353,35 @@ paths:
|
|||||||
- lang: "curl"
|
- lang: "curl"
|
||||||
source: |
|
source: |
|
||||||
curl -X DELETE {JAN_URL}/v1/threads/{thread_id}
|
curl -X DELETE {JAN_URL}/v1/threads/{thread_id}
|
||||||
|
|
||||||
|
|
||||||
|
/threads/{thread_id}/assistants:
|
||||||
|
get:
|
||||||
|
operationId: getThreadAssistants
|
||||||
|
tags:
|
||||||
|
- Threads
|
||||||
|
summary: Get Thread.Assistants
|
||||||
|
description:
|
||||||
|
- Can achieve this goal by calling Get thread API
|
||||||
|
|
||||||
|
/threads/{thread_id}/assistants/{assistants_id}:
|
||||||
|
post:
|
||||||
|
operationId: postThreadAssistants
|
||||||
|
tags:
|
||||||
|
- Threads
|
||||||
|
summary: Modify Thread.Assistants
|
||||||
|
description:
|
||||||
|
- Can achieve this goal by calling Modify Assistant API with thread.assistant[]
|
||||||
|
|
||||||
|
/threads/{thread_id}/:
|
||||||
|
get:
|
||||||
|
operationId: listThreadMessage
|
||||||
|
tags:
|
||||||
|
- Threads
|
||||||
|
summary: List Thread.Messages
|
||||||
|
description:
|
||||||
|
- Can achieve this goal by calling Get Thread API
|
||||||
|
|
||||||
### MESSAGES
|
### MESSAGES
|
||||||
/threads/{thread_id}/messages:
|
/threads/{thread_id}/messages:
|
||||||
get:
|
get:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user