Skip to content

SylonZero/model-sandbox

Repository files navigation

AI Model Sandbox

A simple web-based tool for testing and comparing AI models, built as a training aid for internship onboarding. It is no longer actively maintained.

What it is

This was an internal tool used during internship training to give interns hands-on experience interacting with AI model APIs. It provides a basic chat interface and side-by-side model comparison view, wired up to OpenAI-compatible REST endpoints.

Features

  • Chat interface for interacting with AI models via REST API
  • Side-by-side model comparison mode
  • Configurable parameters (temperature, max tokens)
  • Agent configuration stored in browser localStorage

Technology Stack

  • Frontend: Angular 18
  • Styling: Tailwind CSS

Setup

Prerequisites

  • Node.js 16+
  • npm

Installation

npm install
npm start

Open http://localhost:4200 in your browser.

Adding an Agent

Click "Add Agent" in the sidebar and provide:

  • ID: Unique identifier
  • Name: Display name
  • Endpoint: Full API URL
  • API Key: Authentication key

API Format

The app uses the OpenAI-compatible chat completions format:

POST /api/v1/chat/completions
Authorization: Bearer <api-key>
Content-Type: application/json

Status

This project is archived and no longer actively developed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors