#Can you use assistants for one-off completions?
1 messages · Page 1 of 1 (latest)
you can - Assistants are really just an abstraction layer around the completions API (as far as I understand it) - but your question seems self-contradictory: if it's a one-off completion what context preservation could there be?
The assistants API doesn't necessarily need a conversation history, you can create a thread for every "one off completion", this shouldn't be an issue as far as I know.
Thank you guys!
Maybe I used the wrong term. I want to get one answer at a time, but not build a chat UI
I guess under the hood it still behaves like a chat
yes I think that's correct. Sounds like you can use either approach, but the Assistants approach is probably overkill for your situation (there's a little more coding involved to orchestrate the moving parts vs the chat completions API)
The assistants API does offer a lot of tools that the completions API doesn't offer
Although the completions API would be the practical choice
👀