llm_chat_with_tool_call_output
llm_chat_with_tool_call_output: Chat with Tool Integration
llm_chat_with_tool_call_output: Chat with Tool IntegrationAllows the language model to decide which tools to use based on the conversation context.
def llm_chat_with_tool_call_output(
agent_name: str,
messages: List[Dict[str, Any]],
tools: List[Dict[str, Any]],
base_url: str = aios_kernel_url,
llms: List[Dict[str, Any]] = None
) -> LLMResponseParameters:
agent_name: Identifier for the agent making the requestmessages: List of message dictionariestools: List of available tools and their specificationsbase_url: API endpoint URLllms: Optional list of LLM configurations
Returns:
LLMResponseobject containing tool calls made by the model
Example:
Last updated