LangStream (@langstream_ai) header
LangStream (@langstream_ai) profile picture

Open-Source Event-Driven Developer Platform for Building and Running LLM AI Apps. Powered by K8s and Kafka. https://xitter.gq/t.co/RLBU6NauOj

Joined August 2023
Photo by LangStream (@langstream_ai)Photo by LangStream (@langstream_ai)Photo by LangStream (@langstream_ai)Photo by LangStream (@langstream_ai)
Yesterday we've had another @langstream_ai meetup in Bologna with the local Java User Group and other folks! That was fun, and we had great discussions about #GenerativeAI ! @eolivelli
4
8
335
Replying to @langstream_ai
@langstream_ai team meetup in Milan, at the @HuaweiItalia HQ! Join the On Travel Information Retrieval Meetup meetup.com/it-IT/london-info… @eolivelli
1
5
125
Implementing RAG with @OpenSearchProj + @awscloud BedRock + S3 ? Yes, you just need two YAML files and you're ready to go in production! Learn how in this tutorial: youtu.be/bG6pHbQ2U9I?si=Tj5n… @langstream_ai #GenAI #GenAIRevolution
3
5
237
1/8 🧵 Building a chatbot that can answer questions about private data? Let's talk about using Retrieval Augmented Generation (RAG) pattern. This pattern helps large language models (LLMs) provide fresh answers about topics they weren't trained on. Here's a detailed breakdown.👇
1
9
16
2,525
#RAG: going from the theory to real production-ready applications is not easy, but if you use @langstream_ai that’s another story New blog post that explains step by step how to do it langstream.ai/2023/10/13/rag…
2
2
193
📢Checkout my new blog post if you're delving into the world of streaming SQL workloads, seeking to slash data/ML infrastructure costs by millions, or frustrated by the poor optimization coordination across processing and storage systems in your data org! bit.ly/46JkSkM
1
4
12
1,179
I had an awesome moment introducing @langstream_ai to a fully packed room at @ApacheCon . So much energy right now in the GenAI field !
5
10
1,112
LangStream retweeted
The @LangStream_AI + #Milvus integration is here! Learn how this pairing provides greater flexibility when building and running Generative #AI applications👇🏾
LangStream now supports @milvusio vector database. Now you have more options when building and running LLM apps with LangStream. Find out more 👇 langstream.ai/2023/09/29/int…
7
8
1,251
The open source @langstream_ai framework combines data streaming with generative AI. I talk with project lead @cdbartholomew from @DataStax about what LangStream contributes to the emerging AI app ecosystem. thenewstack.io/langstream-an…
12
15
919
If you’re building #GenerativeAI applications you should really take LangStream into consideration. You can define RAG pipelines in a declarative way, which is why LangStream is unique in the market
3
5
238
DataStax takes aim at event driven AI with open source LangStream project venturebeat.com/data-infrast…
1
7
13
3,760
The team is excited and really delivering! Incredible number of new features in LangStream 0.0.22.
🔔We just released LangStream 0.0.22 with tons of cool new features: - Milvus vector database support: open source project Milvus and his cloud version - Zilliz - are now pluggable as a vector database in your pipeline. - JDBC and vectors: you can now write to vector databases that are JDBC compliant. Ready to store vectors on PostgreSQL? - Topics replication factor: when declaring a topic, you can now specify the replication factor with the property topics.<TOPIC>.options.replication-factor: 3. - Batched AI Embeddings: the compute-embeddings agent is now fully async and uses batches to improve throughput. - mini-langstream: mini-langstream is a new command that creates a local LangStream cluster, based on Minikube. Try it with brew (MacOS): brew install LangStream/langstream/mini-langstream && mini-langstream start. - New agent ai-text-completions: for autonomous agents you can now use the OpenAI and VertexAI text models. Have you heard about gpt-3.5-turbo-instruct or text-bison? Here you go. - Multiple AI services in the same application: now you can mix different AI service types/configurations to use different models in the same application. - JDBC table assets: leverage assets to let LangStream handle the JDBC table configuration for you. - Embedded vector database in langstream docker run: when you test the application on Docker, you can now start up an in-memory vector database to verify your vector-based pipelines in a couple of seconds. - CLI default profile: allow updates to the default profile. - GRPC-based Python agents: the Python runtime has been rewritten to be faster, more stable, and composable with Java agents. Checkout the full release notes: github.com/LangStream/langst… Subscribe to the project releases by clicking Watch -> Releases: github.com/LangStream/langst… Please add your ⭐️ to spread the project!
1
6
146
Excellent blog post by the legendary @spyced on the challenges of implementing performant Vector Search. Be sure to read it if like me you enjoy when things get technical ! dtsx.io/3LwEAbk #VectorDB
2
4
603
This week we launched @langstream_ai. With #LangStream you can unleash the power of Large Language Models (LLMs). Whether it's from #OpenAI, #Google, or #HuggingFace, we've got you covered. What to build high-quality prompts in real time? 🧵👇
1
2
6
894
Replying to @lotaneja
Great question! With @Cassandra, you can store both the data AND embeddings in the same DB. The managed cloud version @AstraDB also has streaming so it's easy to do @LangStream_AI or @langchain with CassIO.org. Free interactive examples ➡️ dtsx.io/3Rmj3Ws
1
1
6
92
What is 𝗠𝗮𝗰𝗵𝗶𝗻𝗲 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗺𝗼𝗱𝗲𝗹 𝗖𝗼𝗺𝗽𝗿𝗲𝘀𝘀𝗶𝗼𝗻 and why you might need it? When you deploy Machine Learning models to production you need to take into account several operational metrics that are in general not ML related. Today we talk about two of them: 👉 𝗜𝗻𝗳𝗲𝗿𝗲𝗻𝗰𝗲 𝗟𝗮𝘁𝗲𝗻𝗰𝘆: How long does it take for your Model to compute inference result and return it. 👉 𝗠𝗼𝗱𝗲𝗹 𝗦𝗶𝘇𝗲: How much memory does your model occupy when it’s loaded for serving inference results. Both of these are important when considering operational performance and feasibility of your model deployment in production. 👉 Large models might not fit on a device if you are considering edge deployments. 👉 Latency of retrieving inference results might make business case non feasible. E.g. Recommendation Engines require latencies in milliseconds as ranking has to be applied as the user browses your website or app in real time. 👉  … You can influence both latency and size by applying different Model Compression methods, some of them are: ➡️ 𝗣𝗿𝘂𝗻𝗶𝗻𝗴: this method is mostly used in tree-based and Neural Network algorithms. In tree-based ones we prune leaves or branches from decision trees. In Neural Networks we remove nodes and synapses (weights) while trying to retain ML performance metrics. ✅ In both cases the output is a reduction in the number of Model Parameters and model size. ➡️ 𝗞𝗻𝗼𝘄𝗹𝗲𝗱𝗴𝗲 𝗗𝗶𝘀𝘁𝗶𝗹𝗹𝗮𝘁𝗶𝗼𝗻: this type of compression is achieved by: 👉 Training an original large model which is called the Teacher model.  👉 Training a smaller model to mimic the Teacher model by transferring knowledge from it, this model is called the Student model. Knowledge in this context can be extracted from the outputs, internal hidden state (feature representations) or a combination of both. 👉 We then use the “Student” model in production. ➡️ 𝗤𝘂𝗮𝗻𝘁𝗶𝘇𝗮𝘁𝗶𝗼𝗻: a most commonly used method that doesn’t have much to do with Machine Learning. This approach uses fewer bits to represent model parameters. 👉 You can apply quantization techniques both during the training and after the models has been already trained. 👉 In regular Neural Networks what is quantized are Model Weights, Biases and Activation Functions. 👉 Most usual quantization is from float to integer (32 bits to 8 bits). ➡️ … [𝗜𝗺𝗽𝗼𝗿𝘁𝗮𝗻𝘁]: while the above methods do reduce the size of the models, allowing them to be deployed in production scenarios, there is almost always a reduction in accuracy so be careful and evaluate it accordingly. -------- Follow me to upskill in #MLOps, #MachineLearning, #DataEngineering, #DataScience and overall #Data space. Also hit 🔔to stay notified about new content. 𝗗𝗼𝗻’𝘁 𝗳𝗼𝗿𝗴𝗲𝘁 𝘁𝗼 𝗹𝗶𝗸𝗲 💙, 𝘀𝗵𝗮𝗿𝗲 𝗮𝗻𝗱 𝗰𝗼𝗺𝗺𝗲𝗻𝘁! Join a growing community of Data Professionals by subscribing to my 𝗡𝗲𝘄𝘀𝗹𝗲𝘁𝘁𝗲𝗿: newsletter.swirlai.com
4
63
2
207
27,795
LangStream takes the hard part of managing generative AI application at scale and let you have fun with LLMs and integrations Try it now github.com/LangStream/langst…
Introducing #LangStream, the easiest way to build streaming #GenAI applications. Join the race to harness the power of Gen AI. Ready to build? Learn more: langstream.ai/2023/09/13/int… #AI #LLMs #vectordb #opensource #streaming #Kafka #Kubernetes
3
4
240