gollum VS TypeChat

Compare gollum vs TypeChat and see what are their differences.

gollum

Production grade LLM-ops in Golang (by stillmatic)

TypeChat

TypeChat is a library that makes it easy to build natural language interfaces using types. (by microsoft)
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
gollum TypeChat
4 12
37 7,892
- 2.8%
6.0 9.1
8 days ago 13 days ago
Go TypeScript
MIT License MIT License
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.

gollum

Posts with mentions or reviews of gollum. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-23.
  • From slow to SIMD: A Go optimization story
    10 projects | news.ycombinator.com | 23 Jan 2024
    I did a similar optimization via https://github.com/viterin/vek as the SIMD version. Some somewhat unscientific calculations showed a 10x improvement staying in float32: https://github.com/stillmatic/gollum/blob/07a9aa35d2517af8cf...

    TBH my takeaway was that it was more useful to use smaller vectors as a representation

  • Agency: Pure Go LangChain Alternative
    10 projects | news.ycombinator.com | 27 Nov 2023
    I like Go a lot for working with OpenAI etc, it's 'just' API calls and Go is great at that. I've opensourced some bits here: https://github.com/stillmatic/gollum -- in particular, function dispatch (given a prompt, return an arbitrary Go struct) is really nice, as is a very fast in-memory KNN index.
  • Introducing TypeChat from Microsoft
    18 projects | news.ycombinator.com | 20 Jul 2023
    I've written a version of this in Golang: https://github.com/stillmatic/gollum/blob/main/dispatch.go

    ```go

  • FANN: Vector Search in 200 Lines of Rust
    8 projects | news.ycombinator.com | 15 Jun 2023
    I have gotten 10x speedups with SIMD on modern hardware. Goroutines make this actually fairly tricky, as you essentially have to process all the events and then sort the entire array, which is usually the bottleneck. The heap adds a small amount of complexity but is significantly more efficient, feels like good ROI.

    https://github.com/stillmatic/gollum/blob/main/vectorstore.g...

TypeChat

Posts with mentions or reviews of TypeChat. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-14.
  • Fuck You, Show Me the Prompt
    5 projects | news.ycombinator.com | 14 Feb 2024
    Not sure it's related to function calling. GPT4 can do function calling without using the specific function-calling API just by injecting the schema you want into the prompt with directions and asking it to return JSON. It works like >99% of the time. Same with 3.5-turbo.

    The problem is these libraries convert pydantic models into json schemas and inject them into the prompt, which uses up like 80% more tokens than just describing the schema using typescript type syntax for example. See https://microsoft.github.io/TypeChat/, where they prompt using typescript type descriptions to get json data from LLMs. It's similar to what we built but with more boilerplate.

  • Semantic Kernel
    4 projects | news.ycombinator.com | 28 Nov 2023
    Semantic Memory (renamed to Kernel Memory - https://github.com/microsoft/kernel-memory) complements SK. Guidance's features are being absorbed into SK, following the departure of that team from Microsoft. Additionally, we have TypeChat (https://github.com/microsoft/TypeChat), which aims to ensure type-safe responses from LLMs. Most features of Autogen are also being integrated into SK, along with Assistants. SK serves as the orchestration engine powering Microsoft Copilots.
  • Good LLM Validation Is Just Good Validation
    2 projects | news.ycombinator.com | 27 Oct 2023
  • Show HN: Symphony – Make functions invokable by GPT-4
    1 project | news.ycombinator.com | 19 Sep 2023
    I tried TypeChat for my use case and ended up defining functions as typescript data types. This approach sounds much better, and leverages the newer OpenAI function calling, which should be more reliable I would think. Thanks for creating+sharing.

    https://microsoft.github.io/TypeChat/

  • Show HN: LLMs can generate valid JSON 100% of the time
    25 projects | news.ycombinator.com | 14 Aug 2023
    That re-prompting error on is what this new Microsoft library does, too: https://github.com/microsoft/TypeChat

    Here's their prompt for that: https://github.com/microsoft/TypeChat/blob/c45460f4030938da3...

    I think the approach using grammars (seen here, but also in things like https://github.com/ggerganov/llama.cpp/pull/1773 ) is a much more elegant solution.

  • TypeChat replaces prompt engineering with schema engineering
    1 project | news.ycombinator.com | 24 Jul 2023
  • Introducing TypeChat from Microsoft
    18 projects | news.ycombinator.com | 20 Jul 2023
    I'm very surprised that they're not using `guidance` [0] here.

    It not only would allow them to suggest that required fields be completed (avoiding the need for validation [1]) and probably save them GPU time in the end.

    There must be a reason and I'm dying to know what it is! :)

    [0] https://github.com/microsoft/guidance

    [1] https://github.com/microsoft/TypeChat/blob/main/src/typechat...

What are some alternatives?

When comparing gollum and TypeChat you can also consider the following projects:

CopilotKit - Build in-app AI chatbots 🤖, and AI-powered Textareas ✨, into react web apps. [Moved to: https://github.com/CopilotKit/CopilotKit]

guidance - A guidance language for controlling large language models.

ts-patch - Augment the TypeScript compiler to support extended functionality

outlines - Structured Text Generation

ai-agents-laravel - Build AI Agents for popular LLMs quick and easy in Laravel

jsonformer - A Bulletproof Way to Generate Structured JSON from Language Models

voy - 🕸️🦀 A WASM vector similarity search written in Rust

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

Weaviate - Weaviate is an open-source vector database that stores both objects and vectors, allowing for the combination of vector search with structured filtering with the fault tolerance and scalability of a cloud-native database​.

shelby_as_a_service - Production-ready LLM Agents. Just add API keys