An easy RAG runtime
Project description
Flover: Flexibly Orchestrating RAG Processes for Large Language Models
Flover comes from "Flow" and "Vertex".
Flover is a powerful framework designed to streamline and orchestrate various stages of the Retrieval-Augmented Generation (RAG) process for large language models. It enables developers to efficiently preset and manage tasks such as preprocessing, searching, retrieval, ranking, web scraping, and interfacing with large models, among other functionalities. Built on the foundation of Directed Acyclic Graphs (DAGs), Flover offers a flexible and efficient way to deploy and manage your own RAG services.
Key Features DAG-based Workflow: Flover leverages Directed Acyclic Graphs to represent and manage the complex dependencies and relationships between different tasks in the RAG process.
Modular Design: The framework is designed with a modular architecture, allowing developers to easily plug in and configure various components for different stages of the RAG process.
Predefined Tasks: Flover comes with predefined tasks for common RAG stages such as preprocessing, search, retrieval, ranking, web page downloading, and interacting with large language models.
Flexibility and Customization: Developers can easily customize and extend Flover to suit their specific requirements and integrate it into their existing workflows.
Efficient Execution: Flover provides efficient task scheduling and execution mechanisms, optimizing the performance of RAG processes.
Getting Started To get started with Flover, follow these steps:
Install Flover by running
pip install flover(comming soon)
Define your RAG workflow using the Flover API, specifying the tasks and their dependencies.
Configure the parameters for each task and customize the workflow according to your needs.
Execute the workflow and monitor the progress using the provided tools and interfaces.
Example Usage Here's a simple example demonstrating how you can define a basic RAG workflow using Flover:
from flover import Flover
Initialize Flover instance
flover = Flover()
Define tasks for preprocessing, searching, retrieval, etc.
preprocessing_task = flover.add_task("Preprocessing")
search_task = flover.add_task("Search")
retrieval_task = flover.add_task("Retrieval")
Define dependencies between tasks
flover.add_edge(preprocessing_task, search_task)
flover.add_edge(search_task, retrieval_task)
Execute the workflow
flover.execute_workflow()
Contributing We welcome contributions to Flover! If you have ideas for new features, improvements, or bug fixes, please feel free to submit a pull request or open an issue on our GitHub repository.
License Flover is licensed under the MIT License. See the LICENSE file for more details.
By leveraging the capabilities of Flover, developers can efficiently organize and deploy RAG processes for large language models, enabling them to focus on building innovative applications and services.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flover-0.1.tar.gz.
File metadata
- Download URL: flover-0.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5723386e3015396ec8cbb94c4e8ea46d6339bf71feb5b3940064964754cb350
|
|
| MD5 |
711dad0a49c66dfbefeb0c1d7d45ed17
|
|
| BLAKE2b-256 |
fb7dbfddaa8f6854f2403ab2db4f81dfc91e509db39a96611e4df5a03af68efb
|
File details
Details for the file flover-0.1-py3-none-any.whl.
File metadata
- Download URL: flover-0.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe039692af74309bc1b29d4de2bc4d6f71a35cd8582294c6cba7c20dabbc6e64
|
|
| MD5 |
6d133d90d82131fde8732ffcde019533
|
|
| BLAKE2b-256 |
692497168c64e0debd3063527765aa6308d52eb21d2162ca5e72f68642a0266b
|