This tutorial has two parts. In the first part we use AutoGen without function calling. In the Second part we use AutoGen with function calling and see it is more reliable.
01:00 Install AutoGen library pyautogen using pip
01:45 Create OAI_CONFIG_LIST to store the configuration used by AutoGen
02:27 Create AutoGen AssistentAgent and UserProxyAgent
05:12 Create get_stock_price function using Yahoo Finance yfinance
06:00 Define custom_function_list for AutoGen
06:45 Add custom_function list to functions of AutoGen AssistentAgent
06:54 Assign get_stock_price to function_map of AutoGen UserProxyAgent
07:43 See suggested function call get_stock_price used by AutoGen
Using AutoGen function calls are more reliable than letting AutoGen suggest and try each time new solutions. It saves time, tokens and cost.
In questa pagina del sito puoi guardare il video online AutoGen function calling - A more reliable Solution della durata di ore minuti seconda in buona qualità , che l'utente ha caricato AI Agents by BUSINESS24 AI 05 novembre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,289 volte e gli è piaciuto 108 spettatori. Buona visione!