langchainjs
🦜🔗 Build context-aware reasoning applications 🦜🔗 (by langchain-ai)
rayon
Rayon: A data parallelism library for Rust (by rayon-rs)
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
langchainjs | rayon | |
---|---|---|
12 | 67 | |
11,089 | 10,299 | |
4.8% | 2.1% | |
9.9 | 9.0 | |
4 days ago | 13 days ago | |
TypeScript | Rust | |
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.
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.
langchainjs
Posts with mentions or reviews of langchainjs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-07.
-
On the unpredictable nature of LLM output and type safety in LangChain TS
*** all code examples are using LangChain TS on the main branch on September 22nd, 2023 (roughly version 0.0.153).
-
Moving from Typescript and Langchain to Rust and Loops
At the time of the prototype's development, the Langchain GitHub loader sent one request per file to fetch the repository sequentially, leading to prolonged download times. In our case about 2 minutes for the insights.opensauced.pizza repository. This issue was later resolved in hwchase17/langchainjs#2224, enabling parallel requests for faster retrieval.
-
ai-utils.js VS langchainjs - a user suggested alternative
2 projects | 26 Jul 2023
Another llm orchestration library for js/ts
-
Ai personal assistant with long term memory?
You will probably need to create a custom agent with custom tools to do what you want to do. Look at Langchain (seems like there is an open PR for Google calendar tools here: https://github.com/hwchase17/langchainjs/pull/1777). There are a lot of great integration examples on their website (including for vectorDB memory https://python.langchain.com/docs/modules/memory/how_to/vectorstore_retriever_memory)
-
Building A Chat GPT Clone With Strapi Open AI and LangChain with Next JS 13 Frontend
You can checkout there docs (here)[https://js.langchain.com/docs/].
- Show HN: Python package for interfacing with ChatGPT with minimized complexity
-
Is there any project on langchain with scala
The strategy I tried, was to point scalablytyped, at langchainJS.
-
open-source app helps you brainstorm BANGER TWEETS
TL;DR the BANGER TWEET BRAINSToRMER 💥 🐦 🧠 is an open-source, fullstack React/Express/Postgres/Pinecone app that brainstorms new ideas and tweet drafts based on your own notes/ideas and the tweets of your favorite twitter users. This isn't a bot, but you can think of it rather as your personal twitter intern that monitors current twitter **trends**, keeps note of your **ideas**, helps you **brainstorm** new ones, and write **draft** tweets. It's your job to find and edit the best ideas before saving them to your personal notes database or tweeting them out from the app itself. it uses pg-boss cron jobs via Wasp, OpenAI, langChain, and Pinecone for the vector store https://github.com/vincanger/twitter-brainstorming-agent
- Paid AI to train on company docs?
-
MongoDB and Generative AI
It is not great. It has a lot of limitations, but can be used under certain conditions. https://github.com/hwchase17/langchainjs/pull/655
rayon
Posts with mentions or reviews of rayon.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-09.
- Rayon: Data-race free parallelization of sequential computations in Rust
- Too Dangerous for C++
-
Which application/problem would you choose for presenting Rust to newcomers in 1h30min?
Do some operations with .iter() then later use rayon to parallelize. So you can show how easy is to add a dependency and how easy is to parallelize.
-
What Are The Rust Crates You Use In Almost Every Project That They Are Practically An Extension of The Standard Library?
rayon: Async CPU runtime for parallelism.
-
Moving from Typescript and Langchain to Rust and Loops
In the quest for more efficient solutions, the ONNX runtime emerged as a beacon of performance. The decision to transition from Typescript to Rust was an unconventional yet pivotal one. Driven by Rust's robust parallel processing capabilities using Rayon and seamless integration with ONNX through the ort crate, Repo-Query unlocked a realm of unparalleled efficiency. The result? A transformation from sluggish processing to, I have to say it, blazing-fast performance.
-
AreWeMegafactoryYet? I just breached simulating 1M buildings @ 60 fps (If I'm not recording, Ryzen 7 1700X 8 Core)
With a lot of rayon, blood, sweat and tears I finally managed to simulate a million buildings at 60fps :) Feel free to AMA, game is Combine And Conquer
-
The Rust I Wanted Had No Future
(see https://github.com/rayon-rs/rayon/tree/master/src/iter/plumbing)
-
Parallel event iterator?
I did some very basic testing with this crate : https://crates.io/crates/rayon and it seems to work :
-
General Recommendations: Should I Use Tree-sitter as the AST for the LSP I am developing?
Sequentially, generating tree-sitter AST for each file and querying for the links of each file takes around 2.3 seconds. However, I randomly remembered this crate rayon, and I decided to test it. It ended up improving the performance (just by changing 2 lines of code) to 200-300ms by parallelizing the iterators and tree-sitter queries. MAJOR.
-
python to rust migration
Now if you really want to use Rust, you can rewrite only the part that are slowing down your consumer. It's easy by using Py03 and maturin. Maybe also rayon to parallelize.
What are some alternatives?
When comparing langchainjs and rayon you can also consider the following projects:
modelfusion - The TypeScript library for building AI applications.
crossbeam - Tools for concurrent programming in Rust
instructor - structured outputs for llms
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
Converter - Typescript to Scala.js converter
RxRust - The Reactive Extensions for the Rust Programming Language
chatgpt-localfiles - Make local files accessible to ChatGPT
rust-numpy - PyO3-based Rust bindings of the NumPy C-API
ort - A Rust wrapper for ONNX Runtime
tokio-rayon - Mix async code with CPU-heavy thread pools using Tokio + Rayon
app - 🍕 Insights into your entire open source ecosystem.
coroutine-rs - Coroutine Library in Rust