This project is built with Angular 17 and Angular Material, enabling interaction with large language models (LLMs) loaded in the LM Studio application. The application allows users to display the various loaded models, change the internal prompt, and update the API URL for LM Studio.
- LLM Interaction: Send queries and receive responses from large language models loaded in LM Studio.
- Model Visualization: Display the various language models currently loaded in memory.
- Dynamic Configuration: Change the internal prompt and the LM Studio API URL from the user interface.
- Node.js (version 14 or higher)
- Angular CLI
- LM Studio
- Clone this repository to your local machine.
git clone https://github.com/marcguillemdev/LMStudio-API-Angular-Playground
- Navigate to the project directory.
cd LMStudio-API-Angular-Playground
- Install the project dependencies.
npm install
- Ensure that LM Studio is running and accessible at the configured URL.
- Start the Angular application.
ng serve
- Open your web browser and navigate to
http://localhost:4200
to view the application.
You can change the LM Studio API URL and the internal prompt through the configuration dialog in the application. Below are screenshots of the chat and the configuration dialog for better understanding:
This project is licensed under the GPL-3.0. See the LICENSE file for more details.