Getting Started with QVAC: Building a Local AI Chatbot with React Native and Expo
About this tutorial
In this tutorial, we'll explore the fundamentals of the QVAC SDK and learn how to integrate local AI capabilities into applications using JavaScript, React Native, and Expo.
The goal is to introduce the core concepts behind QVAC, understand how its different components work, and get hands-on experience building a local AI-powered chatbot.
Throughout the tutorial, we'll walk through the SDK setup and explore essential concepts such as:
- Initializing and configuring the QVAC SDK.
- Discovering available AI models.
- Checking whether models are already downloaded and cached.
- Managing model downloads and loading models into memory.
- Understanding model configuration and hardware acceleration.
- Generating text using locally running language models.
- Integrating everything into a React Native application with Expo.
By the end, you'll have a practical understanding of the QVAC SDK's basic building blocks and the knowledge needed to start experimenting with on-device AI in your own applications.
Source Code & Learning Resources
All source materials used throughout this tutorial are available below.
GitHub Repository
Official QVAC Documentation
- QVAC SDK Documentation: https://docs.qvac.tether.io/sdk/
- JavaScript / TypeScript Guide: https://docs.qvac.tether.io/sdk/js-ts/
- API Reference: https://docs.qvac.tether.io/sdk/api/
Additional Resources
- QVAC Website: https://qvac.tether.io/
- QVAC SDK on npm: https://www.npmjs.com/package/@qvac/sdk
About QVAC
QVAC provides tools for building AI-powered applications that can run models locally on users' devices, bringing AI inference closer to the user while supporting privacy-focused and offline experiences.
Happy building!