Skip to main content

get_permitted_chatbot_tool_definitions

Function get_permitted_chatbot_tool_definitions 

Source
pub async fn get_permitted_chatbot_tool_definitions(
    conn: &mut PgConnection,
    user_context: &ChatbotTurnContext,
) -> ChatbotResult<Vec<AzureLLMToolDefinition>>
Expand description

The server tool definitions this request may offer the LLM.

A tool is offered only to a caller who passes its offer requirements, and the roles that decides are fetched at most once for the whole request. Offering is not a promise: what a call may target is decided again when it is made.