Skip to content

Function calling

Function calling lets the AI do things, not only talk. The model asks to run a function (for example "get order status"), OG AI Core runs it, and the answer goes back to the model.

What you can connect

Enable functions for a chatbot

  1. Open the chatbot's settings and find Functions.
  2. Tick only the functions it needs.
  3. Test in the live preview.

Safety rules

  • Give a chatbot the fewest functions possible.
  • Keep anything that reads private data for logged-in users only.
  • Functions run with the permissions you set. Check what each one can change.
  • The AI is limited in how many call rounds it can chain in one reply, to stop loops.

Writing your own

See Use function calling.