{"id":18986666,"url":"https://github.com/mudler/localai-examples","last_synced_at":"2025-04-10T04:56:41.632Z","repository":{"id":260215291,"uuid":"880452825","full_name":"mudler/LocalAI-examples","owner":"mudler","description":"LocalAI examples","archived":false,"fork":false,"pushed_at":"2025-02-08T22:28:25.000Z","size":2714,"stargazers_count":66,"open_issues_count":3,"forks_count":12,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-02T13:52:21.397Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mudler.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":"2024-10-29T18:47:34.000Z","updated_at":"2025-03-31T08:35:02.000Z","dependencies_parsed_at":"2025-03-17T14:13:01.554Z","dependency_job_id":"d886e200-0767-4fe9-b159-bf41756d26b7","html_url":"https://github.com/mudler/LocalAI-examples","commit_stats":null,"previous_names":["mudler/localai-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2FLocalAI-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2FLocalAI-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2FLocalAI-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2FLocalAI-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mudler","download_url":"https://codeload.github.com/mudler/LocalAI-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161261,"owners_count":21057554,"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-08T16:33:49.803Z","updated_at":"2025-04-10T04:56:41.608Z","avatar_url":"https://github.com/mudler.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Examples for [LocalAI](https://github.com/mudler/LocalAI)\n\n\u003e Note: These examples are provided as starting points - they may be temporarily out of date. If that happens, send us a PR!\n\n| [ChatGPT OSS alternative](https://github.com/mudler/LocalAI-examples/tree/master/chatbot-ui)                                                                                                                | [Image generation](https://localai.io/api-endpoints/index.html#image-generation)                                                                                                              |\n|------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|\n|  ![Screenshot from 2023-04-26 23-59-55](https://user-images.githubusercontent.com/2420543/234715439-98d12e03-d3ce-4f94-ab54-2b256808e05e.png)            | ![b6441997879](https://github.com/mudler/LocalAI/assets/2420543/d50af51c-51b7-4f39-b6c2-bf04c403894c)                  |\n\n|                                                                    [Telegram bot](https://github.com/mudler/LocalAI-examples/tree/master/telegram-bot)   | [Flowise](https://github.com/mudler/LocalAI-examples/tree/master/flowise)                                                                                                                     |\n|------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|\n![Screenshot from 2023-06-09 00-36-26](https://github.com/mudler/LocalAI/assets/2420543/e98b4305-fa2d-41cf-9d2f-1bb2d75ca902)   |  ![Screenshot from 2023-05-30 18-01-03](https://github.com/mudler/LocalAI/assets/2420543/02458782-0549-4131-971c-95ee56ec1af8)|    |\n\nHere is a list of projects that can easily be integrated with the LocalAI backend. \n\n\n### Projects\n\n### AutoGPT\n\n_by [@mudler](https://github.com/mudler)_\n\nThis example shows how to use AutoGPT with LocalAI.\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/autoGPT/)\n\n### Chatbot-UI\n\n_by [@mkellerman](https://github.com/mkellerman)_\n\n![Screenshot from 2023-04-26 23-59-55](https://user-images.githubusercontent.com/2420543/234715439-98d12e03-d3ce-4f94-ab54-2b256808e05e.png)\n\nThis integration shows how to use LocalAI with [mckaywrigley/chatbot-ui](https://github.com/mckaywrigley/chatbot-ui).\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/chatbot-ui/)\n\nThere is also a separate example to show how to manually setup a model: [example](https://github.com/mudler/LocalAI-examples/tree/master/chatbot-ui-manual/)\n\n### K8sGPT\n\n_by [@mudler](https://github.com/mudler)_\n\nThis example show how to use LocalAI inside Kubernetes with [k8sgpt](https://k8sgpt.ai).\n\n![Screenshot from 2023-06-19 23-58-47](https://github.com/go-skynet/go-ggml-transformers.cpp/assets/2420543/cab87409-ee68-44ae-8d53-41627fb49509)\n\n### Fine-tuning a model and convert it to gguf to use it with LocalAI\n\n_by [@mudler](https://github.com/mudler)_\n\nThis example is an e2e example on how to fine-tune a model with [axolotl](https://github.com/OpenAccess-AI-Collective/axolotl) and convert it to gguf to use it with LocalAI.\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/e2e-fine-tuning/)\n\n### Flowise\n\n_by [@mudler](https://github.com/mudler)_\n\nThis example shows how to use [FlowiseAI/Flowise](https://github.com/FlowiseAI/Flowise) with LocalAI.\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/flowise/)\n\n### Discord bot\n\n_by [@mudler](https://github.com/mudler)_\n\nRun a discord bot which lets you talk directly with a model\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/discord-bot/), or for a live demo you can talk with our bot in #random-bot in our discord server.\n\n### Langchain\n\n_by [@dave-gray101](https://github.com/dave-gray101)_\n\nA ready to use example to show e2e how to integrate LocalAI with langchain\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/langchain/)\n\n### Langchain Python\n\n_by [@mudler](https://github.com/mudler)_\n\nA ready to use example to show e2e how to integrate LocalAI with langchain\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/langchain-python/)\n\n### LocalAI functions\n\n_by [@mudler](https://github.com/mudler)_\n\nA ready to use example to show how to use OpenAI functions with LocalAI\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/functions/)\n\n### LocalAI WebUI\n\n_by [@dhruvgera](https://github.com/dhruvgera)_\n\n![image](https://user-images.githubusercontent.com/42107491/235344183-44b5967d-ba22-4331-804c-8da7004a5d35.png)\n\nA light, community-maintained web interface for LocalAI\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/localai-webui/)\n\n### How to run rwkv models\n\n_by [@mudler](https://github.com/mudler)_\n\nA full example on how to run RWKV models with LocalAI\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/rwkv/)\n\n### PrivateGPT\n\n_by [@mudler](https://github.com/mudler)_\n\nA full example on how to run PrivateGPT with LocalAI\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/privateGPT/)\n\n### Slack bot\n\n_by [@mudler](https://github.com/mudler)_\n\nRun a slack bot which lets you talk directly with a model\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/slack-bot/)\n\n### Slack bot (Question answering)\n\n_by [@mudler](https://github.com/mudler)_\n\nRun a slack bot, ideally for teams, which lets you ask questions on a documentation website, or a github repository.\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/slack-qa-bot/)\n\n### Question answering on documents with llama-index\n\n_by [@mudler](https://github.com/mudler)_\n\nShows how to integrate with [Llama-Index](https://gpt-index.readthedocs.io/en/stable/getting_started/installation.html) to enable question answering on a set of documents.\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/query_data/)\n\n### Question answering on documents with langchain and chroma\n\n_by [@mudler](https://github.com/mudler)_\n\nShows how to integrate with `Langchain` and `Chroma` to enable question answering on a set of documents.\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/langchain-chroma/)\n\n### Telegram bot\n\n_by [@mudler](https://github.com/mudler)\n\n![Screenshot from 2023-06-09 00-36-26](https://github.com/mudler/LocalAI/assets/2420543/e98b4305-fa2d-41cf-9d2f-1bb2d75ca902)\n\nUse LocalAI to power a Telegram bot assistant, with Image generation and audio support!\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/telegram-bot/)\n\n### Template for Runpod.io\n\n_by [@fHachenberg](https://github.com/fHachenberg)_\n\nAllows to run any LocalAI-compatible model as a backend on the servers of https://runpod.io\n\n[Check it out here](https://runpod.io/gsc?template=uv9mtqnrd0\u0026ref=984wlcra)\n\n### Continue\n\n_by [@gruberdev](https://github.com/gruberdev)_\n\n\u003cimg src=\"continue/img/screen.png\" width=\"600\" height=\"200\" alt=\"Screenshot\"\u003e\n\nDemonstrates how to integrate an open-source copilot alternative that enhances code analysis, completion, and improvements. This approach seamlessly integrates with any LocalAI model, offering a more user-friendly experience.\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/continue/)\n\n### Streamlit bot\n\n_by [@majoshi1](https://github.com/majoshi1)_\n\n![Screenshot](streamlit-bot/streamlit-bot.png)\n\nA chat bot made using `Streamlit` \u0026 LocalAI.\n\n[Check it out here](https://github.com/mudler/LocalAI-examples/tree/master/streamlit-bot/)\n\n## Want to contribute?\n\nCreate an issue, and put `Example: \u003cdescription\u003e` in the title! We will post your examples here.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudler%2Flocalai-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmudler%2Flocalai-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudler%2Flocalai-examples/lists"}