{"id":22190796,"url":"https://github.com/vishnun0027/llm-function-calling","last_synced_at":"2026-05-18T00:06:59.617Z","repository":{"id":265623378,"uuid":"896358162","full_name":"vishnun0027/LLM-Function-Calling","owner":"vishnun0027","description":"LLM function calling allows large language models (LLMs) to execute specific tasks by invoking external functions (APIs or plugins) based on user inputs, enhancing their capabilities beyond text generation.","archived":false,"fork":false,"pushed_at":"2024-12-07T04:44:08.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-29T18:56:51.881Z","etag":null,"topics":["langchain","llm","llm-function-call","tool-calling"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vishnun0027.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-30T06:24:40.000Z","updated_at":"2024-12-07T04:44:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"30f2505a-14c4-4d55-a08b-17e05cee308a","html_url":"https://github.com/vishnun0027/LLM-Function-Calling","commit_stats":null,"previous_names":["vishnun0027/llm-function-calling"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vishnun0027/LLM-Function-Calling","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishnun0027%2FLLM-Function-Calling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishnun0027%2FLLM-Function-Calling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishnun0027%2FLLM-Function-Calling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishnun0027%2FLLM-Function-Calling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vishnun0027","download_url":"https://codeload.github.com/vishnun0027/LLM-Function-Calling/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishnun0027%2FLLM-Function-Calling/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267451116,"owners_count":24089293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["langchain","llm","llm-function-call","tool-calling"],"created_at":"2024-12-02T12:12:38.689Z","updated_at":"2026-05-18T00:06:54.573Z","avatar_url":"https://github.com/vishnun0027.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Function Calling with Llama-3.2-3B via Ollama\nLLM function calling is the secret sauce that lets AI seamlessly connect with external systems to fetch data and perform tasks.\n\nThis setup enables a chat-based assistant powered by the Llama-3.2-3B model through Ollama, allowing the model to perform specific tasks(Function Calling) like fetching weather,  or performing calculations by calling dedicated functions \n\n![My Project Logo](img/Diagram.png)\n\n## How to set up and run the system\n\nInstall Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\nOnce everything is set up, you can run the system by executing the main script:\n```bash\npython src/main.py\n```\nAfter running the script, the system will be ready to take user queries. You can type questions or requests in the terminal, such as:\n\n\"What is the current time?\"\n\"What is the weather in New York?\"\n\"Calculate the area of a circle with radius 5.\"\nThe system will process the request and respond with the appropriate answer.\n\nTo stop the application, simply type exit when prompted for input.\n\n\n## The function calls are implemented and their expected behavior.\n\nThis project includes the following tools:\n\n- **Current Time**: Fetches the current time in 12-hour format.\n- **Current Date**: Retrieves the current date in YYYY-MM-DD format.\n- **Area Calculator**: Calculates the area of shapes like circles, squares, rectangles, and triangles.\n- **Math Operations**: Performs various mathematical operations like addition, subtraction, multiplication, division,squaring, and square roots.\n- **Temperature Converter**: Converts temperatures between Celsius and Fahrenheit.\n- **BMI Calculator**: Calculates the Body Mass Index (BMI).\n- **Password Generator**: Generates strong passwords with a mix of letters, digits, and special characters.\n- **Wikipedia Search**: Searches Wikipedia for a query and provides a summary.\n- **Weather Forecast**: Fetches the current weather for a specified city.\n- **Stock Price Lookup**: Retrieves the current price and currency of a given stock ticker.\n\n### test.py \na simpy pytest to test cover a variety of input scenarios call Right fuction call OR not\n\nrun\n```bash\npytest test/ -v\n```\n### response_time.py\nProvide a performance evaluation of the system, including average response time for different types of queries\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishnun0027%2Fllm-function-calling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvishnun0027%2Fllm-function-calling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishnun0027%2Fllm-function-calling/lists"}