llm-api VS lmql

Compare llm-api vs lmql and see what are their differences.

llm-api

Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments. (by dzhng)

lmql

A language for constraint-guided and efficient LLM programming. (by eth-sri)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
llm-api lmql
1 30
128 3,375
- 4.4%
8.3 9.5
27 days ago 14 days ago
TypeScript Python
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

llm-api

Posts with mentions or reviews of llm-api. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-14.
  • The Problem with LangChain
    14 projects | news.ycombinator.com | 14 Jul 2023
    You don't need to look at the code: I looked at the release notes and the garbage fire of unrelated nonsense getting added and got to skip even installing it.

    Langchain is almost required at this point to accept anything. They raised money, and now their growth metric is Github stars.

    A simple wrapper around the APIs (I used llamaflow, which is now llm-api https://github.com/dzhng/llm-api) and a templating engine is most of what you need.

    AI is not at a point where generalist prompts to do agent/memory/search things is a good idea for a real product. You need to integrate procedural guidance unless you want your UX to be awful.

lmql

Posts with mentions or reviews of lmql. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-06.

What are some alternatives?

When comparing llm-api and lmql you can also consider the following projects:

jehuty - Fluent API to interact with chat based GPT model

guidance - A guidance language for controlling large language models.

gchain - Composable LLM Application framework inspired by langchain

guidance - A guidance language for controlling large language models. [Moved to: https://github.com/guidance-ai/guidance]

aipl - Array-Inspired Pipeline Language

simpleaichat - Python package for easily interfacing with chat apps, with robust features and minimal code complexity.

llm-gpt4all - Plugin for LLM adding support for the GPT4All collection of models

NeMo-Guardrails - NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.

multi-gpt - A Clojure interface into the GPT API with advanced tools like conversational memory, task management, and more

guardrails - Adding guardrails to large language models.

buildabot - A production-grade framework for building AI agents.

basaran - Basaran is an open-source alternative to the OpenAI text completion API. It provides a compatible streaming API for your Hugging Face Transformers-based text generation models.