pub async fn get_chatbot_tool(
conn: &mut PgConnection,
fn_name: &str,
_fn_args: &str,
user_context: &ChatbotUserContext,
) -> ChatbotResult<impl ChatbotTool>Expand description
Create a chatbot tool with LLM-provided arguments by matching the tool call made by the LLM. User context and db connection are needed for some tools.