Clarifai 10.1: RAG in 4 lines of code | Clarifai Blog

This blog post focuses on new features and improvements. For a comprehensive list, including bug fixes, please see the release notes.

RAG in 4 lines of code

RAG is an architecture that provides the most relevant and contextually important data to the LLMs when answering questions. You can use it for applications such as advanced question-answering systems, information retrieval systems, chatting with your data, and much more. We have integrated the new RAG-Prompter operator model. You can now use the RAG-Prompter, an agent system operator in the Python SDK, to perform RAG tasks in just 4 lines of code. Check out the following video that walks you through a step-by-step process of building a RAG system in 4 lines of code.

Integrated Clarifai into DSPy

Introduced incremental training of model versions

Introduced the ability to add inputs through cloud storage URLs

Enhanced the evaluation process for detector models

Made improvements to LLM fine-tuning

Improved the Model-Viewer's version table

Improved the management of model annotations and associated assets

Published several new, ground-breaking models

Improved the mobile version of the onboarding flow

Added ability to minimally review existing image mask annotations on the Input-Viewer

Made minor enhancements to the Workflow builder UI

Added ability to copy an app to an organization

Improved the search behavior within the use_cases field

Changed the thumbnails for listing resources to use small versions of cover images

Implemented a modification to facilitate a more user-friendly experience for non-logged-in users interacting with text-to-image models

Fixed an issue where a user could get added multiple times to the same organization

Improved the module installation process

Improved the relevance of the link to GitHub on the module page