FlexiAI: A dynamic and modular AI framework leveraging Multi-Agent Systems and Retrieval Augmented Generation (RAG) for seamless integration with OpenAI and Azure OpenAI services.
Project description
FlexiAI
FlexiAI is a dynamic and modular AI framework designed to leverage the power of Multi-Agent Systems and Retrieval Augmented Generation (RAG). This framework is ideal for developers seeking to integrate AI capabilities into their applications with ease and flexibility. With FlexiAI, you can harness the power of both OpenAI and Azure OpenAI services to create intelligent agents that can manage tasks, process data, and provide advanced AI-driven solutions.
Introduction Video
Learn more about FlexiAI by watching the following introductory video:
Table of Contents
Features
-
Flexible AI Management: Central hub for managing AI operations including:
- Thread Management: Handle and organize multiple threads of conversation.
- Message Management: Manage messages within threads.
- Run Management: Create and monitor runs for processing tasks.
- Session Management: Maintain user sessions for continuity.
- Vector Store Management: Manage vector stores, including local and external stores, for embedding and retrieval tasks.
- Image Generation: Create and manipulate images using AI models.
- Audio Management: Advanced audio handling including:
- Speech-to-Text
- Text-to-Speech
- Audio Transcription
- Audio Translation
- Embedding Management: Handle text embeddings for various NLP tasks.
- Multi-Agent System: Manage multiple AI agents concurrently to handle various tasks efficiently.
- Completions Management: Interact with the OpenAI API to handle chat completions, structured completions, and function-calling completions.
- Assistant Management: Manage AI assistants, including creating, updating, retrieving, and integrating them into threads using the OpenAI Assistants API.
-
Retrieval Augmented Generation (RAG): Enhance the AI's capabilities by integrating retrieval mechanisms to provide enriched and contextually relevant responses.
- Comprehensive Task Management: Organize, execute, and manage a variety of tasks with the integrated
TaskManager
, enabling AI assistants to take actions and retrieve real-time data from your personal computer or cloud services.
- Comprehensive Task Management: Organize, execute, and manage a variety of tasks with the integrated
-
Flexible Credential Management: Seamlessly switch between OpenAI and Azure OpenAI credentials.
-
Extensible Architecture: Easily extend and customize the framework with user-defined functions and tasks.
-
Robust Logging: Comprehensive logging for effective debugging and monitoring.
-
Secure and Scalable: Suitable for both small projects and large enterprise applications.
-
Actively Maintained: Continuously improved and supported by the project's developer.
-
Parallel Execution: Execute tasks and tool calls in parallel for improved performance.
Installation
For setting up starter files and detailed installation instructions, please refer to the Installation.
Documentation
The FlexiAI framework comes with comprehensive documentation to help you get started and make the most out of its capabilities:
Quick Start Examples
FlexiAI provides ready-to-use applications to help you quickly get started with integrating AI into your projects. These examples are designed to be flexible and modifiable, so you can adapt them to your specific needs:
-
FlexiAI Flask Application: A web-based application built using Flask that demonstrates how to integrate the FlexiAI framework with a web server. This application includes endpoints for managing threads, messages, sessions, and more. It offers a great foundation for developers looking to build and customize AI-driven web applications quickly.
-
CLI Chat Application: A command-line interface (CLI) based chat application that leverages FlexiAI to facilitate simple text-based interactions with AI agents. This example showcases how to set up a lightweight and efficient chat system using the FlexiAI framework.
These starter applications are designed to be easily extended and customized. Whether you're building a complex web application or a simple chatbot, these examples provide a solid foundation to help you jumpstart your AI-powered project.
Contributing
We welcome contributions from the community. If you want to contribute to FlexiAI, please read our Contributing Guide to get started.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For any inquiries or support, please contact Savin Ionut Razvan at razvan.i.savin@gmail.com.
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
Hashes for flexiai-1.2.241-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5372f1b75ef86908e84d75f7b906124e7e778ee6ed4becc3449faf9760cedac3 |
|
MD5 | 14703b544a875d6839ee91a5c01d980e |
|
BLAKE2b-256 | 2eef2473c52d16a3b8cd70992ed77f64c18544afe27fa38e674786bb60f5f816 |