No project description provided
Project description
🏎️ draive 🏁
🏎️ Fast-track your LLM-based apps with an accessible, production-ready library. 🏎️
Are you looking for maximum flexibility and efficiency in your next Python library? Tired of unnecessary complexities and inefficient token usage?
👉 Introducing draive - an open-source Python library under the Miquido AI Kickstarter framework, designed to simplify and accelerate the development of LLM-based applications. Get started with draive to streamline your workflow and build powerful, efficient apps with ease.
🚀 Quick Install
With pip:
pip install draive
Optional dependencies
- OpenAI:
pip install draive[openai]
- Gemini:
pip install draive[gemini]
- Mistral:
pip install draive[mistral]
- Ollama:
pip install draive[ollama]
- Mistral.rs:
pip install draive[mistralrs]
- Fastembed:
pip install draive[fastembed]
❓ What is draive?
draive is an open-source Python library for developing apps powered by large language models. It stands out for its simplicity, consistent behavior, and transparency.
Key Features:
- 🧱 Abstract building blocks: Easily connect multiple functionalities with LLMs and link various LLMs together.
- 🧩 Flexible integration: Supports any LLM, external service, and other AI solutions.
- 🧒 User-friendly framework: Designed to build scalable and composable data processing pipelines with ease.
- ⚙️ Function-oriented design: Utilizes basic programming concepts, allowing you to represent complex programs as simple functions.
- 🏗️ Composable and reusable: Combine functions to create complex programs, while retaining the ability to use them individually.
- 📊 Diagnostics and metrics: Offers extensive tools for measuring and debugging complex functionalities.
- 🔄 Fully typed and asynchronous: Ensures type safety and efficient asynchronous operations for modern Python apps.
🧱 What can you build with draive?
🦾 RAG applications
RAG enhances model capabilities and personalizes the outputs.
- Examples: Question answering, custom knowledge bases.
🧹 Extracting structured output
Simplified data extraction and structuring.
- Examples: Data parsing, report generation.
🤖 Chatbots
Sophisticated conversational agents.
- Examples: Customer service bots, virtual assistants.
… and much more!
👷 Contributing
As an open-source project in a rapidly evolving field, we welcome all contributions. Whether you can add a new feature, enhance our infrastructure, or improve our documentation, your input is valuable to us.
We welcome any feedback and suggestions! Feel free to open an issue or pull request.
License
MIT License
Copyright (c) 2024 Miquido
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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.