{"id":18836713,"url":"https://github.com/yankeexe/llm-function-calling-demo","last_synced_at":"2025-10-23T22:29:10.253Z","repository":{"id":261622510,"uuid":"884856772","full_name":"yankeexe/llm-function-calling-demo","owner":"yankeexe","description":"LLM Function Calling Demo for YouTube video 🎥","archived":false,"fork":false,"pushed_at":"2024-11-07T20:56:23.000Z","size":10,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T06:33:12.169Z","etag":null,"topics":["ai","langchain","langchain-app","langchain-python","large-language-models","llm","ollama","ollama-app","streamlit","streamlit-webapp"],"latest_commit_sha":null,"homepage":"https://youtu.be/1Wen70lzX-8","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/yankeexe.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-07T14:10:47.000Z","updated_at":"2025-02-25T08:49:07.000Z","dependencies_parsed_at":"2024-11-07T15:26:26.420Z","dependency_job_id":"86aa7735-63da-4fcb-9f54-59c338ec08a8","html_url":"https://github.com/yankeexe/llm-function-calling-demo","commit_stats":null,"previous_names":["yankeexe/llm-function-calling-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yankeexe/llm-function-calling-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeexe%2Fllm-function-calling-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeexe%2Fllm-function-calling-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeexe%2Fllm-function-calling-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeexe%2Fllm-function-calling-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yankeexe","download_url":"https://codeload.github.com/yankeexe/llm-function-calling-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeexe%2Fllm-function-calling-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273384779,"owners_count":25095962,"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-09-03T02:00:09.631Z","response_time":76,"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":["ai","langchain","langchain-app","langchain-python","large-language-models","llm","ollama","ollama-app","streamlit","streamlit-webapp"],"created_at":"2024-11-08T02:31:31.859Z","updated_at":"2025-10-23T22:29:10.153Z","avatar_url":"https://github.com/yankeexe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 𝑓 Function Calling Demo Application\n\nDemo function calling app for the YouTube video.\n\nWatch the video 👇\n\n\u003ca href=\"https://www.youtube.com/watch?v=1Wen70lzX-8\"\u003e\n\u003cimg src=\"https://i.imgur.com/RK2ckBX.png\" width=\"800\"\u003e\n\u003c/a\u003e\n\n## 🔨 Setting up locally\n\nCreate virtualenv and install dependencies.\n\nThis step is not required if you are running in docker.\n\n```sh\nmake setup\n```\n\n## ⚡️ Running the application\n\nMake sure you have [Ollama](https://ollama.com/download) installed and running on your machine.\n\nBy default, the app uses [mistral-nemo](https://ollama.com/library/mistral-nemo) model but you can use [Llama3.1](https://ollama.com/library/llama3.1) or [Llama3.2](https://ollama.com/library/llama3.2).\n\nDownload these models before running the application. Update [app.py](https://github.com/yankeexe/llm-function-calling-demo/blob/55b73c6947f05d460f284d92136285b4e1d233bd/app.py#L66) to change the model if necessary.\n\n### Running locally\n\n```sh\nmake run\n```\n\n### Running in a container\n\n```sh\nmake run-docker\n```\n\u003cdetails\u003e\n\u003csummary\u003e⚠️ Does not work with Linux 🐧\u003c/summary\u003e\n\nApplication running inside of the container uses a special DNS name `host.docker.internal` to communicate with Ollama running on the host machine.\n\nHowever, this DNS name is not resolvable in Linux.\n\u003c/details\u003e\n\n## ✨ Linters and Formatters\n\nCheck for linting rule violations:\n\n```sh\nmake check\n```\n\nAuto-fix linting violations:\n\n```sh\nmake fix\n```\n\n## 🤸‍♀️ Getting Help\n\n```sh\nmake\n\n# OR\n\nmake help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyankeexe%2Fllm-function-calling-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyankeexe%2Fllm-function-calling-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyankeexe%2Fllm-function-calling-demo/lists"}