Gleo Interface defines how Gleo AI and third-party apps should interact with each other to handle users’ voice commands in a vehicle.
Gleo Interface is based on a function calling approach, where an LLM generates function calls defined by an app, and then generates the final response based on the app's response.
While it is fundamentally similar to OpenAI's function calling mechanism, the schema includes additional modifications and extensions to support Android applications.
To integrate with Gleo AI, a third-party app must first register an App Schema, a JSON file that defines which functions Gleo AI can call and how those calls should be executed.
Using Gleo Interface, Gleo AI can invoke an app using a Gleo Action and receive its response through a Callback.
The following diagram shows an example of how a music app interacts with Gleo AI using a Gleo Action and Callback:
The current guideline will be continuously updated as development progresses.