{"id":20957289,"url":"https://github.com/llmapi-io/llmapi-cli","last_synced_at":"2025-05-14T06:31:13.083Z","repository":{"id":145110006,"uuid":"613666537","full_name":"llmapi-io/llmapi-cli","owner":"llmapi-io","description":"Command-line client and python development library for accessing LLM's OpenAPI :computer:","archived":false,"fork":false,"pushed_at":"2023-04-05T15:09:39.000Z","size":45,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T03:02:46.989Z","etag":null,"topics":["chatbot","chatgpt","cli","gpt-3","large-language-models","llama","llm","openai","openapi","welm"],"latest_commit_sha":null,"homepage":"https://llmapi.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/llmapi-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-03-14T02:51:55.000Z","updated_at":"2025-02-04T16:28:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"58fb390d-66b9-4e38-a87b-1ff74b5ac299","html_url":"https://github.com/llmapi-io/llmapi-cli","commit_stats":{"total_commits":4,"total_committers":3,"mean_commits":"1.3333333333333333","dds":0.5,"last_synced_commit":"50e84945d639c64c279ff2729710aa9f809160e0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llmapi-io%2Fllmapi-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llmapi-io%2Fllmapi-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llmapi-io%2Fllmapi-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llmapi-io%2Fllmapi-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/llmapi-io","download_url":"https://codeload.github.com/llmapi-io/llmapi-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253501857,"owners_count":21918327,"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":["chatbot","chatgpt","cli","gpt-3","large-language-models","llama","llm","openai","openapi","welm"],"created_at":"2024-11-19T01:30:54.678Z","updated_at":"2025-05-14T06:31:12.837Z","avatar_url":"https://github.com/llmapi-io.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"180\" src=\"https://avatars.githubusercontent.com/u/127706964?s=200\u0026v=4\" alt=\"LLMApi Cli\"\u003e\n  \u003ch1 align=\"center\"\u003eLLMApi Cli\u003c/h1\u003e\n  \u003cp align=\"center\"\u003eTalk to LLMs like ChatGPT in command line\u003c/p\u003e\n\n\u003c/p\u003e\n\n# Introduction\n\n[中文文档](README.zh.md)\n\n`llmapi_cli` is a command-line tool that can directly chat with `chatgpt`/`gpt3` and more large language models(LLM), based on the `llmapi-server` interface.\nAt the same time llmapi_cli also provides Python module (`LLMClient`).\n\n\u003e For more information visit: [llmapi.io](https://llmapi.io)\n\n## Install\n\n```bash\n# install from pypi\npython3 -m pip install llmapi_cli\n```\n\n```bash\n# install locally\npython3 setup.py install\n```\n\n## Usage\n\n```bash\n# The first time you use this command,\n# you need to specify parameters, this \n# will be cached after successful connection.\n#\n# If you use your own llmapi-server:\nllmapi_cli --host='http://127.0.0.1:5050' --bot=mock\n#\n# If you use api.llmapi.io (which is default host):\nllmapi_cli --bot=mock --apikey='your apikey on llmapi.io'\n```\n\n```bash\n# You can directly use this command again:\nllmapi_cli\n#\n# Or change the bot type:\nllmapi_cli --bot=gpt3\n#\n# Or redesignate params like first time.\n```\n\n### Screenshot\n![image](imgs/llmapi_cli_demo.png)\n\n# Currently supported bot type\n\n\u003e View [llmapi-server](https://github.com/llmapi-io/llmapi-server) for more information.\n\nWarning: Currently for testing only\n\n - `chatgpt`: openai's official ChatGPT,[see more](https://openai.com/blog/introducing-chatgpt-and-whisper-apis)\n - `gpt3`: openai's official GPT-3\n - `welm`: Tencent weixin's llm,[see more](https://welm.weixin.qq.com/docs/introduction/)\n - `newbing`: microsoft's new bing chat, `UNOFFICIAL INTERFACE`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllmapi-io%2Fllmapi-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllmapi-io%2Fllmapi-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllmapi-io%2Fllmapi-cli/lists"}