Skip to main content

PhariaAI applications

This document provides a brief introduction to PhariaAI applications, including their motivation, architecture, components, and how to get started. It is intended for developers, architects, and technical stakeholders who want to understand how to build and deploy AI-powered applications using the PhariaAI platform.

Motivation for PhariaAI applications

Building production-ready AI applications presents significant challenges that shift focus away from solving real business problems:

  • Infrastructure setup and configuration can be time-consuming, delaying the start of development.
  • Prototyping is hindered by technical overheads related to data pipelines, model deployments, and APIs.
  • AI application development tools are dispersed across various open-source solutions, requiring different setups and integration.
  • Prototypes often face obstacles when transitioning to production.
  • Available interfaces are typically limited to generic chat interfaces.

Teams aiming to develop and deploy AI solutions quickly often get bogged down by these challenges, impeding their focus on generating business value.

PhariaAI + PhariaAI applications address these challenges by providing:

  • A complete suite of production-grade infrastructure and tools.
  • The ability to rapidly build production-grade prototypes that can scale seamlessly.
  • Built-in best practices for reliability and scalability.
  • Tooling for tracing, debugging, and evaluation.
  • A unified but customizable interface for interacting with AI applications.
  • A platform to build reusable AI logic and out-of-the-box AI capabilities.

With PhariaAI applications, teams can focus on validating their use cases while building on a foundation that is production-ready from inception, significantly reducing time-to-market and development costs.

What is a PhariaAI application?

A 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 customized solutions while significantly reducing time-to-market and development costs through built-in production readiness.

Architecture

Pharia Application Architecture

Components of a 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 currently be built using Vue.js and is set up as a microfrontend 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 PhariaKernel, skills form the foundational building blocks of a 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 PhariaKernel to handle interactions with the PhariaInference API, Scaling, Deployment and Tracing/Evaluations through integration with PhariaStudio.

Components of PhariaAI for building an application

Getting Started

To begin building your own PhariaAI application, refer to our comprehensive guides:

These guides walk you through the setup process, basic concepts, and best practices for developing applications with PhariaAI.