There are many amazing tools that help building generative AI applications. But starting with a new tool takes time to learn and practice.
For this reason, I created a repository with examples of popular open source frameworks for building generative AI applications.
The examples also show how to use these frameworks with Amazon Bedrock.
You can find the repository here:
https://github.com/danilop/oss-for-generative-ai
In the rest of this article, I'll describe the frameworks I selected, what is in the sample code in the repository, and how these can be used in practice.
LangChain: A framework for developing applications powered by language models, featuring examples of:
LangGraph: An extension of LangChain for building stateful, multi-actor applications with large language models (LLMs)
Haystack: An end-to-end framework for building search systems and language model applications
LlamaIndex: A data framework for LLM-based applications, with examples of:
DSPy: A framework for solving AI tasks using large language models
RAGAS: A framework for evaluating Retrieval Augmented Generation (RAG) pipelines
LiteLLM: A library to standardize the use of LLMs from different providers
A framework for developing applications powered by language models.
Key Features:
Primary Use Cases:
An extension of LangChain for building stateful, multi-actor. applications with LLMs
Key Features:
Primary Use Cases:
An open-source framework for building production-ready LLM applications.
Key Features:
Primary Use Cases:
A data framework for building LLM-powered applications.
Key Features:
Primary Use Cases:
A framework for solving AI tasks through declarative and optimizable language model programs.
Key Features:
Primary Use Cases:
An evaluation framework for Retrieval Augmented Generation (RAG) systems.
Key Features:
Primary Use Cases:
A unified interface for multiple LLM providers.
Key Features:
Primary Use Cases:
Let me know if you used any of these tools. Did I miss something you'd like to share with others? Feel free to contribute back to the repository!
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3