{"repo":"qforge-dev/torque","free":true,"listed":false,"github":"https://github.com/qforge-dev/torque","clone":"git clone https://github.com/qforge-dev/torque.git","description":"Torque is a Declarative, typesafe DSL for building synthetic LLM datasets — compose conversations like React components","language":"TypeScript","stars":94,"topics":["ai","ai-sdk","anthropic","data-tools","dataset-generation","declarative","llm","openai","react-like","typescript"],"license":"MIT","category":"ai-agents","readme_excerpt":"Torque Torque is a declarative, fully typesafe DSL for quickly building complex LLM synthetic datasets. Compose conversations like components, generate realistic variations with any model efficiently. ✨ Features - 🎯 Declarative DSL - Compose conversations like components - 🔒 Fully Typesafe - Zod schemas with complete type inference - 🔌 Provider Agnostic - Generate with any AI SDK provider (OpenAI, Anthropic, DeepSeek, vLLM, LLaMA.cpp etc.) - 🤖 AI-Powered Content - Generate realistic varied datasets automatically without complicated scripts - 🎭 Faker Integration - Built-in Faker.js with automatic seed synchronization for reproducible fake data - 💰 Cache Optimized - Reuses context across generations to reduce costs - 📉 Prompt Optimized - Concise, optimized structures, prompts and generation workflow lets you use smaller, cheaper models - ♻️ Reusable Patterns - Build libraries of conversation templates - ⚡ Concurrent Generation - Beautiful async CLI with real-time progress tracking while generating concurrently 🚀 Quick Example Outputs: 💡 See full example: examples/quick-start.ts ▶️ Try in Browser 🤔 Why Torque? Building synthetic datasets for LLMs is tedious: - Sometimes you don’t have enough real data - Manual conversation writing doesn’t scale as conversations get long - Maintaining quality and consistency across thousands of examples is extremely time consuming - Tool calling patterns require intricate message sequences and are error‑prone - Generating different conv","default_branch":null,"files":null,"tree":[],"storefront":"/r/qforge-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/qforge-dev/torque/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}