- Function Name: Specifies the action to be performed (e.g.,
get_weather
,book_flight
). - Parameters: Contains the structured input needed for the function (e.g., city name, date, or user details).
- The generated function call adheres to the required format or syntax.
- The function call accurately captures the intent of the input.
- The output produced by the function aligns with the expected result.
a. Using Interface
Required Parameters
- Input: The input column provided to the LLM that triggers the function call.
- Output: Column which has the resulting function call or response generated by the LLM.
b. Using SDK
Export your API key and Secret key into your environment variables.