docs: complete thread

This commit is contained in:
hieu-jan 2023-11-23 10:56:12 +09:00
parent 7a9cd83e80
commit 3162e66e46

View File

@ -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:
@ -353,6 +354,34 @@ paths:
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: