LMQL هي لغة برمجة وواجهة احتمالية تمزج بين المنطق الخوارزمي وتوليد النصوص العشوائي. تعمل كإطار عمل للمطالبات الموجهة بالقيود (Constraint-guided) ومولد مخرجات مهيكل، مما يسمح للمستخدمين بإجبار استجابات النموذج على الالتزام بتنسيقات وأنواع بيانات صارمة.
الميزات الرئيسية لـ eth-sri/lmql هي: Constraint-Based Prompting, Real-time Generation Constraints, Interleaved Logic Execution, Inference Optimizations, Structured Output Generators, Prefix Caching, Logit Masks, Constraint-Guided Decoders.
تشمل البدائل مفتوحة المصدر لـ eth-sri/lmql: cloudwego/eino — Eino is an AI agent development kit and LLM application framework designed for building autonomous agents and… normal-computing/outlines — Outlines is a guided generation framework designed to enforce structural constraints on large language model output in… noamgat/lm-format-enforcer — This library provides a framework for enforcing structural constraints on language model output during the token… genkit-ai/genkit — Genkit is an LLM application framework and generative AI developer toolkit designed for building production AI… boundaryml/baml — BAML is a prompt engineering framework and LLM client generator that defines AI prompts as type-safe functions. It… crmne/ruby_llm — ruby_llm is an LLM integration framework and AI agent orchestrator designed to connect applications to multiple large…
Eino is an AI agent development kit and LLM application framework designed for building autonomous agents and orchestrating complex language model workflows. It serves as a multi-agent orchestration engine and workflow orchestrator, providing a graph-based execution model to route data between models, tools, and retrievers. The framework distinguishes itself through a robust set of multi-agent coordination patterns, including supervisor-led management, sequential flows, and autonomous reasoning loops like ReAct. It features advanced agent execution controls such as active turn preemption, che
Outlines is a guided generation framework designed to enforce structural constraints on large language model output in real time. It serves as a structured output generator that ensures model responses adhere to predefined JSON schemas, regular expressions, or fixed sets of choices to produce predictable and parsable results. The project provides an interface for tool calling by extracting structured function parameters from natural language prompts for programmatic execution. It also includes a prompt templating engine that decouples prompt logic from application code through reusable templa
This library provides a framework for enforcing structural constraints on language model output during the token generation process. It functions as middleware that restricts model responses to strictly adhere to predefined JSON schemas or regular expression patterns, ensuring that generated text is machine-readable and consistent for downstream data consumption. The project distinguishes itself by integrating directly with inference engines to intercept token probability distributions before the final sampling stage. By utilizing state-machine parsing and recursive schema decomposition, it p
ruby_llm is an LLM integration framework and AI agent orchestrator designed to connect applications to multiple large language model providers through a unified interface. It serves as a toolkit for building autonomous assistants with custom personas, managing structured output via JSON schemas, and implementing vector embedding engines for semantic search. The project distinguishes itself as an observability suite and multimodal toolkit. It provides specialized capabilities for tracking token usage, calculating model costs, and tracing workflows via OpenTelemetry, while supporting the proces