Show HN: Fructose, LLM calls as strongly typed functions

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • fructose

  • This approach may be too high-level "magic" to the point of being difficult to work with and iterate upon.

    Looking at the prompt templates (https://github.com/bananaml/fructose/tree/main/src/fructose/... ), they use LangChain-esque "just try to make the output to be valid JSON" when APIs such as the GPT-4 turbo which this model uses by defauly now support function calling/structured data natively, and libraries such as outlines (https://github.com/outlines-dev/outlines) which is more complex but can better ensure a dictionary output for local LLMs

  • outlines

    Structured Text Generation

  • This approach may be too high-level "magic" to the point of being difficult to work with and iterate upon.

    Looking at the prompt templates (https://github.com/bananaml/fructose/tree/main/src/fructose/... ), they use LangChain-esque "just try to make the output to be valid JSON" when APIs such as the GPT-4 turbo which this model uses by defauly now support function calling/structured data natively, and libraries such as outlines (https://github.com/outlines-dev/outlines) which is more complex but can better ensure a dictionary output for local LLMs

  • 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.

    InfluxDB logo
  • guidance

    A guidance language for controlling large language models.

  • Why do you have Guidance in caps?

    https://github.com/guidance-ai/guidance

    or ...

    https://huggingface.co/docs/text-generation-inference/concep...

    or ... ?

    A quick glance through these, they don't seem yet to call json_object on OpenAI with the word JSON in the prompt, which works wonders with the 0125 models.

  • instructor

    structured outputs for llms

  • Good stuff. How does this compare to Instructor? I’ve been using this extensively

    https://jxnl.github.io/instructor/

  • lmql

    A language for constraint-guided and efficient LLM programming.

  • synquid

  • https://www.youtube.com/watch?v=HnOix9TFy1A

    Links to more projects and papers by Prof. Polikarpova: https://cseweb.ucsd.edu/~npolikarpova/

    I think this is one of the main ones she discusses in the talk: https://github.com/nadia-polikarpova/synquid

  • dspy

    DSPy: The framework for programming—not prompting—foundation models

  • Have you done any comparison with DSPy ? (https://github.com/stanfordnlp/dspy)

    Feels very similiar to DSPy except you dont have optimizations yet. But I like your API and the programming model your are enforcing through this.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Prompting LLMs to constrain output

    2 projects | /r/LocalLLaMA | 8 Dec 2023
  • [D] Prompt Engineering Seems Like Guesswork - How To Evaluate LLM Application Properly?

    1 project | /r/MachineLearning | 5 Dec 2023
  • Ask HN: Do Americans write better software than other parts of the world?

    1 project | news.ycombinator.com | 4 Jun 2023
  • LMQL - An LLM query language

    1 project | /r/integratedai | 21 May 2023
  • ChatGPT vs. open source on harder tasks

    6 projects | news.ycombinator.com | 18 May 2023