Connect Gemini API to the internet (Function Calling Tutorial)

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 4

  • @user-td4pf6rr2t
    @user-td4pf6rr2t Месяц назад

    The alert for when query to Gemini and not having access to information after cut off date - like error signal and the screen flashed red, Very cool idea. +1
    I would suggest using send_message instead of generate content with tool call and then using generate content at the end to enable break out loop.

    • @serpapi
      @serpapi  Месяц назад

      Thank you very much! I'll look into your suggestion :)

  • @KashishVarshney-cr7iz
    @KashishVarshney-cr7iz 11 дней назад

    this is not the correct approach what if query needs parallel function call? In this case, this code will fail execution

    • @serpapi
      @serpapi  6 дней назад

      Thank you for your comment, feel free to share an implementation for parallel function calling.