What is a custom PhariaAI application?
This article is intended for developers, architects, and technical stakeholders who want to understand how to build and deploy AI-powered applications using the PhariaAI stack.
We describe the basics of creating custom applications with PhariaAI, including the architecture and components.
Overview
A custom PhariaAI application is an end-to-end solution to a business problem that is production-ready from day one. It is developed using the PhariaAI application framework and leverages the PhariaAI infrastructure. A typical PhariaAI application is composed of:
-
an application UI
-
an application service
A PhariaAI application leverages:
-
One or more pre-built or custom PhariaAI Skills that offer reusable AI functionalities.
-
Production-grade infrastructure that provides necessary functionality for model serving and inference, data management, vector search, tracing, and evaluations.
This framework enables development teams to rapidly build and deploy AI applications by focusing on their unique business requirements while leveraging PhariaAI’s infrastructure components and reusable software components. Teams can create completely customised solutions while significantly reducing time-to-market and development costs through built-in production readiness.
Components of a custom PhariaAI application
Application UI
The application UI serves as the primary interface for user interactions within a PhariaAI application. It is responsible for capturing user inputs, facilitating communication with the application service, and defining the user experience. The application UI can be built using Vue.js and is set up as a micro-frontend application that can be rendered in PhariaAssistant.
Application service
The application service acts as the backend engine for a PhariaAI application. It orchestrates data flows, maintains the application state, and provides APIs essential for the application UI. By leveraging PhariaAI Skills, it addresses specific AI use cases efficiently. Additionally, it manages critical data storage needs, including user sessions and application-related data.
PhariaAI Skills
A PhariaAI Skill is a specialised, modular function designed to solve a specific AI challenge using a model. Built and served using PhariaEngine, Skills form the foundational building blocks of a custom PhariaAI application. Their modular design encourages reuse across multiple applications, promoting efficiency and consistency in solving diverse AI problems.
The development of a Skill focuses on the AI logic while using PhariaEngine to handle interactions with the PhariaInference API, scaling, deployment and tracing/evaluations through integration with PhariaStudio.
Components of the PhariaAI stack for building an application
-
PhariaOS for deployment and management of your application.
-
PhariaAssistant for rendering your application UI.
-
PhariaInference API for model serving and inference. See our Model recommendations for PhariaAssistant guide to help you choose the right model for your application.
-
PhariaEngine for building and deploying Skills.
-
PhariaData for data management utilities such as file management and file transformation.
Next steps
To begin building your own PhariaAI applications, see our comprehensive guides:
-
Quick start guide: building PhariaAI applications — Get up and running with a basic PhariaAI application in minutes.
-
The development process of PhariaAI applications — Learn about the key development phases including infrastructure setup, data management, Skill development, application deployment, and debugging.
These guides walk you through the setup process, basic concepts, and best practices for developing applications with PhariaAI.