aipl
EdgeChains
aipl | EdgeChains | |
---|---|---|
4 | 12 | |
119 | 289 | |
- | 4.8% | |
9.2 | 9.4 | |
6 months ago | 6 days ago | |
Python | JavaScript | |
MIT License | MIT License |
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.
aipl
-
Ask HN: Tell us about your project that's not done yet but you want feedback on
AIPL is an "Array-Inspired Pipeline Language", a tiny DSL in Python to make it easier to explore and experiment with AI pipelines.
https://github.com/saulpw/aipl
When you want to run some prompts through an LLM over a dataset, with some preprocessing and/or chaining prompts together, AIPL makes it much easier than writing a Python script.
-
The Problem with LangChain
Yes! This is why I started working on AIPL. The scripts are much more like recipes (linear, contained in a single-file, self-evident even to people who don't know the language). For instance, here's a multi-level summarizer of a webpage: https://github.com/saulpw/aipl/blob/develop/examples/summari...
The goal is to capture all that knowledge that langchain has, into consistent legos that you can combine and parameterize with the prompts, without all the complexity and boilerplate of langchain, nor having to learn all the Python libraries and their APIs. Perfect for prototypes and experiments (like a notebook, as you suggest), and then if you find something that really works, you can hand-off a single text file to an engineer and they can make it work in a production environment.
-
Langchain Is Pointless
I agree, and that's why I've been working on AIPL[0]. Our first v0.1 release should be in the next few days. https://github.com/saulpw/aipl
It's basically just a simple scripting language with array semantics and inline prompt construction, and you can drop into Python any time you like.
-
Re-implementing LangChain in 100 lines of code
I also was underwhelmed by langchain, and started implementing my own "AIPL" (Array-Inspired Pipeline Language) which turns these "chains" into straightforward, linear scripts. It's very early days but already it feels like the right direction for experimenting with this stuff. (I'm looking for collaborators if anyone is interested!)
https://github.com/saulpw/aipl
EdgeChains
-
HonoJS: Small, simple, and ultrafast web framework for the Edges
We build a WASM compiler to compile our prompts and chains into webassembly. Honojs was a critical part of it.
https://github.com/arakoodev/EdgeChains/
- looking for someone to codereview an opensource Typescript+webassembly framework for Generative AI apps
-
Overview: AI Assembly Architectures
EdgeChains: github.com/arakoodev/EdgeChains
-
Stanford DSPy: The framework for programming with foundation models
would love your thoughts on this as well - https://github.com/arakoodev/edgechains
got frustrated in the same way with "Black Box Prompting - every library hides prompts/chains in layers of libraries...while it should have been declarative.
EdgeChains - allows u to specify ur prompt and chain in jsonnet. This why i think Generative AI needs declarative orchestration and not previous generations. https://github.com/arakoodev/edgechains#why-do-you-need-decl...
-
Show HN: Chat with your data using LangChain, Pinecone, and Airbyte
when will you have pgvector as a destination ? we (https://github.com/arakoodev/edgechains) work with a lot of enterprises and they would not move away from using redis or pgvector even as their vector store. Is there a way where we can leverage that ?
Second, for a LOT of enterprises, they want to use non-openai embedding models (minilm, GTE, BGE), will you support that. For e.g. in Edgechains we natively support BGE and minilm. Would you be able to support that ?
-
Chunking 2M+ files a day for Code Search using Syntax Trees
oh really ? Thats awfully kind. I'll take that in for EdgeChains as well.
https://github.com/arakoodev/EdgeChains/issues/172
-
Langchain Is Pointless
Promptfile is written in markdown, which is unsuited for templates and config management.
I have an attempt in the same domain, would love feedback
We didnt invent a new markup - we used jsonnet which is used in large scale kubernetes and has a grammar that has been well tested for config mgmt.
https://github.com/arakoodev/EdgeChains/blob/main/Examples/r...
Prompts live outside the code.
- Calling ChatGPT API from Spring Boot
What are some alternatives?
modelfusion - The TypeScript library for building AI applications.
autogen - A programming framework for agentic AI. Discord: https://aka.ms/autogen-dc. Roadmap: https://aka.ms/autogen-roadmap
hamilton - Hamilton helps data scientists and engineers define testable, modular, self-documenting dataflows, that encode lineage and metadata. Runs and scales everywhere python does.
langchain - ⚡ Building applications with LLMs through composability ⚡ [Moved to: https://github.com/langchain-ai/langchain]
multi-gpt - A Clojure interface into the GPT API with advanced tools like conversational memory, task management, and more
AgentVerse - 🤖 AgentVerse 🪐 is designed to facilitate the deployment of multiple LLM-based agents in various applications, which primarily provides two frameworks: task-solving and simulation
haystack - :mag: LLM orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots.
txtai - 💡 All-in-one open-source embeddings database for semantic search, LLM orchestration and language model workflows
llm - Access large language models from the command-line
awesome-ai-agents - A list of AI autonomous agents
llm-gpt4all - Plugin for LLM adding support for the GPT4All collection of models
langchain - 🦜🔗 Build context-aware reasoning applications