Function: queryDuckDBCallbackFunction()
queryDuckDBCallbackFunction(
props
):Promise
<CustomFunctionOutputProps
<QueryDuckDBOutputResult
,QueryDuckDBOutputData
>>
Defined in: packages/duckdb/src/query.tsx:220
The callback function for the queryDuckDB function. When LLM calls the queryDuckDB function, it will be executed. The result will be returned as a response of the function call to the LLM.
Parameters
props
CallbackFunctionProps
The callback function properties
Returns
Promise
<CustomFunctionOutputProps
<QueryDuckDBOutputResult
, QueryDuckDBOutputData
>>
The result of the function