Build RAG applications using only APIs with Postman! ??
Welcome to the?AI in 5?newsletter with Clarifai!
Every week we bring you new models, tools, and tips to build production-ready AI!
This week, we bring you: ??
MiniCPM-Llama3-V 2.5! ???
MiniCPM-Llama3-V 2.5 is a high-performance, efficient 8B parameter multimodal model excelling in OCR, multilingual support, and multimodal tasks.
Here are some key capabilities of the model:
? Leading Performance: Achieves an average score of 65.1 on OpenCompass, outperforming larger proprietary models like GPT-4V-1106, Gemini Pro, Claude 3, and Qwen-VL-Max.
? Strong OCR Capabilities: Excels in OCR tasks, handling images with high pixel counts and various aspect ratios, scoring over 700 on OCRBench.
? Multilingual Support: Extends capabilities to over 30 languages, leveraging Llama 3's multilingual strengths and VisCPM's cross-lingual generalization. The model is now available on the platform.
Try out the model and access it with an API here: ??
Try out the model here.
Clarifai ?? LiteLLM
LiteLLM is a library for seamless integration with various LLM provider's APIs that standardizes interactions through an OpenAI API format. This integration allows you to call various open-source and third-party LLMs available on the Clarifai Platform using the same input/output format.
Check out the below guide to get started:! ??
Checkout the guide here.
Build RAG with Clarifai using Postman! ??
You can access the Clarifai platform to create RAG applications with ease using just the APIs.
领英推荐
The steps include:
1. Create a Clarifai app with “Text” as the base workflow.
2. Create a RAG prompter operator model and then create the model?version.
3. Create a RAG Prompter Workflow along with a text-to-text node and specify your preferred LLM.
4. Upload your data to the above app created using the Python SDK. Check out the guide here on how to upload the data.
5. Make API predictions to the created RAG prompter workflow using Postman.
Check out the public Postman collection below that will walk you through these steps: RAG using Postman
May Wrap-up: Latest Models Integrated into the Community ???
AI tip of the week: ??
Bulk Labeling at Upload Time!
You can label your inputs as they are uploaded with bulk labeling. To do so, go to your application's page and select the Inputs option on the left sidebar.?
Next, upload your inputs. Once they are uploaded, you can easily add labels by selecting the inputs you want to label by clicking the checkmark. You can even select multiple inputs by holding down the "shift" key.
Then, label them all in bulk by clicking the Label as button which?saves you a ton of time.
Check out the complete guide here.
Want to learn more from Clarifai? “Subscribe” to make sure you don’t miss the latest news, tutorials, educational materials, and tips. Thanks for reading!