{"id":20088221,"url":"https://github.com/alexistm/llm_ros","last_synced_at":"2025-09-05T17:37:07.254Z","repository":{"id":261572191,"uuid":"884702334","full_name":"AlexisTM/llm_ros","owner":"AlexisTM","description":"Llm interface to ROS 2","archived":false,"fork":false,"pushed_at":"2024-11-07T09:38:49.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T02:30:54.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/AlexisTM.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-07T08:33:27.000Z","updated_at":"2024-11-13T07:59:52.000Z","dependencies_parsed_at":"2024-11-07T09:39:11.600Z","dependency_job_id":null,"html_url":"https://github.com/AlexisTM/llm_ros","commit_stats":null,"previous_names":["alexistm/llm_ros"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexisTM%2Fllm_ros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexisTM%2Fllm_ros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexisTM%2Fllm_ros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexisTM%2Fllm_ros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexisTM","download_url":"https://codeload.github.com/AlexisTM/llm_ros/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241523938,"owners_count":19976424,"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","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":[],"created_at":"2024-11-13T16:12:51.959Z","updated_at":"2025-03-02T14:42:58.432Z","avatar_url":"https://github.com/AlexisTM.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"LLM ROS 2 interface\n==================\n\nThis package is providing an interface to simplify access to LLMs for ROS 2. The initial implementation is to use a local Ollama instance. See [this page](https://ollama.com/) to install your own Ollama instance.\n\nQuick start\n--------------\n\n```bash\n# Install Ollama\ncurl -fsSL https://ollama.com/install.sh | sh\n# Add a network\nollama pull llama3.2\n\n# Build this package\nmkdir -p ws \u0026\u0026 cd ws\ngit clone https://github.com/AlexisTM/llm_ros\ncolcon build\n\n# Run the node\nros2 run llm_ros ollama_node\nros2 service call /llm/prompt llm_msgs/srv/Prompt '{network: \"llama3.2\", prompt: \"Are LLMs useful in robotics?\"}'\n```\n\nRemote server\n-------------\n\nIf you use a remote instance, you will need to enable the server\nto listen to the network. Add the following to the `.bashrc` and restart Ollama:\n\n```bash\nexport OLLAMA_HOST=0.0.0.0:11434`\n```\n\nAnd run the node with:\n\n```bash\nros2 run llm_ros ollama_node --ros-args -p ip_address:=ollama_ip\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexistm%2Fllm_ros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexistm%2Fllm_ros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexistm%2Fllm_ros/lists"}