2023-04-27 06:18:18 +02:00
# Examples
2023-08-06 23:07:06 +02:00
| [ChatGPT OSS alternative ](https://github.com/go-skynet/LocalAI/tree/master/examples/chatbot-ui ) | [Image generation ](https://localai.io/api-endpoints/index.html#image-generation ) |
|------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|
|  |  |
| [Telegram bot ](https://github.com/go-skynet/LocalAI/tree/master/examples/telegram-bot ) | [Flowise ](https://github.com/go-skynet/LocalAI/tree/master/examples/flowise ) |
|------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|
 | | |
2023-04-27 06:18:18 +02:00
Here is a list of projects that can easily be integrated with the LocalAI backend.
2023-08-06 23:07:06 +02:00
2023-05-06 19:15:22 +02:00
### Projects
2023-05-27 19:42:24 +02:00
### AutoGPT
_by [@mudler ](https://github.com/mudler )_
This example shows how to use AutoGPT with LocalAI.
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/autoGPT/ )
2023-05-06 19:15:22 +02:00
### Chatbot-UI
_by [@mkellerman ](https://github.com/mkellerman )_

This integration shows how to use LocalAI with [mckaywrigley/chatbot-ui ](https://github.com/mckaywrigley/chatbot-ui ).
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/chatbot-ui/ )
2023-05-30 18:34:43 +02:00
There is also a separate example to show how to manually setup a model: [example ](https://github.com/go-skynet/LocalAI/tree/master/examples/chatbot-ui-manual/ )
2023-06-20 00:11:01 +02:00
### K8sGPT
_by [@mudler ](https://github.com/mudler )_
This example show how to use LocalAI inside Kubernetes with [k8sgpt ](https://k8sgpt.ai ).

2023-12-01 19:11:45 +01:00
### Fine-tuning a model and convert it to gguf to use it with LocalAI
_by [@mudler ](https://github.com/mudler )_
This 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.
[Check it out here ](https://github.com/mudler/LocalAI/tree/master/examples/e2e-fine-tuning/ )
2023-05-30 18:29:28 +02:00
### Flowise
_by [@mudler ](https://github.com/mudler )_
This example shows how to use [FlowiseAI/Flowise ](https://github.com/FlowiseAI/Flowise ) with LocalAI.
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/flowise/ )
2023-05-06 19:15:22 +02:00
### Discord bot
_by [@mudler ](https://github.com/mudler )_
Run a discord bot which lets you talk directly with a model
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/discord-bot/ ), or for a live demo you can talk with our bot in #random -bot in our discord server.
### Langchain
_by [@dave-gray101 ](https://github.com/dave-gray101 )_
A ready to use example to show e2e how to integrate LocalAI with langchain
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/langchain/ )
### Langchain Python
_by [@mudler ](https://github.com/mudler )_
A ready to use example to show e2e how to integrate LocalAI with langchain
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/langchain-python/ )
2023-07-18 00:04:21 +02:00
### LocalAI functions
_by [@mudler ](https://github.com/mudler )_
A ready to use example to show how to use OpenAI functions with LocalAI
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/functions/ )
2023-05-06 19:15:22 +02:00
### LocalAI WebUI
_by [@dhruvgera ](https://github.com/dhruvgera )_

A light, community-maintained web interface for LocalAI
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/localai-webui/ )
### How to run rwkv models
_by [@mudler ](https://github.com/mudler )_
A full example on how to run RWKV models with LocalAI
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/rwkv/ )
2023-05-23 10:32:34 +02:00
### PrivateGPT
_by [@mudler ](https://github.com/mudler )_
A full example on how to run PrivateGPT with LocalAI
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/privateGPT/ )
2023-05-06 19:15:22 +02:00
### Slack bot
_by [@mudler ](https://github.com/mudler )_
Run a slack bot which lets you talk directly with a model
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/slack-bot/ )
2023-06-22 18:07:15 +02:00
### Slack bot (Question answering)
_by [@mudler ](https://github.com/mudler )_
Run a slack bot, ideally for teams, which lets you ask questions on a documentation website, or a github repository.
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/slack-qa-bot/ )
2023-05-12 22:20:07 +02:00
### Question answering on documents with llama-index
2023-05-06 19:15:22 +02:00
_by [@mudler ](https://github.com/mudler )_
Shows 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.
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/query_data/ )
2023-04-27 06:18:18 +02:00
2023-05-12 22:20:07 +02:00
### Question answering on documents with langchain and chroma
_by [@mudler ](https://github.com/mudler )_
Shows how to integrate with `Langchain` and `Chroma` to enable question answering on a set of documents.
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/langchain-chroma/ )
2023-06-09 00:45:44 +02:00
### Telegram bot
_by [@mudler ](https://github.com/mudler )

Use LocalAI to power a Telegram bot assistant, with Image generation and audio support!
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/telegram-bot/ )
2023-05-07 10:58:15 +02:00
### Template for Runpod.io
_by [@fHachenberg ](https://github.com/fHachenberg )_
Allows to run any LocalAI-compatible model as a backend on the servers of https://runpod.io
[Check it out here ](https://runpod.io/gsc?template=uv9mtqnrd0&ref=984wlcra )
2023-08-22 13:46:45 -03:00
### Continue
_by [@gruberdev ](https://github.com/gruberdev )_
2023-09-17 02:33:23 -04:00
< img src = "continue/img/screen.png" width = "600" height = "200" alt = "Screenshot" >
2023-08-22 13:46:45 -03:00
Demonstrates 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.
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/continue/ )
2023-09-17 02:33:23 -04:00
### Streamlit bot
_by [@majoshi1 ](https://github.com/majoshi1 )_

A chat bot made using `Streamlit` & LocalAI.
[Check it out here ](https://github.com/go-skynet/LocalAI/tree/master/examples/streamlit-bot/ )
2023-04-27 06:18:18 +02:00
## Want to contribute?
2023-04-27 17:46:14 +02:00
Create an issue, and put `Example: <description>` in the title! We will post your examples here.