Python llm-framework

Open-source Python projects categorized as llm-framework

Top 11 Python llm-framework Projects

  • langroid

    Harness LLMs with Multi-Agent Programming

  • Project mention: OpenAI: Streaming is now available in the Assistants API | news.ycombinator.com | 2024-03-14

    This was indeed true in the beginning, and I don’t know if this has changed. Inserting messages with Assistant role is crucial for many reasons, such as if you want to implement caching, or otherwise edit/compress a previous assistant response for cost or other reason.

    At the time I implemented a work-around in Langroid[1]: since you can only insert a “user” role message, prepend the content with ASSISTANT: whenever you want it to be treated as an assistant role. This actually works as expected and I was able to do caching. I explained it in this forum:

    https://community.openai.com/t/add-custom-roles-to-messages-...

    [1] the Langroid code that adds a message with a given role, using this above “assistant spoofing trick”:

    https://github.com/langroid/langroid/blob/main/langroid/agen...

  • LLMStack

    No-code platform to build LLM Agents, workflows and applications with your data

  • Project mention: Vanna.ai: Chat with your SQL database | news.ycombinator.com | 2024-01-14

    We have recently added support to query data from SingleStore to our agent framework, LLMStack (https://github.com/trypromptly/LLMStack). Out of the box performance performance when prompting with just the table schemas is pretty good with GPT-4.

    The more domain specific knowledge needed for queries, the harder it has gotten in general. We've had good success `teaching` the model different concepts in relation to the dataset and giving it example questions and queries greatly improved performance.

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

    [ICML 2024] LLMCompiler: An LLM Compiler for Parallel Function Calling

  • Project mention: FLaNK Weekly 18 Dec 2023 | dev.to | 2023-12-18
  • spelltest

    AI-to-AI Testing | Simulation framework for LLM-based applications

  • Project mention: FLaNK Stack Weekly for 30 Oct 2023 | dev.to | 2023-10-30
  • edsl

    Design, conduct and analyze results of AI-powered surveys and experiments. Simulate social science and market research with large numbers of AI agents and LLMs. (by expectedparrot)

  • Project mention: Python package for administering surveys to LLMs | news.ycombinator.com | 2024-04-18
  • geniusrise

    Geniusrise: Framework for building geniuses

  • Project mention: Geniusrise – Wannabe Competitor to Vertex AI, Azure AI Studio and Bedrock | news.ycombinator.com | 2024-03-15
  • sql-sidekick

    Experiment on QnA tabular data using LLMs and SQL

  • Project mention: LLM2SQL New Repo | news.ycombinator.com | 2024-02-28
  • SaaSHub

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

    SaaSHub logo
  • geniusrise-prompt-actions

    Bolts that read data and perform chains of actions with prompts

  • Project mention: Show HN: Geniusrise, a framework and ecosystem for AI agents | news.ycombinator.com | 2023-09-23

    ## More Links

    1. https://github.com/geniusrise/geniusrise - core framework

    2. https://github.com/geniusrise/geniusrise-huggingface - hf modules

    3. https://github.com/geniusrise/geniusrise-openai - openai modules

    4. https://github.com/geniusrise/geniusrise-listeners - streaming data input

    5. https://github.com/geniusrise/geniusrise-databases - database input

    6. https://github.com/geniusrise/geniusrise-prompt-actions - functional integrations (RAG-able and GPT function call-able, WIP)

    7. https://github.com/geniusrise/geniusrise-indexing - vectorizing for RAG usecases (WIP)

    8. https://github.com/geniusrise/geniusrise-exit-proxy - cached LLM interface with MITM-auditing (WIP)

    ## Asides

    I think the core framework can be AGPL but the modules must be MIT / Apachev2.

    I really wanted to create an elaborate example in the guides but could not find time, - something like load and vectorize SNOMED-CT or UMLS and use it to NER / RAG EHR docs. Or maybe a usecase of doctor communicating to patient in another language (a major problem in India), with reverse translation verifying translated output using the KG. These kinds of stuff are soon to come. Or discourse segmentation for better chunking for RAG usecases.

    I'm not sure if I should add cyberpunk-ed scientists as banner images. I tried with mathematicians like Voevodsky to Andre Joyal to John Baez, but couldn't. Actual geniuses tend to not be famous, hence SDXL fails I guess.

    I plan to also write this framework in scala. The category-theorizing of neural networks is amazing!!! https://github.com/bgavran/Category_Theory_Machine_Learning. I hope Bartosz Milewski approves.

    I love Alan Turing, but cuz of "The Chemical Basis of Morphogenesis". It introduced me to the wonderful world of complex systems. Hence, his image as banner.

    I'm also working on a cli library called "isomorphic", wraps over argparse and provides cli, api, yaml, json interfaces.

    Yes, gradio integration is also underway.

    Finally, to huggingface.

  • geniusrise-listeners

    A collection of Spouts that listen to events

  • Project mention: Show HN: Geniusrise, a framework and ecosystem for AI agents | news.ycombinator.com | 2023-09-23

    ## More Links

    1. https://github.com/geniusrise/geniusrise - core framework

    2. https://github.com/geniusrise/geniusrise-huggingface - hf modules

    3. https://github.com/geniusrise/geniusrise-openai - openai modules

    4. https://github.com/geniusrise/geniusrise-listeners - streaming data input

    5. https://github.com/geniusrise/geniusrise-databases - database input

    6. https://github.com/geniusrise/geniusrise-prompt-actions - functional integrations (RAG-able and GPT function call-able, WIP)

    7. https://github.com/geniusrise/geniusrise-indexing - vectorizing for RAG usecases (WIP)

    8. https://github.com/geniusrise/geniusrise-exit-proxy - cached LLM interface with MITM-auditing (WIP)

    ## Asides

    I think the core framework can be AGPL but the modules must be MIT / Apachev2.

    I really wanted to create an elaborate example in the guides but could not find time, - something like load and vectorize SNOMED-CT or UMLS and use it to NER / RAG EHR docs. Or maybe a usecase of doctor communicating to patient in another language (a major problem in India), with reverse translation verifying translated output using the KG. These kinds of stuff are soon to come. Or discourse segmentation for better chunking for RAG usecases.

    I'm not sure if I should add cyberpunk-ed scientists as banner images. I tried with mathematicians like Voevodsky to Andre Joyal to John Baez, but couldn't. Actual geniuses tend to not be famous, hence SDXL fails I guess.

    I plan to also write this framework in scala. The category-theorizing of neural networks is amazing!!! https://github.com/bgavran/Category_Theory_Machine_Learning. I hope Bartosz Milewski approves.

    I love Alan Turing, but cuz of "The Chemical Basis of Morphogenesis". It introduced me to the wonderful world of complex systems. Hence, his image as banner.

    I'm also working on a cli library called "isomorphic", wraps over argparse and provides cli, api, yaml, json interfaces.

    Yes, gradio integration is also underway.

    Finally, to huggingface.

  • geniusrise-openai

    Bolts interfacing with the openai ecosystem

  • Project mention: Show HN: Geniusrise, a framework and ecosystem for AI agents | news.ycombinator.com | 2023-09-23

    ## More Links

    1. https://github.com/geniusrise/geniusrise - core framework

    2. https://github.com/geniusrise/geniusrise-huggingface - hf modules

    3. https://github.com/geniusrise/geniusrise-openai - openai modules

    4. https://github.com/geniusrise/geniusrise-listeners - streaming data input

    5. https://github.com/geniusrise/geniusrise-databases - database input

    6. https://github.com/geniusrise/geniusrise-prompt-actions - functional integrations (RAG-able and GPT function call-able, WIP)

    7. https://github.com/geniusrise/geniusrise-indexing - vectorizing for RAG usecases (WIP)

    8. https://github.com/geniusrise/geniusrise-exit-proxy - cached LLM interface with MITM-auditing (WIP)

    ## Asides

    I think the core framework can be AGPL but the modules must be MIT / Apachev2.

    I really wanted to create an elaborate example in the guides but could not find time, - something like load and vectorize SNOMED-CT or UMLS and use it to NER / RAG EHR docs. Or maybe a usecase of doctor communicating to patient in another language (a major problem in India), with reverse translation verifying translated output using the KG. These kinds of stuff are soon to come. Or discourse segmentation for better chunking for RAG usecases.

    I'm not sure if I should add cyberpunk-ed scientists as banner images. I tried with mathematicians like Voevodsky to Andre Joyal to John Baez, but couldn't. Actual geniuses tend to not be famous, hence SDXL fails I guess.

    I plan to also write this framework in scala. The category-theorizing of neural networks is amazing!!! https://github.com/bgavran/Category_Theory_Machine_Learning. I hope Bartosz Milewski approves.

    I love Alan Turing, but cuz of "The Chemical Basis of Morphogenesis". It introduced me to the wonderful world of complex systems. Hence, his image as banner.

    I'm also working on a cli library called "isomorphic", wraps over argparse and provides cli, api, yaml, json interfaces.

    Yes, gradio integration is also underway.

    Finally, to huggingface.

  • geniusrise-databases

    A collection of Spouts that query databases

  • Project mention: Show HN: Geniusrise, a framework and ecosystem for AI agents | news.ycombinator.com | 2023-09-23

    ## More Links

    1. https://github.com/geniusrise/geniusrise - core framework

    2. https://github.com/geniusrise/geniusrise-huggingface - hf modules

    3. https://github.com/geniusrise/geniusrise-openai - openai modules

    4. https://github.com/geniusrise/geniusrise-listeners - streaming data input

    5. https://github.com/geniusrise/geniusrise-databases - database input

    6. https://github.com/geniusrise/geniusrise-prompt-actions - functional integrations (RAG-able and GPT function call-able, WIP)

    7. https://github.com/geniusrise/geniusrise-indexing - vectorizing for RAG usecases (WIP)

    8. https://github.com/geniusrise/geniusrise-exit-proxy - cached LLM interface with MITM-auditing (WIP)

    ## Asides

    I think the core framework can be AGPL but the modules must be MIT / Apachev2.

    I really wanted to create an elaborate example in the guides but could not find time, - something like load and vectorize SNOMED-CT or UMLS and use it to NER / RAG EHR docs. Or maybe a usecase of doctor communicating to patient in another language (a major problem in India), with reverse translation verifying translated output using the KG. These kinds of stuff are soon to come. Or discourse segmentation for better chunking for RAG usecases.

    I'm not sure if I should add cyberpunk-ed scientists as banner images. I tried with mathematicians like Voevodsky to Andre Joyal to John Baez, but couldn't. Actual geniuses tend to not be famous, hence SDXL fails I guess.

    I plan to also write this framework in scala. The category-theorizing of neural networks is amazing!!! https://github.com/bgavran/Category_Theory_Machine_Learning. I hope Bartosz Milewski approves.

    I love Alan Turing, but cuz of "The Chemical Basis of Morphogenesis". It introduced me to the wonderful world of complex systems. Hence, his image as banner.

    I'm also working on a cli library called "isomorphic", wraps over argparse and provides cli, api, yaml, json interfaces.

    Yes, gradio integration is also underway.

    Finally, to huggingface.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python llm-framework related posts

  • Show HN: Prompts as (WASM) Programs

    9 projects | news.ycombinator.com | 11 Mar 2024
  • LLM2SQL New Repo

    1 project | news.ycombinator.com | 28 Feb 2024
  • Show HN: Geniusrise, a framework and ecosystem for AI agents

    17 projects | news.ycombinator.com | 23 Sep 2023
  • We built a self-hosted low-code platform to build LLM apps locally and open-sourced it

    1 project | /r/OpenAI | 3 Sep 2023
  • LLMStack: self-hosted low-code platform to build LLM apps locally with LocalAI support

    1 project | /r/selfhosted | 3 Sep 2023
  • LLMStack: a self-hosted low-code platform to build LLM apps locally

    1 project | /r/programming | 1 Sep 2023
  • Teaching with AI

    2 projects | news.ycombinator.com | 31 Aug 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source llm-framework projects in Python? This list will help you:

Project Stars
1 langroid 1,594
2 LLMStack 1,140
3 LLMCompiler 1,097
4 spelltest 131
5 edsl 56
6 geniusrise 56
7 sql-sidekick 19
8 geniusrise-prompt-actions 3
9 geniusrise-listeners 2
10 geniusrise-openai 2
11 geniusrise-databases 2

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com