llama_flow is an open-source application designed to develop and customize Retrieval-Augmented Generation (RAG) workflows without code. Easily run it locally using a variety of open-source and closed-source large language models, vector databases, embedding models, and chunking strategies.
| Workflow | Status |
|---|---|
| Default with Huggingface | β |
| Support for llamacpp and ollama | β |
| Embed Model Provider | Status |
|---|---|
| Huggingface | β |
| Ollama | β³ |
| OpenAI | β³ |
| Cohere | β³ |
| LLM Provider | Status |
|---|---|
| Huggingface | β |
| llamacpp | β |
| ollama | β |
| Huggingface API | β³ |
| OpenAI | β³ |
| Cohere | β³ |
| llamacpp LLM | Status |
|---|---|
| llama2-7b | β |
| llama2-13b | β |
| llama3-8b | β |
| ollama LLM | Status |
|---|---|
| llama3 | β |
| phi3 | β |
| mistral | β |
| neural-chat | β |
| starling-lm | β |
| codellama | β |
| gemma:2b | β |
| gemma:7b | β |
| solar | β |
| Chunking Strategy | Status |
|---|---|
| semantic-splitting | β |
| simple-node-parser | β³ |
| sentence-splitting | β³ |
| sentence-window | β³ |
| token-splitting | β³ |
| hierarchical-splitting | β³ |
Download the desktop application for your OS:
git clone https://github.com/sabeeralikp/llama_flow.git
cd llama_flow
docker build -t llama_flow_image .
docker run -d --name llama_flow_container -p 8000:8000 llama_flow_image
git clone https://github.com/sabeeralikp/llama_flow.git
cd llama_flow
python -m venv env
source env/bin/activate # On Windows use `env\Scripts\activate`
pip install -r requirements.txt
uvicorn main:app --workers 4
Instructions:
pip install -q llama-cpp-python \
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu122 # For CUDA version 12.2
pip install -q llama_index llama-index-llms-llama-cpp
Follow the official Ollama installation guide for different devices.
apt install lshw
curl -fsSL https://ollama.com/install.sh | sh
pip install -q llama-index-llms-ollama
We welcome all contributions to improve llama_flow. Please follow these steps:
git checkout -b feature-branch
git commit -m 'Add some feature'
git push origin feature-branch
This project is licensed under the MIT License. See the LICENSE file for details.
Stay tuned for exciting updates! πβ¨
77 commits
7 commits
Python
84.9%
Jupyter Notebook
14.1%
Dockerfile
1.0%
llama_flow is an open-source application designed to develop and customize Retrieval-Augmented Generation (RAG) workflows without code. Easily run it locally using a variety of open-source and closed-source large language models, vector databases, embedding models, and chunking strategies.
| Workflow | Status |
|---|---|
| Default with Huggingface | β |
| Support for llamacpp and ollama | β |
| Embed Model Provider | Status |
|---|---|
| Huggingface | β |
| Ollama | β³ |
| OpenAI | β³ |
| Cohere | β³ |
| LLM Provider | Status |
|---|---|
| Huggingface | β |
| llamacpp | β |
| ollama | β |
| Huggingface API | β³ |
| OpenAI | β³ |
| Cohere | β³ |
| llamacpp LLM | Status |
|---|---|
| llama2-7b | β |
| llama2-13b | β |
| llama3-8b | β |
| ollama LLM | Status |
|---|---|
| llama3 | β |
| phi3 | β |
| mistral | β |
| neural-chat | β |
| starling-lm | β |
| codellama | β |
| gemma:2b | β |
| gemma:7b | β |
| solar | β |
| Chunking Strategy | Status |
|---|---|
| semantic-splitting | β |
| simple-node-parser | β³ |
| sentence-splitting | β³ |
| sentence-window | β³ |
| token-splitting | β³ |
| hierarchical-splitting | β³ |
Download the desktop application for your OS:
git clone https://github.com/sabeeralikp/llama_flow.git
cd llama_flow
docker build -t llama_flow_image .
docker run -d --name llama_flow_container -p 8000:8000 llama_flow_image
git clone https://github.com/sabeeralikp/llama_flow.git
cd llama_flow
python -m venv env
source env/bin/activate # On Windows use `env\Scripts\activate`
pip install -r requirements.txt
uvicorn main:app --workers 4
Instructions:
pip install -q llama-cpp-python \
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu122 # For CUDA version 12.2
pip install -q llama_index llama-index-llms-llama-cpp
Follow the official Ollama installation guide for different devices.
apt install lshw
curl -fsSL https://ollama.com/install.sh | sh
pip install -q llama-index-llms-ollama
We welcome all contributions to improve llama_flow. Please follow these steps:
git checkout -b feature-branch
git commit -m 'Add some feature'
git push origin feature-branch
This project is licensed under the MIT License. See the LICENSE file for details.
Stay tuned for exciting updates! πβ¨
77 commits
7 commits
Python
84.9%
Jupyter Notebook
14.1%
Dockerfile
1.0%