Open-source AI orchestration framework by @deepset_ai. Build context-engineered agents & RAG systems in Python. Discord for support → discord.gg/AH8a5Tm8vb

One Name. One Product Family. One Look 💙 We’re unifying the Haystack ecosystem at @deepset_ai under one name and a new logo, reflecting its role as a framework, a community, and the foundation of our enterprise platform. 👉 Read the announcement: haystack.deepset.ai/blog/ann…
3
18
2,126
We are thrilled to announce the stable version of Haystack 2.0 🎉 We’ve been working on this for a while and now Haystack 2.0 has everything to help you implement composable LLM applications that are easy to use, customize, extend, optimize, evaluate, and deploy to production. We are hosting an office hour session about Haystack 2.0 tomorrow in the Haystack Discord 🧡 Drop by to ask anything about this release and Haystack 👉 discord.gg/WTXcUW6w?event=12… Learn more about the release 👉 haystack.deepset.ai/blog/hay… Give Haystack 2.0 a try 👉 haystack.deepset.ai/overview… Check out all features in our release notes 👉 haystack.deepset.ai/release-… #HaystackV2 #LLM #opensource #Python
2
27
78
20,236
Prompt Optimization with Haystack and DSPy ​ When building applications with LLMs, writing effective prompts is a long process of trial and error 🔄 Often, if you switch models, you also have to change the prompt 😩 What if you could automate this process? ​ 💡 That's where DSPy comes in - a framework designed to algorithmically optimize prompts for Language Models. By applying classical machine learning concepts (training and evaluation data, metrics, optimization), DSPy generates better prompts for a given model and task. ​ Recently, we explored combining DSPy with the robustness of Haystack Pipelines. Check out our experimental notebook: 🧪📓 github.com/deepset-ai/haysta… ​ Here's how it works: ▶️ Start from a Haystack RAG pipeline with a basic prompt 🎯 Define a goal (in this case, get correct and concise answers) 📊 Create a DSPy program, define data and metrics ✨ Optimize and evaluate -> improved prompt 🚀 Build a refined Haystack RAG pipeline using the optimized prompt
3
13
38
10,243
Do you like to try new open LLMs (like Qwen 2 😉)? ​ In Haystack, open models are first-class citizens. 🤗 @huggingface is the home of open models and we are very keen to support their different libraries and solutions. ​ For example, HuggingFaceLocalGenerator, based on Transformers, is perfect if you have a GPU or use Colab to load and experiment with models locally. ​ Starting from Haystack 2.1.0, we have also improved our existing integration with the ecosystem of Hugging Face APIs, with our HuggingFaceAPIGenerator 👇 ​ 🆓 Serverless Inference API: lightweight option to experiment with popular models without local loading. Can also be used on Colab. ​ 💰 Inference Endpoints: easily deploy models for production use cases, pay per hour, support for different cloud providers. ​ 🏠 self-hosted Text Generation Inference: deploy open models on your own machine or infrastructure. TGI, a toolkit for efficiently serving LLMs, recently switched to an Apache 2.0 license! ​ 📚 Docs: docs.haystack.deepset.ai/doc…
1
9
26
15,303
🦙 @Ollama lands in the Haystack ecosystem! Ollama is the equivalent of 🐳 Docker for LLMs: an easy way to pack and run quantized LLMs everywhere, even in cheap laptops (wo GPUs). This integration, driven by community demand, was also implemented by the community! Learn more about the integration: haystack.deepset.ai/integrat…
1
5
27
3,011
Cohere Rerank 3 + Haystack 2.0 @cohere just dropped new great models for reranking 👇 · Context length of 4k for significant improvement on longer documents · Multilingual coverage of 100+ languages · Improved latency You can use it right away in Haystack to improve your pipelines! ✨ Can be helpful in search pipelines (keyword-based, vector-based, hybrid) and RAG pipelines. Haystack docs: docs.haystack.deepset.ai/doc… Cohere: txt.cohere.com/rerank-3/ 🙏 Thanks to our contributor Anushree Bannadabhavi for the wonderful work on this integration.
5
26
3,211
🗣️ Introducing @AssemblyAI to the Haystack ecosystem! Check out the new integration with AssemblyAI models to effortlessly transcribe audio, generate summaries, or execute speaker diarization within your pipelines. 📯 Read the announcement: assemblyai.com/blog/announci… 🧑‍💻 Learn about the integration and see more examples: haystack.deepset.ai/integrat…
7
25
2,253
Hello world 👋 We're new here. We're the team that develops Haystack, the open-source framework for LLM orchestration by @deepset_ai. Follow us for regular updates and news on Haystack.
2
7
25
5,880
👋 Say hello to BM42 🔎 BM42 is a new ranking algorithm implemented by @qdrant_engine to overcome the limitations of BM25 for hybrid RAG pipelines. It uses Transformer models for better quantification of term importance. See it in action with Haystack: github.com/deepset-ai/haysta…
5
21
1,948
Get ready for the first-ever Advent of Haystack!! We're super excited to share that we are releasing Haystack 2.0-Beta, our first official release for what will become Haystack 2.0, which you can try out by completing 10 challenges we will be publishing throughout the month of December 🎄 Give Haystack 2.0-Beta a whirl, submit your challenges, and give us feedback 🫶 Starting December 4th, we will be publishing challenges. Follow us to keep track. 👉 haystack.deepset.ai/advent-o…
7
19
1,315
Hey, do you learn best by building? Join us for Hack Night, March 26th, at @github HQ in San Francisco. Featuring @weaviate_io, @jamdotdev, & @neosynccloud. 🙊 No talks, just LLM hackin' 🎁 earn prizes for completing coding jams register here: lu.ma/GitHubHackNight-March2…
7
19
3,817
llama.cpp is one of the first tools that comes to mind when running LLMs locally. It uses the efficient quantized GGUF format, dramatically reducing memory requirements and accelerating inference without a GPU! 🏎️ Thanks to @awinml, Haystack now has llama.cpp integration that enables the use of local LLMs in Haystack pipelines with LlamaCppGenerator! 📘 LlamaCppGenerator docs: docs.haystack.deepset.ai/v2.… 🧩 Haystack Integration: haystack.deepset.ai/integrat… 📦 pip package: pypi.org/project/llama-cpp-h… 🧠 Example GGUF model: huggingface.co/TheBloke/open…
1
5
19
778
Turn your AI ideas into reality with @AndrewYNg and @tuanacelik in a new @DeepLearningAI course: "Building AI Applications with Haystack"! In one hour we'll take you from understanding Haystack’s building blocks: components and pipelines, to creating smart chat agents that invoke services. Can’t wait to see what you are going to build! Details 👇
Build and customize complex AI applications with a flexible framework in this new short course, Building AI Applications with Haystack. Created in collaboration with @deepset_ai, and taught by @tuanacelik, who is the developer relations lead for Haystack at deepset. Generative AI technology is changing rapidly and it can be challenging to integrate APIs from different LLMs, vector databases, and various tools such as web search. In this course, you will learn how to use the Haystack framework to make your development process more modular, allowing you to manage complexity and focus more on building your application. In detail, you’ll: - Build a RAG pipeline using Haystack’s main building blocks – components, pipelines, and document stores. - Create custom components in your pipeline by building a Hacker News summarizer that extends your app’s ability to access APIs. - Use conditional routing to create a branching pipeline with a fallback to web search mechanism when the LLM does not have the necessary context to respond to the user's query. - Build a self-reflecting agent for named entity recognition that loops using an output validator custom component. - Create a chat agent using OpenAI's function-calling capabilities which allow you to provide Haystack pipelines as tools to the LLM, enhancing that agent's capabilities. By the end of this course, you will learn a high-level orchestration framework that can help make your applications flexible, extendible, and maintainable, even as the technology stack changes, new user needs arise, and you add new features to your application. Please sign up here: deeplearning.ai/short-course…
1
1
19
5,782
Feature appreciation post. Sometimes, code can get complex. So why not simply draw? ✍️🎨 With Haystack 2.0, pipelines will be very flexible. Sometimes, it's nice to quite literally look at them! An example of a RAG pipeline with a recentness ranker👇 Simply: pipeline.draw()
5
21
2,593
We're incredibly happy to be a launch partner for @nvidia NIMs, a collection of brand new containerized microservices designed for optimized inference of state-of-the-art AI models. ​ Haystack provides components that allow you to use both embedding and generative LLM NIMs. ​ To help you get started, @tuanacelik and @annthurium have partnered with Anshul Jindal and Meriem Bendris from NVIDIA to provide a full and in-depth walk through on: · Creating RAG pipelines with NIMs · Hosting your own NIMs with Kubernetes · Using embedding NIMs that index documents and embeddings to @qdrant_engine · 🚀 Plus, deploying your whole pipeline using Hayhooks! ​ 👉 haystack.deepset.ai/blog/hay…
4
18
1,335
The retrieval step for RAG pipelines is one of the most important steps to get right. But what happens when dealing with multilingual data such as hotel reviews? The answer is multilingual embedding models 🌎 Check out the new article by @bilgeycl to learn how to build a multilingual RAG pipeline for hotel reviews using @cohere models and Haystack 🏡 🔗 haystack.deepset.ai/blog/mul…
3
20
1,901
🚀 Boost your RAG pipeline with up to 10x faster retrieval 🚀 Check out our latest blog to learn how to: ⚡️ Increase throughput 💸 Cut memory costs 🎯 Maintain top accuracy All with fastRAG (@intel Labs) and Haystack (@deepset_ai) 🤝 Read more 👇 haystack.deepset.ai/blog/cpu…
1
5
19
889
We've got some great updates for the Haystack community this week 👇 🚀 A new release for Haystack 2.0-Beta is available, adding support for: - OpenAI models via @Azure - Hugging Face TEI Embedders New Integrations 🦙 @OLLAMA support was added 🍍 @pinecone is now available for Haystack 2.0 🔥 @qdrant_engine is now also available for Haystack 2.0 📅 Meetup Alert 🇬🇧 We're coming to London with @TYTN_ai and @JinaAI_ on January 25th You can join us in person at the @balderton offices, or virtually! In person: lu.ma/ygypmdgs Virtual: meetup.com/open-nlp-meetup/e…
3
18
954
How does RAG handle situations when the information it retrieves doesn't have the answer? Here are some examples: 1. Default Response for Empty or Insufficient Retrieval: If the Retriever returns an empty result or the retrieved information is insufficient, the LLM may not have the necessary context to generate a meaningful response. In such cases, the generative model might produce responses indicating that it couldn't find the information or return a generic response. 2. Retry Retrieval: Some implementations of RAG may have mechanisms to handle inadequate retrievals. They can retry the retrieval process using different query variations or more complex queries to obtain better results. This can help improve the chances of finding relevant information. 3. Fallback Mechanisms: Some RAG implementations may include fallback mechanisms. If the model cannot retrieve or generate a satisfactory answer, it may fall back on alternative strategies, such as making a web search (like the code snippet below) with the query and using that information to generate a response. Build your first RAG system with Haystack! Follow this tutorial 👇 haystack.deepset.ai/tutorial…
1
6
18
1,683
Calling the Berlin GenAI community, join us along with @neo4j @qdrant_engine and mixedbread.ai for a meetup on April 25th 🚀 We have 4 great speakers. Our very own @bilgeycl will be joined by: · @atitaarora from Qdrant: RAG Evaluation in Action: Building, Tackling Cold Start Challenges, and Optimizing Your RAG with Qdrant and RAGAS · @mesirii from neo4j: Superpower your GenAI-Applications with GraphRAG using Haystack and Neo4j · @aaxsh18 from mixedbread.ai Register here 👉 lu.ma/berlin-genai-meetup
1
8
18
2,712
Build your AI applications with Haystack and @couchbase! We're excited to announce the latest integration between Haystack and @couchbase, bringing you flexibility in building your AI solutions. Whether you're running your projects on: • @Docker for seamless containerization, • Couchbase Cloud (Capella) for a fully managed database experience, • or Couchbase Server on various operating systems, You can now index your documents effortlessly with the new CouchbaseDocumentStore. Getting started is a breeze—just plug in your credentials, and you’re ready to supercharge your RAG applications! 🚀 To find more info, visit the Haystack x Couchbase integration page: haystack.deepset.ai/integrat…
2
7
18
1,106
🔎 Sparse embedding retrieval in Haystack! Keyword-based retrieval methods like BM25 are efficient but lack semantic understanding. On the other hand, dense vector retrieval requires considerable computational resources and may struggle in new domains. 💡 SPLADE, a sparse embedding retrieval technique, tries to combine the strengths of both methods. Leveraging Language Models like BERT, SPLADE evaluates the relevance of query terms and performs automatic term expansion. SPLADE is promising and we are happy to introduce this technique into the Haystack LLM framework! 🎉 This integration features: 🔹FastEmbed Sparse Embedders 🔹new Qdrant retrievers. This integration owes much to the dedication of our community member @corentinm_py 👏 and to the help of @qdrant_engine folks 🙌. Curious to see SPLADE in action? Check out the notebook Sparse Embedding Retrieval with Qdrant and FastEmbed 📓 github.com/deepset-ai/haysta…
4
17
1,449
🎉 Join us for the Haystack 2.0 meetup and release celebration lu.ma/sf-haystack-meetup 📆 March 28th. 6-9 PM, 1974 Union St, San Francisco 💬 Speakers @crtr0, @tuanacelik, and @craigsdennis will inspire you about fresh AI topics -- everything from #TaylorSwift to #LLamaGuard.
9
16
2,999
How do you safeguard LLM conversations? You can use Llama Guard 🦙 💂🏻 Join us next Friday for a live stream with @Cloudflare’s @craigsdennis and @tuanacelik on adding guardrails for your LLM based Haystack chat apps using Llama Guard 👇 lu.ma/cloudflare-haystack-li…
5
17
1,261
🌟 Haystack has officially crossed 15.000 stars on GitHub! 🌟 🫶 We're beyond excited to see so many of you joining the journey of building cutting-edge AI applications. This milestone isn't just a number—it's a symbol of the incredible community that's been growing around Haystack 🧩 60+ integrations including @AIatMeta @ollama @langfuse @nvidia 📚 Numerous tutorials, cookbooks, articles 💙 250+ contributors 👾 Over 3.2k members on discord …and more!
1
4
16
1,457
Hold on to your nodes, graph database fans. The @neo4j Haystack integration just dropped. This integration comes with a document store that relies on Vector search indexes and two retrievers. One to query documents using vector embeddings, and another one that can be used to extract documents from Neo4j using arbitrary Cypher queries. Learn how to get started here: haystack.deepset.ai/integrat…
4
14
1,117
What would Homer Simpson say to Spider-Man on a donut quest? 🍩 🤔 ​ Inspired by this idea, @theanakin87 experimented with @NousResearch ( @teknium)'s Character Codex dataset and took LLMs on a wild ride to bring conversations to life! ​ Curious about what Fred Astaire and Corporal Dwayne Hicks would talk about? 👾 Run the cookbook and find out!👇 ​ 🛠️ Tech Stack: ​ 🏗️ Haystack by @deepset_ai for orchestration 🤗 Dataset huggingface.co/datasets/Nous… 🧠 Llama-3-8B-Instruct by @metaai 🦙🗂️ @llamafile (by Mozilla) for running the model locally ​ 🧑‍🍳 Cookbook: github.com/deepset-ai/haysta…
2
5
14
2,501
Just a few days ago, @OpenAI announced JSON mode. And a few hours later Haystack is ready to support format enforcement, all with open-source tooling. Welcome to the LM Format Enforcer which just joined our Integrations page 🫶 and thank you to @noamgat for this great contribution! Check out how to use it 👉 haystack.deepset.ai/integrat…
1
4
15
1,148
Haystack 2.0 now integrates with @AnthropicAI models, including the powerful Claude 3 model family, via the Anthropic API! Get your API key and start building with Haystack and Anthropic! 🚀 🧑‍🍳 Cookbook: github.com/deepset-ai/haysta… 🧩 Integration: haystack.deepset.ai/integrat…
6
15
699
We're super happy to share our new integration with @arizeai and @ArizePhoenix Simply initialize the HaystackInstrumentor and trace your Haystack pipelines 👇
10
14
1,887
🔍 Every LLM builder wants better visibility into their pipelines. 🔮 With the new @langfuse integration, you can better understand cost, usage, and the end to end flow of information for any particular call to a Haystack pipeline. 😍 Read more 👉 haystack.deepset.ai/blog/lan…
1
6
14
1,223
The Haystack ecosystem is growing! Today, we’re happy to announce the new @Gradient_AI_ integration for Haystack 2.0-Beta 🚀 With this new integration, you can use models fine-tuned and deployed using the Gradient platform in your Haystack indexing and retrieval-augmented generative (RAG) pipelines: - Create embeddings for documents using the GradientDocumentEmbedder - Fine-tune and deploy LLMs on Gradient - Use your models with the GradientGenerator For more info and examples 👇 haystack.deepset.ai/blog/usi…
1
3
14
1,392
😳 Who among us hasn't accidentally filed a duplicate support ticket or issue? ⏱️ With @JinaAI_'s new reranker and Haystack 2.0 custom components, you can proactively detect duplicate tickets and save time as a new one is being created while seeing a list of the most relevant tickets! ➡️ Try it for yourself: jina.ai/news/retrieve-jira-t… 📓 Read the docs: docs.haystack.deepset.ai/doc…
6
13
1,563
It's been a big week for Haystack integrations. The @DataStax Astra DB extension is now live! Astra DB makes vector search a breeze. It supports many embedding models and vector sizes, even within the same database. And it's free to try. Learn how to use the extension so Astra can power your Haystack pipelines in @annthurium 's blog 💙 haystack.deepset.ai/blog/ast…
1
4
13
1,604
🚀 Build and Scale Gen AI Applications with Haystack and NVIDIA NIM 🚀 NVIDIA NIM is now globally available! Learn to deploy Haystack RAG pipelines with NIMs in the cloud, on-premise or even in air-gapped environments. haystack.deepset.ai/blog/hay…
3
14
928
👩🏻‍🍳 The Haystack Cookbook 🎉 All examples and showcases of using different model providers, vector databases and more in one place 👇 👉 github.com/deepset-ai/haysta…
We finally did it 🎉 There are so many great examples of Haystack being used in very specific scenarios and together with several other technologies, and we've finally started to collect them in one place. I present to you, the 👩🏻‍🍳 Haystack Cookbok. We will of course be adding more to this repo, and welcome any contributions that add notebooks. So far we have examples with: - Google Vertex AI for Gemini - Mixtral-8x7B by @MistralAI - Multilingual QA with @cohere - RAG with generators from @Gradient_AI_ - legal docs QA with embeddings from @JinaAI_ - podcast QA using Whisper from @OpenAI ..and the list goes on. Looking forward to seeing this repo grow and honestly, I'm happy for future me who can just go to ONE place to find the short showcases we built 💙 👉 github.com/deepset-ai/haysta…
4
14
647
Yesterday the @qdrant_engine team released Qdrant Hybrid Cloud 🙌 Check out this tutorial that walks you through building a private chatbot for interactive learning together with this new hybrid cloud offering and Haystack. · Use @MistralAI's Mistral-7B-Instruct for answer generation · Deploy your application with Hayhooks 🚀 · Have everything in your private environment with @RedHat OpenShift Follow the tutorial here: qdrant.tech/documentation/ex…
4
13
1,222
Today’s the day! 🎉 Kicking off Useless Fun AI Build-A-Thon with @Cloudflare and @AssemblyAI. Can't wait to see what amazing projects and ideas come out of it 👀
1
8
14
16,467
📋 @JinaAI_'s improved embedding models are optimized for wrangling long complex documents. 💥 With our new integration, you can take advantage of these models in your Haystack 2.x pipelines. 👩🏻‍⚖️ Learn more here, where @annthurium is using the new Jina embedders to summarize legal documents: haystack.deepset.ai/blog/usi…
10
13
1,028
Great news Haystack users, @weaviate_io is now available in Haystack 2.0 Beta too, as well as Haystack 1.x 🚀 We're super excited to see this great vector database make the move to Haystack 2.0. Check out the documentation to get started 👇 docs.haystack.deepset.ai/v2.…
3
7
13
7,408
Another challenge is fresh out of the oven 🧁 This time, discover prompt templating in Haystack 2.0-Beta! In this edition, the elves ask you to create a prompt that will allow for referenced question-answering 📚 Here's a hint, the prompt below uses Jinja templating and asks for answers based on 'documents'. Complete the challenge here 👉 haystack.deepset.ai/advent-o…
3
14
1,647
🎊 2024 is off to a quick start for Haystack. Here are the updates from the first day of the year: 🧑‍🍳 We have a new collection of example notebooks: Haystack Cookbook github.com/deepset-ai/haysta… 🩺 A new article by @annthurium: Building a Healthcare Chatbot with @MistralAI Mixtral 8x7b, Haystack, and Pubmed haystack.deepset.ai/blog/mix… 🗞️ Haystack Newsletter with the Highlights of 2023 is sent to your mailbox. See the highlights: emails.deepset.ai/%F0%9F%8E%… Sign up for the Haystack Newsletter: landing.deepset.ai/haystack-…
3
13
737
The new Llama3 models by @AIatMeta are impressive. There are 4 variants: 8B, 70B, 8B instruct, 70B instruct. More to come! 🚀 🧑‍🍳🥂 Example Cookbook of RAG on Oscar night data 👉 Stack: Haystack + @SnowflakeDB Arctic embeddings + Llama3 8B instruct 🧡 colab.research.google.com/gi…
3
13
733
While generative models like GPT models are invaluable for a wide range of natural language tasks and trained on extensive text data they do come with a significant limitation. They have a knowledge cutoff point, which marks the end of their training data and restricts them from accessing new information beyond that point. RAG addresses this limitation by equipping Language Models (LLMs) with direct access to external information sources through retrieval. This enhancement empowers these models to provide real-time, up-to-date responses without the need for fine-tuning, making them highly valuable for various applications. Here's an example prompt you would use for RAG in Haystack 2.0👇
3
14
835
Evaluation is an important step before bringing your LLM-based applications to production. Last week, we hosted a livestream with @qdrant_engine and @ragas_io on just this topic. ​ Thank you to @atitaarora and @Shahules786 for taking part 🧡 You can now find the recording on YouTube 👇 ​ piped.video/6NTZqpc4V-k?si=UKEX…
2
13
454
The Haystack PromptNode is super flexible. It allows you to connect to and prompt a number of LLMs. It accepts flexible prompt templates which define the manner of interaction with LLMs. And we're really excited for you to make use of this component in the upcoming @AnthropicAI Hackathon 👇 Join us this weekend in London: partiful.com/e/pQHQrWPg1A6P3… Here's how to start using Claude with Haystack:
1
4
14
1,567
🚀 New Integration Alert! 🚀 Connect @apify's scraping power with Haystack pipelines in just a few steps! Extract data from websites, social media (Facebook, Instagram, TikTok), search engines, and more, convert to Haystack Documents, and perform advanced generation like a pro 🌐 Get started with `pip install apify-haystack` and explore 2000+ Actors at the Apify Store 🔥
1
4
12
1,045
Knowledge graphs can provide you rich context so why not combine them with vector search? @mesirii explained all about GraphRAG and how to use @neo4j + Haystack together to build your LLM application 🙌
4
11
1,097
The Context Dashboard from @getcontextai allows you to have a peak into how your LLM pipelines are being used, and potentially detect points of improvement before you even ship to production 🚢 And now, it's available to Haystack users with the new ContextAIAnalytics component, which logs interactions with your Haystack pipelines to the Context Dashboard. For example, see what languages this pipeline has been used with 👇 Thank you to our friends at @getcontextai for this addition to the Haystack ecosystem. Try it out in the starter example here 👉 haystack.deepset.ai/integrat…
4
13
756
Convert evaluation reports to pandas dataframes! 🚀 🫶 This small utility function can be quite useful. Just one line to convert reports to a dataframe which can be used to easily sort and filter evaluation results Learn about evaluation in Haystack 👉 docs.haystack.deepset.ai/doc…
2
10
1,046
Last month, we released a new stable version: Haystack 2.0 🎉 At @PyConDE, @SilvanoCerza explained all about our rewrite story and how we simplified our component and pipeline APIs to make sure that creating LLM apps is easier than ever! Read more about Haystack 2.0 👉haystack.deepset.ai/blog/hay… #PyConDE #PyDataBerlin
4
12
439
We're happy to announce that @awscloud Amazon Sagemaker is now supported in Haystack 2.0! Deploy your model, instantiate a SagemakerGenerator, and you're ready to ask questions 💬 🧑‍🍳 SagemakerGenerator Cookbook: colab.research.google.com/gi… 📘 SagemakerGenerator docs: docs.haystack.deepset.ai/v2.… 🧩 Integration: haystack.deepset.ai/integrat…
3
12
668
It's great seeing newer and better open-source LLMs and testing them out with Haystack. The latest Zephyr models by @huggingface were tested out by @tuanacelik and @theanakin87 using the preview for Haystack 2.0. You can read their full guide here 👇 haystack.deepset.ai/blog/gui…
2
7
12
1,210
Congratulations to the @qdrant_engine team for the release of Qdrant Hybrid Cloud 🚀 Stay tuned to discover how to use this with you Haystack pipelines 👏
We’re excited to announce the launch of Qdrant Hybrid Cloud, the first-ever managed vector database you can deploy anywhere—cloud, on-premise, or edge— designed for true deployment flexibility, data sovereignty, privacy, and control. Why is this big? 🚀 Deployment flexibility and data sovereignty are critical as the industry moves from prototyping to deploying production-ready AI applications. Easy integration with existing systems complements these advantages, streamlining development and operations. Key benefits of the Hybrid Cloud: ✔️ Deploy Anywhere: Deploy Qdrant in any environment of choice with our Kubernetes-native design. ✔️ Full Data Sovereignty: Enjoy privacy control with decoupled data and control planes with complete database isolation. ✔️ Fully Managed: Enjoy the benefits of a managed vector database within your own environment. ✔️ Effortless Setup: One-line installation by simply adding your environment to your Qdrant Cloud account. Thank you to our trusted launch partners for their collaboration: @OracleCloud, @RedHat, @Vultr, @OVHcloud, @Scaleway, @DigitalOcean, STACKIT, @llama_index, @langchain, @AirbyteHQ, @CivoCloud, @JinaAI_, @Aleph__Alpha, @Haystack_AI by @deepset_ai.
2
1
13
842
Two days to go! Join @craigsdennis and @tuanacelik for a live stream on how to use Llama Guard with @CloudflareDev to incorporate safeguarding into your LLM conversations and interactions! Register here and join us on Zoom on Friday, April 12th 👉 lu.ma/cloudflare-haystack-li…
8
10
4,192
Want to challenge Llama 3? 🦙🦙🦙 ​ Introducing 🧑‍🏫 AutoQuizzer, a fun and educational LLM quiz generator built with 🦙 Llama 3 8B Instruct,⚡ @GroqInc, and Haystack! 💙 ​ 🤹 How It Works: • Provide a URL -> Instantly get a multiple-choice quiz. • Play it yourself or let the LLM take over in two modes: 📕 Closed book: Uses its own knowledge. 🔎 🌐 Web RAG: Searches Google for top snippets to answer. ​ Give it a try on @huggingface Spaces 🤗 huggingface.co/spaces/deepse…
2
10
2,294
Last, @craigsdennis is showing us building guardrails for chat applications with @cloudflare, Haystack 2.0 pipelines and custom components 🚀
1
9
402
⭐️ Evaluation is coming to Haystack 2.0 🚀 Say hello to three new integrations. This time, we're introducing evaluation frameworks: Ragas, DeepEval, and UpTrain Start using these integrations with our tutorial, and learn more about model-based evaluation with our new guide! - Tutorial: haystack.deepset.ai/tutorial… - Guide: docs.haystack.deepset.ai/v2.…
3
11
839
Do you know how to build indexing pipelines with Haystack 2.0? Have a look at this new post by @zansara_dev that covers all the basics 📚
#RAG apps require clean, searchable data to help the #LLM produce correct answers. Do you know how to manage it with @Haystack_AI 2.0? 🔍 Let's talk about this often-forgotten side of RAG apps: indexing pipelines 📚 📬Check out my post here: zansara.dev/posts/2023-11-05… #AI #NLP
1
11
442
A huge shoutout to our winners at the Useless Fun AI Build-A-Thon! 🏆🌟 The projects were beyond fun and creative. Special thanks to our amazing judges for their thoughtful insights and for helping select the best of the best 🙌 Congratulations to everyone, and thank you for making this event so amazing! 🚀
4
12
1,824
🚨 New tutorial alert 📚 Learn how to embed metadata to improve retrieval results! In this tutorial, you'll compare the results of a simple retriever and another one that uses embeddings where meta information has also been included 👇 haystack.deepset.ai/tutorial…
4
12
719
Haystack 2.0 now supports embedding documents and queries with @huggingface Optimum! By leveraging ONNX optimizations, speed up your indexing pipeline by up to 5x! 🧩 Integration haystack.deepset.ai/integrat… 📖 Docs docs.haystack.deepset.ai/doc…
3
11
475
You can use @Google Gemma in your Haystack pipelines, via @huggingface components. 🔓 Gemma is a new open-source Gemini model released today, with exciting safety and performance features. 🤖 Get chatting with Gemma in our latest cookbook 👉 colab.research.google.com/gi…
4
11
634
We are ready to celebrate Haystack 2.0 with you and friends from @Cloudflare and @DataStax!
3
11
542
ICYMI, weekly Haystack updates: 📓 Hypothetical Document Embeddings (HyDE) in Haystack - blog article haystack.deepset.ai/blog/opt… 🤖 Takeoff server by @titanml_ allows you to run open-source LLMs locally. It's now available as a Haystack integration haystack.deepset.ai/integrat…. 🌲 @pinecone now supports Haystack 2.0! 💫 Astra DB + Haystack 2.0 Livestream - April 3rd 6PM CET / 9AM Pacific, Register here lu.ma/haystack-datastax-live… Our friends at @DataStax also wrote a new blog post about the Haystack integration datastax.com/blog/using-gena…. ➡️ New 1.25.0 release! See the notes github.com/deepset-ai/haysta… for details about newly supported openAI embedding models, bugfixes, and version dependency updates.
5
10
781
We are so happy with the reception to Haystack 2.0's launch! If you want to write production-ready Python NLP apps with a stable, transparent, customizable framework, give it a try here: haystack.deepset.ai/overview… Our open-source community are the real heroes here - we can’t thank you enough. Over the past few years of rapid change in the LLM universe, our users, testers, and contributors have taken the time to give us invaluable feedback about their needs. Rewriting is a big decision; community involvement has given us the confidence that we’re moving in the right direction. 2.0 is a better foundation that will serve developers’ needs for years to come. If you haven’t tried out Haystack 2.0, there are loads of materials to get you started: 📖 Documentation: docs.haystack.deepset.ai/doc… 📘 Tutorials: haystack.deepset.ai/tutorial… 🧑‍🍳 Cookbooks: github.com/deepset-ai/haysta… 📚 Blog Posts: haystack.deepset.ai/blog Happy building! #HaystackV2 #OpenSource #LLM #python
7
11
1,318
🎉 Haystack 2.0.0-beta.5 is released The new version comes with some breaking changes but also new features and enhancements. ⚠️ Breaking Changes 🗺️ Import paths of DocumentJoiner, InMemoryDocumentStore and InMemoryEmbeddingRetriever have changed 🔨 The model_name_or_path and model_name parameters of all Embedders, Generators, and various other components are renamed to model ⚙️ GPU/CPU device management changed, introducing a ComponentDevice instead of strings as device representations ⭐️ Features and Enhancements 🚀 New NamedEntityExtractor`component 🌡️ EvaluationResult has a calculate_metrics function for computation of evaluation metrics 📄 Single metadata dictionaries can be provided as inputs to MarkdownToDocument, TikaDocumentConverter and AzureOCRDocumentConverter 🏬 URLCacheChecker works with any type of data in the DocumentStore and we renamed it to CacheChecker. Check out the full release notes for more github.com/deepset-ai/haysta…
3
11
1,011
📆 Don't miss out on this event starting in 45 minutes! @_lewtun and @lvwerra will explore transformers, NLP tasks that transformers can help you solve, and @timomo1234 will explain how to use transformers with Haystack 🚀 There will be a Q&A, so come with your questions! 🙋
Join our hosts, @_lewtun & @lvwerra for the O’Reilly Book Club: Natural Language Processing with Transformers OCT 24, 10AM EDT. Learn about a variety of NLP tasks transformers can help you solve. Presented thanks to @deepset_ai. oreil.ly/XI00x
5
11
1,013
✨ Advent of Open Source with @zilliz_universe Day 4: Haystack ✨ Thank you to the people at @zilliz_universe for hosting these 24 days of open-source 🩵 Today is day 4 and the featured project of the day is our very own Haystack, an open-source LLM framework that allows you to build production-scale NLP applications. What's more, you can get started with our very own Advent of Haystack starting today! 🚀 Our repo: github.com/deepset-ai/haysta… Our first Advent of Haystack challenge going live today: haystack.deepset.ai/advent-o… Once you get started, if you really like the project and want to get deeper, check out our GitHub issues: github.com/deepset-ai/haysta… Get all the details at zilliz.com/advent-of-code #OSSAdventOfCode2023
4
11
566
Next up, @tuanacelik is on the stage, explaining the details of her HN demo and showing the full power of Haystack 2.0 🎉
1
10
448
Do you know that Pipelines are going to be much more powerful in Haystack 2.0? 🦾 Check out this blog post from @zansara_dev to learn all the details 🧐
Another post for my @Haystack_AI 2.0 series is out! 📨 I've talked at length about the Pipeline concept and its quirks. In Haystack 2.0 we have a plan to fix them all: it's called Canals. Want to learn more? zansara.dev/posts/2023-10-26… #AI #LLM #Python
1
9
323
💡 Sometimes a single query hides multiple questions! For example: “Did Microsoft or Google make more money last year?” 🤔 To find the right answer, we need to decompose it into smaller questions like “How much did Google make?” and “How much did Microsoft make?” Then, we reason through each answer to find the truth. Are you curious about how this works in practice? Read @tuanacelik's Query Decomposition piece from our "Advanced RAG" series for all the details on tackling complex questions easily! haystack.deepset.ai/blog/que…
1
12
5,016
✨ Benchmarking Models for SAS: Key Insights✨ We evaluated 3 sentence-transformers models with various top_k and chunk_size settings. Here’s what we found: 🔹 all-MiniLM-L6-v2 & msmarco-distilroberta-base-v2 outperform all-mpnet-base-v2 🔹 msmarco-distilroberta-base-v2 shows greater stability and less variance 🔍 Dive into our detailed comparison using the ARAGOG dataset in our latest blog post 👉 haystack.deepset.ai/blog/ben…
2
10
1,072
Self-hosting and deploying LLMs yourself is something that we get many questions about. Takeoff server by @titanml_ allows you to run open-source LLMs locally. Such as models from Meta, Mistral and Alphabet. And it's now available as a Haystack integration 🙌 Thank you to our friends at Titan ML for building this package 🙏 · Install takeoff_haystack · Run your model of choice (example here is Llama 7B) · Build RAG pipelines and applications using the new TakeoffGenerator More instructions here 👉 haystack.deepset.ai/integrat…
1
3
10
1,095
The team at @zilliz_universe is hosting an Advent of Code starting today 💜 Each day features a new open-source AI project and you can earn points and win swag. Be on the lookout for projects like Milvus, and Haystack on December 4th, the same day our Advent of Haystack kicks off 🚀 zilliz.com/advent-of-code
1
5
11
731
🌲 You can now seamlessly integrate @pinecone into your @Haystack_AI pipelines! Install the integration, get your free PINECONE_API_KEY, and you're ready to index your files! 💫 🧩 Integration: haystack.deepset.ai/integrat… 📖 Docs: docs.haystack.deepset.ai/v2.…
4
9
1,732
Release alert 🚨 We're happy to announce that we've just released Haystack 2.2.0 🐞 Lots of bug fixes 💬 A ChatPromptBuilder that can have its prompt template changed at runtime 🌳 BranchJoiner which will eventually replace Multipplexer Release notes 👉 haystack.deepset.ai/release-…
1
10
328
Introducing CohereChatGenerator, a powerful addition to the Haystack 2.0 generators family. Thanks to @sunilkumrdash, you can seamlessly integrate the @cohere Chat models into your Haystack pipelines with the latest features like connectors and streaming 🚀 📘 CohereChatGenerator docs: docs.haystack.deepset.ai/v2.… 🧠 Cohere /chat API docs: docs.cohere.com/reference/ch… 🧩 Integration: haystack.deepset.ai/integrat…
3
9
415
Going to @pycon US? Looking to connect with other engineers in AI? 🥂 We are partnering with @datastax to throw a happy hour just a few blocks from the conference. Come hang with us! 📆 May 17th, 2024, 6pm - 9pm 🍻 The Standard Market & Pint House lu.ma/pycon-ai-happyhour
1
9
1,350
We had a great time doing the live stream with @DataStax on Wednesday 🚀 Don't worry if you missed it! You can see both sessions on YouTube now 👇 🎸 SwiftieGPT with Astra DB and Haystack by @crtr0 👉 piped.video/yy_orQQkUto?si=wt3r… 😎 Hacker News TLDRs with Haystack 2.0 Custom Components with @tuanacelik 👉 piped.video/SZJUsFObB9g?si=v_OG…
2
9
1,331
Another "Road to 2.0" session is just over! With @zansara_dev we explored how to build #RAG Pipelines, from a simple query to ChatGPT up to retrieving up-to-date info from the web to ground the #LLM's answers ✨ Get the notebook and the recording 🎥 drive.google.com/drive/folde…
3
11
756
Another beta release of Haystack 2.0 is ready 🚀 🤗 Enjoy the new HuggingFaceLocalChatGenerator 📈 We've started to add evaluation metrics to Haystack 2.0 ready to be used when we introduce full evaluation support: F1, Exact Match, Semantic Answer Similarity 🗝️ We've introduced a new Secret type to provide consistent API for any component that requires secrets for authentication. Also, check out our new tutorials for Haystack 2.0 - Preprocessing and Indexing different file types - Serializing Pipelines - Filtering Documents with Metadata Full release notes 👉 github.com/deepset-ai/haysta… Tutorials 👉 haystack.deepset.ai/tutorial…
4
10
688
Let's welcome the @milvusio support in Haystack 2.0 by our friends @zilliz_universe! Install the `milvus-haystack` integration, start the Milvus instance, and index your files using MilvusDocumentStore! 💫 🧩 Integration: haystack.deepset.ai/integrat…
3
11
1,855
Wake up babe, new hackathon sponsor just dropped! ​ 🥗 Huge thanks to @AssemblyAI for sponsoring lunch 📣 AssemblyAI makes powerful AI transcription models, which integrate seamlessly with Haystack pipelines. Learn more here: haystack.deepset.ai/integrat… 📆 Come build some silly multi-modal audio demos with us - register here: lu.ma/useless-fun-ai-buildat…
2
1
10
2,467
Can Business Intelligence use LLMs to generate SQL queries for complex databases? 🤖 Explore our approaches for LLM-based text-to-SQL in "Using Generative AI to Query Large BI Tables: Our Findings" 📚👇 haystack.deepset.ai/blog/bus…
1
4
11
1,104
📊 Evaluating RAG Pipelines RAG pipelines consist of two fundamental steps: Retrieval and Generation. To evaluate a full RAG pipeline, we must assess each step individually and as part of the overall process. The retrieval step can be evaluated using statistical metrics that require labels. Evaluating the generation step is more complex. Model-based metrics are often used, where an LLM acts as the 'evaluator'. 🚀 Haystack now has inherent support for both model-based and statistical metrics for RAG pipeline evaluation: • Model-based metrics: Faithfulness, Semantic Answer Similarity, Context Relevance 👉 docs.haystack.deepset.ai/doc… • Statistical metrics: Answer Exact Match, Document Mean Reciprocal Rank (MRR), Document Mean Average Precision (MAP), and more 👉 docs.haystack.deepset.ai/doc… 📚 Learn how to evaluate RAG pipelines with Haystack in our tutorial 👉 haystack.deepset.ai/tutorial…
1
5
10
813
The 10th and final challenge for Advent of Haystack is out ☃️🎉 Explore how you can serialize pipelines into a format of your choice by creating a custom 'marshaller'. In this challenge, help Elf @massi_451 make sense of a pipeline that's been saved with MessagePack 📜 👇 haystack.deepset.ai/advent-o…
2
10
1,347
We’re coming to London soon! Looking forward to see what everyone builds with Haystack and @AnthropicAI 🥳
We’re excited to host our next Anthropic Hackathon in London. Come build apps with the Claude API, connect with expert judges, and win prizes. Nov 4-5. Apply here: partiful.com/e/pQHQrWPg1A6P3…
4
11
1,298
Do want to build #LLM applications? You can easily go from simple starter code to fully customized RAG with Haystack. 🏁 To start your building journey with LLMs, check out Getting Started 🔗 haystack.deepset.ai/overview…
1
3
11
1,690
Congratulations to @JinaAI_ for releasing a new multilingual embedding model 🚀 You can start using jina-embeddings-v3 with Haystack today. Check out our updated integration page 👇 haystack.deepset.ai/integrat…
Finally, jina-embeddings-v3 is here! A frontier multilingual embedding model with 570M parameters, 8192-token length, achieving SOTA performance on multilingual and long-context retrieval tasks. It outperforms the latest proprietary models from OpenAI and Cohere, and outperforms multilingual-e5-large-instruct across all multilingual tasks. In fact, as of today, jina-embeddings-v3 is the best multilingual model and ranks 2nd on the MTEB English leaderboard for models < 1B parameters.
11
333
Haystack 2.0-Beta is out for you to try!! 🚀 A lot of work has been going into updating the Haystack framework to make it even more powerful! Today, we’re incredibly happy to announce that we have released a Beta version for you to try out our first commitment to the new design. ✨ Try out Haystack 2.0-Beta by participating in the Advent of Haystack: 10 challenges throughout the month of December, each introducing a new feature of Haystack 2.0-Beta. Day 1 is out now 👉 haystack.deepset.ai/advent-o… Check out the available features in our release notes 👉 github.com/deepset-ai/haysta… What is Haystack 2.0-Beta and why are we making this upgrade? Read our announcement article 👉 haystack.deepset.ai/blog/int…
4
11
1,073
Evaluation is an important step when building RAG applications. At our All Things LLM meetup, @atitaarora shared all the details about RAG evaluation using @qdrant_engine, @ragas_io, Haystack and @mixedbreadai!
1
9
816
📅 Evaluation is a crucial step before bringing your LLM-based application to production. Join our livestream with @qdrant_engine and @ragas_io to learn all about RAG evaluation and the power of Haystack 🚀 Register now👇 lu.ma/7vc43x9q
1
10
1,687
The fully managed service that provides high-performing foundation models - Amazon Bedrock 🧗🏻‍♀️ - Now available with Haystack 2.0 🚀 The Haystack integrations family is growing so fast, it's hard to keep up! ️ You can now use text generation models from: @AI21Labs, @AnthropicAI, @cohere, @Meta, @StabilityAI, and @aws in your Haystack pipelines 🚀 📚 Learn how to build applications with AmazonBedrockGenerator 👇 haystack.deepset.ai/blog/pdf…
5
8
568
This Thursday, @Julian_Risch will host a Live Coding 2.0 session to unravel the power of the DocumentJoiner component 📄 Learn how to seamlessly integrate it into indexing pipelines, pair it with file converters, and elevate RAG pipeline retrieval through hybrid retrieval 🌳 Join us on Discord: discord.gg/Xdyunuyt?event=11… 🧑‍💻
4
10
485
Three 3️⃣ ways of using LLMs in Haystack 2.0 (for now! 👀): 1️⃣ 'HuggingFaceLocalGenerator': This component provides seamless access to @huggingface models running on your device. 2️⃣ 'HuggingFaceTGIGenerator': This component effortlessly connects to models deployed on the Text Generation Inference (TGI) backend, as well as those hosted on @huggingface inference endpoints or within the rate-limited Inference API tier. 3️⃣ 'GPTGenerator': This component supports gpt-4 and gpt-3.5-turbo family of models from @OpenAI. Here's how to initialize these components for #RAG pipelines 👇
1
3
10
489
📺 New livestream alert 🚨 Join @JohnGilhuly from @arizeai and @tuanacelik on September 26th for a discussion and demo on tracing for agentic AI applications. You'll also get to see a demo on how to trace your Haystack pipelines with @ArizePhoenix - a recent addition to our suite of integrations. Register here 👉 lu.ma/dky2hvoj And learn more about Arize Phoenix for Haystack here 👉haystack.deepset.ai/integrat…
2
4
10
1,238