awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
eth-sri avatar

eth-sri/lmql

0
View on GitHub↗
4,185 نجوم·221 تفرعات·Python·Apache-2.0·2 مشاهداتlmql.ai↗

Lmql

LMQL هي لغة برمجة وواجهة احتمالية تمزج بين المنطق الخوارزمي وتوليد النصوص العشوائي. تعمل كإطار عمل للمطالبات الموجهة بالقيود (Constraint-guided) ومولد مخرجات مهيكل، مما يسمح للمستخدمين بإجبار استجابات النموذج على الالتزام بتنسيقات وأنواع بيانات صارمة.

يتميز النظام كمحسن للاستدلال (Inference optimizer) يزيد من إنتاجية الرموز (Tokens) ويقلل من زمن الوصول. يتم تحقيق ذلك من خلال استراتيجيات تنفيذ متخصصة، بما في ذلك التخزين المؤقت للمطالبات القائم على الشجرة والمعالجة الجماعية غير المتزامنة.

يغطي المشروع مجموعة واسعة من إمكانيات التحكم في التوليد، مثل إخفاء الرموز القائم على Logit، واختيار البحث الشعاعي (Beam-search)، وتنفيذ المنطق والمطالبة المتداخل. كما يوفر بنية تحتية لبث الاستجابة في الوقت الفعلي عبر WebSockets وأحداث الخادم (Server-sent events).

Features

  • Constraint-Based Prompting - Provides a framework for forcing LLM responses to follow strict formatting and data types via logit masking.
  • Real-time Generation Constraints - Forces model responses to adhere to strict formats and data types using real-time token-level constraints and logit masking.
  • Interleaved Logic Execution - Merges traditional programming control flow with stochastic text generation within a single execution runtime.
  • Inference Optimizations - Reduces latency and increases throughput using specialized caching and asynchronous batching for model requests.
  • Structured Output Generators - Forces language models to produce strictly typed, machine-readable data formats using guided prompting.
  • Prefix Caching - Stores and reuses common prompt prefix computations to avoid redundant calculations across multiple variations.
  • Logit Masks - Applies binary logit masks to the output distribution to disable specific tokens and enforce data type constraints.
  • Constraint-Guided Decoders - Interleaves programmatic logic with token sampling to ensure generated text adheres to strict structural requirements.
  • Probabilistic Programming Languages - Integrates traditional control flow with the probabilistic nature of large language model generation.
  • LLM - Blends algorithmic logic with stochastic text generation to create a language for guiding and constraining LLM outputs.
  • Programmatic Workflow Logic - Combines developer-written programmatic flow with LLM queries to control the reasoning and structure of generated output.
  • Algorithmic - Reduces token usage and response times through speculative execution, constraint short-circuiting, and tree-based caching.
  • LLM Response Streaming - Delivers model-generated text incrementally to clients via WebSockets or server-sent events for lower perceived latency.
  • Beam Search Implementations - Implements beam search algorithms to track multiple probable token sequences for more accurate model responses.
  • Decoding Strategy Implementations - Implements advanced token selection algorithms like beam search to optimize the quality and accuracy of generated text.
  • Query Batching - Groups multiple computational queries into single execution calls to increase token throughput and reduce latency.
  • Inference - Reduces token computation time through the combined use of tree-based caching and constraint short-circuiting.
  • Batch Request Processing - Executes multiple requests in parallel using an asynchronous system to increase total processing throughput.
  • Inference Short-Circuiting - Bypasses unnecessary model computations when constraints make specific token paths redundant or impossible.
  • Application Frameworks - Programming language for large language models.
  • Prompt Optimization Frameworks - Query language for programming complex prompt logic.
  • Prompting Frameworks - Query language for programming and controlling language models.
  • Structured Output Generation - Language for constraint-guided and efficient model programming.

سجل النجوم

مخطط تاريخ النجوم لـ eth-sri/lmqlمخطط تاريخ النجوم لـ eth-sri/lmql

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

الأسئلة الشائعة

ما هي وظيفة eth-sri/lmql؟

LMQL هي لغة برمجة وواجهة احتمالية تمزج بين المنطق الخوارزمي وتوليد النصوص العشوائي. تعمل كإطار عمل للمطالبات الموجهة بالقيود (Constraint-guided) ومولد مخرجات مهيكل، مما يسمح للمستخدمين بإجبار استجابات النموذج على الالتزام بتنسيقات وأنواع بيانات صارمة.

ما هي الميزات الرئيسية لـ eth-sri/lmql؟

الميزات الرئيسية لـ 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؟

تشمل البدائل مفتوحة المصدر لـ 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…

بدائل مفتوحة المصدر لـ Lmql

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Lmql.
  • cloudwego/einoالصورة الرمزية لـ cloudwego

    cloudwego/eino

    9,675عرض على GitHub↗

    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

    Goaiai-applicationai-framework
    عرض على GitHub↗9,675
  • normal-computing/outlinesالصورة الرمزية لـ normal-computing

    normal-computing/outlines

    13,965عرض على GitHub↗

    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

    Python
    عرض على GitHub↗13,965
  • noamgat/lm-format-enforcerالصورة الرمزية لـ noamgat

    noamgat/lm-format-enforcer

    2,022عرض على GitHub↗

    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

    Python
    عرض على GitHub↗2,022
  • crmne/ruby_llmالصورة الرمزية لـ crmne

    crmne/ruby_llm

    3,566عرض على GitHub↗

    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

    Rubyaianthropicchatgpt
    عرض على GitHub↗3,566
  • عرض جميع البدائل الـ 30 لـ Lmql→