LocalAI/examples
quoing e7981152b2
[query_data example] max_chunk_overlap in PromptHelper must be in 0..1 range (#1000)
**Description**

Simple fix, percentage value is expected to be float in range 0..1

**Notes for Reviewers**


**[Signed
commits](../CONTRIBUTING.md#signing-off-on-commits-developer-certificate-of-origin)**
- [x] Yes, I signed my commits.
 

<!--
Thank you for contributing to LocalAI! 

Contributing Conventions:

1. Include descriptive PR titles with [<component-name>] prepended.
2. Build and test your changes before submitting a PR. 
3. Sign your commits

By following the community's contribution conventions upfront, the
review process will
be accelerated and your PR merged more quickly.
-->
2023-09-04 19:12:53 +02:00
..
autoGPT docs(examples): add AutoGPT (#397) 2023-05-27 19:42:24 +02:00
chatbot-ui examples: use gallery in chatbot-ui, add flowise (#438) 2023-05-30 18:29:28 +02:00
chatbot-ui-manual examples: keep old example around (#439) 2023-05-30 18:34:43 +02:00
continue Example: Continue (dev) (#940) 2023-08-22 18:46:45 +02:00
discord-bot images: cleanup, drop .dev Dockerfile (#437) 2023-05-30 15:58:10 +02:00
flowise deps: update gpt4all bindings, fix search path on new versions (#592) 2023-06-14 13:24:53 +02:00
functions example(functions): Add OpenAI functions example (#767) 2023-07-18 00:04:21 +02:00
insomnia feat: Model Gallery Endpoint Refactor / Mutable Galleries Endpoints (#991) 2023-09-02 09:00:44 +02:00
k8sgpt Update to working k8sgpt + localai example in documentation (#852) 2023-08-01 22:31:36 +02:00
langchain images: cleanup, drop .dev Dockerfile (#437) 2023-05-30 15:58:10 +02:00
langchain-chroma fix missing openai_api_base on langchain-chroma example (#818) 2023-07-27 18:41:53 +02:00
langchain-huggingface feat: add LangChainGo Huggingface backend (#446) 2023-06-01 12:00:06 +02:00
langchain-python examples: simplify langchain-python (#541) 2023-06-08 00:05:17 +02:00
localai-webui localai: Include the WebUI project example (#130) 2023-05-04 18:27:58 +02:00
privateGPT examples: add privateGPT example (#355) 2023-05-23 10:32:34 +02:00
query_data [query_data example] max_chunk_overlap in PromptHelper must be in 0..1 range (#1000) 2023-09-04 19:12:53 +02:00
rwkv images: cleanup, drop .dev Dockerfile (#437) 2023-05-30 15:58:10 +02:00
slack-bot images: cleanup, drop .dev Dockerfile (#437) 2023-05-30 15:58:10 +02:00
slack-qa-bot example(slack-qa-bot): Add slack QA bot example (#654) 2023-06-22 18:07:15 +02:00
telegram-bot [Telegram-bot example] Fix lint for command docker-compose (#787) 2023-07-21 20:56:04 +02:00
README.md Example: Continue (dev) (#940) 2023-08-22 18:46:45 +02:00

Examples

ChatGPT OSS alternative Image generation
Screenshot from 2023-04-26 23-59-55 b6441997879
Telegram bot Flowise
Screenshot from 2023-06-09 00-36-26 Screenshot from 2023-05-30 18-01-03

Here is a list of projects that can easily be integrated with the LocalAI backend.

Projects

AutoGPT

by @mudler

This example shows how to use AutoGPT with LocalAI.

Check it out here

Chatbot-UI

by @mkellerman

Screenshot from 2023-04-26 23-59-55

This integration shows how to use LocalAI with mckaywrigley/chatbot-ui.

Check it out here

There is also a separate example to show how to manually setup a model: example

K8sGPT

by @mudler

This example show how to use LocalAI inside Kubernetes with k8sgpt.

Screenshot from 2023-06-19 23-58-47

Flowise

by @mudler

This example shows how to use FlowiseAI/Flowise with LocalAI.

Check it out here

Discord bot

by @mudler

Run a discord bot which lets you talk directly with a model

Check it out here, or for a live demo you can talk with our bot in #random-bot in our discord server.

Langchain

by @dave-gray101

A ready to use example to show e2e how to integrate LocalAI with langchain

Check it out here

Langchain Python

by @mudler

A ready to use example to show e2e how to integrate LocalAI with langchain

Check it out here

LocalAI functions

by @mudler

A ready to use example to show how to use OpenAI functions with LocalAI

Check it out here

LocalAI WebUI

by @dhruvgera

image

A light, community-maintained web interface for LocalAI

Check it out here

How to run rwkv models

by @mudler

A full example on how to run RWKV models with LocalAI

Check it out here

PrivateGPT

by @mudler

A full example on how to run PrivateGPT with LocalAI

Check it out here

Slack bot

by @mudler

Run a slack bot which lets you talk directly with a model

Check it out here

Slack bot (Question answering)

by @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

Question answering on documents with llama-index

by @mudler

Shows how to integrate with Llama-Index to enable question answering on a set of documents.

Check it out here

Question answering on documents with langchain and chroma

by @mudler

Shows how to integrate with Langchain and Chroma to enable question answering on a set of documents.

Check it out here

Telegram bot

_by @mudler

Screenshot from 2023-06-09 00-36-26

Use LocalAI to power a Telegram bot assistant, with Image generation and audio support!

Check it out here

Template for Runpod.io

by @fHachenberg

Allows to run any LocalAI-compatible model as a backend on the servers of https://runpod.io

Check it out here

Continue

Screenshot

by @gruberdev

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

Want to contribute?

Create an issue, and put Example: <description> in the title! We will post your examples here.