#Completions API

1 messages · Page 1 of 1 (latest)

void latch
#

How do I force the completions API to ONLY use tools? If no tools match the user input, I do not want the API to do a normal completion, I just want it to return right away.

stuck swallowBOT
#

Hi @void latch. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. The extracts provided do not contain specific information on how to force the Completions API to only use tools and return right away if no tools match the user input.

However, you can refer to the OpenAI documentation (https://platform.openai.com/docs) or the OpenAI GitHub (https://github.com/openai) for more detailed information and examples on how to use the Completions API and tools.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: