This project is a React Native application designed to interface with Large Language Models (LLMs) like "LM Studio" running on a local server. It leverages the native speech-to-text capabilities of smartphones to provide a seamless chat experience with AI.
- Chat Interface: Simple and intuitive chat interface between the user and the AI bot.
- Custom LLM Endpoint: Ability to set and save the URL of the LLM API server.
- Dynamic System Prompts and Temperature: Flexibility to adjust system prompts and LLM temperature for personalized interactions.
- Node.js and npm (Node Package Manager)
- Expo CLI installed globally:
npm install -g expo-cli
- Visual Studio with "React Native Tools" plugins (optional)
- Clone the repository:
git clone https://github.com/GleidsonDaniel/rn-llm-chat.git
- Navigate to the project directory:
cd rn-llm-chat
- Install dependencies:
yarn install
- Start the project:
expo start
- Launch the app using Expo.
- Set the LLM API server URL in the url (useState).
- Use the chat interface to interact with your AI model.
- Adjust system prompts and temperature as desired.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Daniel Silva Linkedin