{"id":8653,"date":"2024-05-03T10:36:41","date_gmt":"2024-05-03T13:36:41","guid":{"rendered":"https:\/\/nocodestartup.io\/?p=8653"},"modified":"2025-08-15T00:50:53","modified_gmt":"2025-08-15T03:50:53","slug":"function-calling","status":"publish","type":"post","link":"https:\/\/nocodestartup.io\/en\/function-calling\/","title":{"rendered":"Function Calling: Unlock the Power of AI in Your Apps"},"content":{"rendered":"<p class=\"yoast-reading-time__wrapper\"><span class=\"yoast-reading-time__icon\"><\/span><span class=\"yoast-reading-time__descriptive-text\">Estimated reading time:  <\/span><span class=\"yoast-reading-time__reading-time\">5<\/span><span class=\"yoast-reading-time__time-unit\"> minutes<\/span><\/p>\n\n\n\n<p>Did you know that it is possible to supercharge your applications with the power of <a href=\"https:\/\/nocodestartup.io\/en\/how-to-create-ai-applications-without-knowing-how-to-program-2\/\">Artificial intelligence<\/a>? In this article, we&#039;ll explore how Function Calling can open up a world of possibilities, from sending emails to accessing personal databases and fetching real-time data. Get ready to find out <a href=\"https:\/\/go.nocodestartup.io\/campaign\/nocodeia-youtube?utm_source=blog&amp;utm_campaign=perpetuo&amp;utm_medium=social&amp;utm_term=post&amp;utm_content=functioncalling\">how to integrate AI<\/a> in your projects and unlock the full potential of your creations.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Boosting Your App with AI | Function Calling + Whatsapp + OpenAI\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/Oo5E_wgvtjE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#h-limitacoes-dos-modelos-llm\" >Limitations of LLM models<\/a><\/li><li><a href=\"#h-definindo-function-calling\" >Defining Function Calling<\/a><\/li><li><a href=\"#h-gpts\" >GPTs<\/a><\/li><li><a href=\"#h-openai-api-e-assistentes\" >OpenAI API and wizards<\/a><\/li><li><a href=\"#h-google-gemini\" >Google Gemini<\/a><\/li><li><a href=\"#h-anthropic-claude\" >Anthropic Claude<\/a><\/li><li><a href=\"#h-exemplo-whatsapp-com-function-calling\" >Whatsapp example with Function Calling<\/a><\/li><li><a href=\"#h-passo-a-passo-function-calling\" >Step by Step \u2013 Function Calling<\/a><\/li><\/nav><\/ul><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-limitacoes-dos-modelos-llm\">Limitations of LLM models<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-4.png\" alt=\"Limitations of llm models for function calling\" class=\"wp-image-8662\" srcset=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-4.png 1280w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-4-1024x576.png 1024w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-4-768x432.png 768w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-4-18x10.png 18w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>These models often face challenges in accessing up-to-date data, performing real-time queries, and performing specific actions. For example, the difficulty in accessing information such as the current weather in a certain city or the current currency exchange rate. Understanding these limitations is crucial to understanding the need to use functions to overcome such obstacles and unlock a wide range of possibilities in integrating AI into applications.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-definindo-function-calling\">Defining Function Calling<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"563\" src=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-1024x563.png\" alt=\"image showing definition of function calling\" class=\"wp-image-8655\" srcset=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-1024x563.png 1024w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-768x422.png 768w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-1536x844.png 1536w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-18x10.png 18w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image.png 1900w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Function Calling is the ability to call a function and manipulate structured data from natural language. For example, when sending text to GPT, it determines whether the question requires a function call. Then, an API is triggered to execute the function and return the response to the user. This allows the conversion of unstructured data into structured data, enabling the execution of specific functions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-gpts\">GPTs<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-3.png\" alt=\"image showing gpts from chatgpt\" class=\"wp-image-8661\" srcset=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-3.png 1280w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-3-1024x576.png 1024w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-3-768x432.png 768w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-3-18x10.png 18w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Firstly, use a GPT from <a previewlistener=\"true\" href=\"https:\/\/openai.com\/\" rel=\"nofollow noopener\" target=\"_blank\">OpenAI<\/a> (premium plan required) would be the easiest option to perform your functions, visually and using a tool and UI that we are already used to, such as chatGPT.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-openai-api-e-assistentes\">OpenAI API and wizards<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-7.png\" alt=\"image showing chatgpt API and assistants\" class=\"wp-image-8665\" srcset=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-7.png 1280w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-7-1024x576.png 1024w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-7-768x432.png 768w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-7-18x10.png 18w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Likewise, a second and third option would also be using the OpenAI ecosystem, as it also offers the ability to make API calls through chat completion, allowing data to be obtained through functions. Additionally, the platform offers the creation of personalized assistants, such as a travel advisor, providing a variety of functionalities similar to creating GPTs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-google-gemini\">Google Gemini<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-6.png\" alt=\"google gemini interface\" class=\"wp-image-8664\" srcset=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-6.png 1280w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-6-1024x576.png 1024w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-6-768x432.png 768w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-6-18x10.png 18w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Likewise, Google Gemini also offers function execution, with explanatory videos available in the documentation to guide users on how to perform function calls. The platform follows a standard in the JSON file to pass the instructions necessary to execute the functions, providing a clear and standardized approach to using the available features.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-anthropic-claude\">Anthropic Claude<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-5.png\" alt=\"anthropic claude interface\" class=\"wp-image-8663\" srcset=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-5.png 1280w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-5-1024x576.png 1024w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-5-768x432.png 768w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-5-18x10.png 18w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Lastly, Claude from Anthropic is another tool that allows us to do function calling. In our training, we offer a detailed approach to how to use Anthropic Claude to unlock the potential of functions in a meaningful way.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-exemplo-whatsapp-com-function-calling\">Whatsapp example with Function Calling<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-2.png\" alt=\"example of an application with WhatsApp integrated with AI with calling function\" class=\"wp-image-8660\" srcset=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-2.png 1280w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-2-1024x576.png 1024w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-2-768x432.png 768w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-2-18x10.png 18w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>So, a practical example of the power of enabling functions is the integration of WhatsApp with running functions in a personal database, such as a spreadsheet. Immediately after sending a question via WhatsApp, such as the amount spent on education in a given month, it is possible to activate an action to access and consult the database, providing relevant information. This integration is carried out through tools such as Make and Integromat, which allow the connection between applications and the activation of Function Calling effectively.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-passo-a-passo-function-calling\">Step by Step \u2013 Function Calling<\/h2>\n\n\n\n<p>Finally, do you want to see a step-by-step guide with a detailed explanation of how function calling works and how it can help you in your application? Watch our full video on YouTube.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"566\" src=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-1-1024x566.png\" alt=\"image showing a step by step of function calling\" class=\"wp-image-8656\" style=\"width:840px;height:auto\" srcset=\"https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-1-1024x566.png 1024w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-1-768x424.png 768w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-1-1536x849.png 1536w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-1-18x10.png 18w, https:\/\/nocodestartup.io\/wp-content\/uploads\/2024\/05\/image-1.png 1873w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>","protected":false},"excerpt":{"rendered":"<p>Did you know that it is possible to boost your applications with the power of Artificial Intelligence? In this article, we&#039;ll explore how Function Calling can open up a world of possibilities, from sending emails to accessing personal databases and fetching real-time data. Get ready to discover how to integrate AI into your projects and unlock all [\u2026]<\/p>","protected":false},"author":4,"featured_media":8659,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"post_folder":[],"class_list":["post-8653","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-no-code"],"acf":[],"_links":{"self":[{"href":"https:\/\/nocodestartup.io\/en\/wp-json\/wp\/v2\/posts\/8653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nocodestartup.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nocodestartup.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nocodestartup.io\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/nocodestartup.io\/en\/wp-json\/wp\/v2\/comments?post=8653"}],"version-history":[{"count":0,"href":"https:\/\/nocodestartup.io\/en\/wp-json\/wp\/v2\/posts\/8653\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nocodestartup.io\/en\/wp-json\/wp\/v2\/media\/8659"}],"wp:attachment":[{"href":"https:\/\/nocodestartup.io\/en\/wp-json\/wp\/v2\/media?parent=8653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nocodestartup.io\/en\/wp-json\/wp\/v2\/categories?post=8653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nocodestartup.io\/en\/wp-json\/wp\/v2\/tags?post=8653"},{"taxonomy":"post_folder","embeddable":true,"href":"https:\/\/nocodestartup.io\/en\/wp-json\/wp\/v2\/post_folder?post=8653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}