{"id":21599438,"url":"https://github.com/abichinger/typechat-llama-example","last_synced_at":"2025-10-14T04:34:25.953Z","repository":{"id":185424108,"uuid":"673500033","full_name":"abichinger/typechat-llama-example","owner":"abichinger","description":"Sentiment example using TypeChat with a self hosted LLM","archived":false,"fork":false,"pushed_at":"2023-08-01T20:56:45.000Z","size":239,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-23T02:51:30.453Z","etag":null,"topics":["ai","llama","llm"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/abichinger.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}},"created_at":"2023-08-01T19:11:13.000Z","updated_at":"2025-02-11T13:47:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e3cf87a-1c2c-4872-8592-e3e0782bdacd","html_url":"https://github.com/abichinger/typechat-llama-example","commit_stats":null,"previous_names":["abichinger/typechat-llama-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abichinger/typechat-llama-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abichinger%2Ftypechat-llama-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abichinger%2Ftypechat-llama-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abichinger%2Ftypechat-llama-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abichinger%2Ftypechat-llama-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abichinger","download_url":"https://codeload.github.com/abichinger/typechat-llama-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abichinger%2Ftypechat-llama-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276683978,"owners_count":25685658,"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-24T02:00:09.776Z","response_time":97,"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","llama","llm"],"created_at":"2024-11-24T18:15:21.703Z","updated_at":"2025-10-14T04:34:25.925Z","avatar_url":"https://github.com/abichinger.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeChat-llama-example - TypeChat with Llama\n\nSentiment example using [TypeChat](https://github.com/microsoft/TypeChat) with a self hosted LLM. No API keys required.\n\n![Terminalizer](./terminalizer.gif)\n\n## ✅ Requirements\n\n- Node.js version 18 or above\n- [llama-cpp-python](https://github.com/abetlen/llama-cpp-python#web-server) web server\n- Model supported by [llama.cpp](https://github.com/ggerganov/llama.cpp#description)\n\n## ⚡️ Quick start\n\n**Download a model**: e.g. llama-2-13b-chat.ggmlv3.q4_0\n\n```bash\ncurl -L \"https://huggingface.co/TheBloke/Llama-2-13B-chat-GGML/resolve/main/llama-2-13b-chat.ggmlv3.q4_0.bin\" --create-dirs -o models/llama-2-13b-chat.ggmlv3.q4_0.bin\n```\n\n**Start llama-cpp-python web server:** \n\n```bash\ndocker-compose up -d\n```\n\n**Run the example:**\n\n```bash\nyarn install\nyarn start\n```\n\n## Notes\n\n - [llama-node](https://llama-node.vercel.app/docs/start) could be used instead of the web server\n\n ## Used software components\n\n - This example is a modified version of the TypeChat [sentiment example](https://github.com/microsoft/TypeChat/tree/main/examples/sentiment) \n \u003cbr /\u003e Copyright (c) Microsoft Corporation - [MIT License](https://github.com/microsoft/TypeChat/blob/main/LICENSE)\n - [llama-cpp-python](https://github.com/abetlen/llama-cpp-python)\n \u003cbr /\u003e Copyright (c) 2023 Andrei Betlen - [MIT License](https://github.com/abetlen/llama-cpp-python/blob/main/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabichinger%2Ftypechat-llama-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabichinger%2Ftypechat-llama-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabichinger%2Ftypechat-llama-example/lists"}