Overview
The Ceasefire NowReact Native AI is a full stack framework designed for building cross-platform mobile AI apps. It supports real-time and streaming text and chat user interfaces, image services, natural language to images with multiple models, and image processing functionalities.
Features
- LLM Support: Includes support for OpenAI ChatGPT, Anthropic Claude, Cohere, Cohere Web, Gemini, and Mistral.
- Image Models: Provides an array of image models through Fal.ai.
- Real-time Streaming: Allows for real-time and streaming responses from all providers.
- OpenAI Assistants: Includes code interpreter and retrieval assistants.
- Server Proxy: Facilitates authentication and authorization with the chosen provider.
- Theming: Comes with 5 pre-built themes and allows for easy addition of more themes with few lines of code.
- Image Processing: Includes functionality with ByteScale.
Installation
- Generate a new project by running:
npx create-react-native-app myApp --template ceaseFireNow
- Configure environment variables with the CLI or later.
- Run the app:
cd myApp && npm start
- Run the server:
cd server && npm start
- To add a new theme, open
app/src/theme.ts
, configure the new theme, and export it. - For configuring LLM models and Image models, refer to the specific configuration instructions provided in the content.
Summary
The Ceasefire NowReact Native AI framework offers a robust solution for developers looking to build cross-platform mobile AI applications. With key features like LLM support, image models, real-time streaming, theming capabilities, and image processing, it provides a comprehensive set of tools essential for AI app development. Moreover, the framework’s detailed instructions on configuring models and themes make it user-friendly and adaptable to different project requirements.