App Templates
Create applications faster with pre-built blueprints
Clarifai app templates are pre-built blueprints that provide a starting point for creating your own applications. They are apps with their contents grouped by some use case — enabling you to easily get started building your applications.
When you choose a template to create an app, the configurations and resources available in the template will be preemptively applied to your new application. You can use the pre-built components to quickly apply AI to your specific use case.
Why Use an App Template?
You might choose an app template over building a custom application from scratch for several reasons.
-
Time efficiency — App templates provide a head start in your AI development journey. They offer a ready-made foundation to launch your application much faster than starting from scratch.
-
Leverage pre-existing resources — App templates empower you to leverage pre-existing resources, such as models, workflows, or modules. Instead of starting from scratch, you can begin with a fully equipped application that addresses a particular use case.
-
Ease of customization — While app templates provide a foundation for AI development, they are often highly customizable. You can easily modify the template to suit your preferences.
App Templates Examples
We provide a variety of application templates in various categories to help you hit the ground running.
-
We're constantly expanding our library of templates, with new additions released on a regular basis. You can check here for them.
-
We'll also introduce the ability to build your own app templates soon.
Here are some examples:
- Chatbot Template — It serves as an extensive guide for building AI chatbot assistants swiftly and effectively, utilizing the capabilities of Clarifai's Large Language Models (LLMs).
- Content Generation — It empowers you to effortlessly craft a variety of high-quality textual content, from compelling emails and blog posts to engaging social media content and captivating stories. This helps boost your communication skills and spark your creativity.
- Document Summarization — It lets you condense a longer text document into a shorter version that captures the most important points or information. This template provides different methods for summarization that cater to different lengths and complexities of text.
- Image Moderation — It provides diverse AI-powered workflows for automatically filtering and categorizing inappropriate or harmful images based on various criteria.
- RAG Template — It streamlines the creation of Retrieval-Augmented Generation (RAG) applications with Clarifai. This lets you enhance LLMs with external knowledge for accurate, up-to-date information generation.
- Text Moderation — It explores various text moderation use cases and provides several ready-to-use workflows and models. It leverages different NLP models and LLMs to address diverse scenarios.
- Coding Template — It explores a variety of coding scenarios and includes pre-built workflows tailored to address specific use cases, utilizing specialized models for each unique situation.
How to Create an App Using a Template
There are two ways to create an application using a template.
- Via the create-an-app modal
- Via an app’s template page
Via the create-an-app modal
Log in to your account and click the Create button at the upper-right section of the navigation bar.
On the modal window that pops up, select the Use an App Template option.
The ensuing page lets you select a template for creating your application. You can opt for a template provided by the community or select one of your own creations.
For this illustration, let’s select the text-moderation template, which is provided by the community.
On the template’s individual page, you'll find an overview of its available resources as well as a description of its functionality.
When you click the view link of a resource, a modal will pop up, allowing you to easily view the available resources in the template, including inputs, datasets, models, workflows, and modules.
For example, if you click the View models link, a modal will appear displaying the models included in the template. You can also browse through the other tabs to explore additional resources present in the template.
Next, click the Select Template button at the upper-right corner of the page.
Next, specify the setup of your new application.
-
Provide an app ID, which serves as a unique identifier for your application. It’s important to choose a unique and memorable ID as it will be used for URLs and redirections.
-
Optionally, provide a brief description that outlines the purpose or features of your app.
Lastly, click the Create App button at the upper-right corner of the page.
Once the app has been created, you can begin using it immediately. For example, you can use one of its workflows for text moderation tasks.
Via an app’s template page
After logging in to your Clarifai account, select the Community option on the navigation bar.
Then, select the Apps / Templates option on the menu bar as well as Templates on the far-right side. A list of community templates available will be populated on that page.
Select the template you want to use. For this illustration, let’s select the rag-template template.
You’ll be directed to the template’s individual page.
Click the Use Template button at the upper-right corner of the page. And in the small window that pops up, provide the details for creating your new application – as mentioned earlier. The pop-up window also displays the types of resources included within the template.
Lastly, click the Create App button to finalize the creation of your app.