jan icon indicating copy to clipboard operation
jan copied to clipboard

API feature additions

Open aidec opened this issue 11 months ago • 2 comments

The API can create assistants and threads, but there seems to be no API available to use them.

How to use specified assistants and threads to chat in the API?

aidec avatar Mar 20 '24 17:03 aidec

Hi @aidec, While the API can generate assistants and threads, there doesn't seem to be an available API to utilize them directly. However, you can achieve the desired functionality by generating a chat response using chat completion and then posting it into the thread message. https://jan.ai/api-reference/#tag/chat/post/chat/completions

Van-QA avatar Mar 21 '24 07:03 Van-QA

thanks for your reply

I want to try and see how to apply it

aidec avatar Mar 22 '24 03:03 aidec

Feel free to reopen this if any concern 🙏

Van-QA avatar Apr 16 '24 03:04 Van-QA