Know a great AI tool or AI news source? Submit it to AiByts

Haystack

78 stories

Stories

← Back to the latest stories
  • RAG with Llama 3.1

    Simple RAG example on the Oscars using Llama 3.1 open models and the Haystack LLM framework. Installation ! pip install transformers-haystack sentence-transformers-haystack bitsandbytes Authorization you need an Hugging Face account you need to accept Meta conditions here:…

    Haystack by deepset7 min read
  • Haystack RAG Pipeline with Self-Deployed AI models using NVIDIA NIMs

    In this notebook, we will build a Haystack Retrieval Augmented Generation (RAG) Pipeline using self-hosted AI models with NVIDIA Inference Microservices or NIMs. The notebook is associated with a technical blog demonstrating the steps to deploy NVIDIA NIMs with Haystack into production.

    Haystack by deepset6 min read
  • 🐦‍⬛ Information Extraction with Raven

    Notebook by Stefano Fiorucci In this experiment, we will use Large Language Models to perform Information Extraction from textual data. 🎯 Goal: create an application that, given a URL and a specific structure provided by the user, extracts information from the source.

    Haystack by deepset10 min read
  • RAG Evaluation with Prometheus 2

    Evaluating the responses of Language Models and LLM-based applications often involves using model-based metrics that do not require ground truth labels.

    Haystack by deepset28 min read
  • Question Answering with Amazon Sagemaker, Chroma and Haystack

    Notebook by Sara Zanzottera and Bilge Yucel Amazon Sagemaker is a comprehensive, fully managed machine learning service that allows data scientists and developers to build, train, and deploy ML models efficiently.

    Haystack by deepset4 min read
  • Web-Enhanced Self-Reflecting Agent

    Notebook by Bilge Yucel In this notebook, we will use Ollama, Gemma2 and Haystack to build a self-reflecting agent that can leverage web resources to augment its self-reflection and decision-making capabilities.

    Haystack by deepset5 min read
  • PDF-Based Question Answering with Amazon Bedrock and Haystack

    Notebook by Bilge Yucel Amazon Bedrock is a fully managed service that provides high-performing foundation models from leading AI startups and Amazon through a single API. You can choose from various foundation models to find the one best suited for your use case.

    Haystack by deepset5 min read
  • Advanced RAG: Automated Structured Metadata Enrichment

    by Tuana Celik ( LI, Twitter) This is part one of the Advanced Use Cases series: 1️⃣ Extract Metadata from Queries to Improve Retrieval cookbook & full article 2️⃣ Query Expansion cookbook & full article 3️⃣ Query Decomposition cookbook & the full article 4️⃣ Automated Metadata Enrichment In this…

    Haystack by deepset7 min read
  • Advanced RAG: Query Decomposition and Reasoning

    by Tuana Celik ( LI, Twitter) This is part one of the Advanced Use Cases series: 1️⃣ Extract Metadata from Queries to Improve Retrieval cookbook & full article 2️⃣ Query Expansion cookbook & full article 3️⃣ Query Decomposition & the full article 4️⃣ Automated Metadata Enrichment Query…

    Haystack by deepset8 min read
  • Cohere v3 for Multilingual QA

    Notebook by Bilge Yucel Multilingual Generative QA Using Cohere and Haystack In this notebook, we’ll delve into the details of multilingual retrieval and multilingual generation, and demonstrate how to build a Retrieval Augmented Generation (RAG) pipeline to generate answers from multilingual hotel…

    Haystack by deepset9 min read
  • 🦍 Information Extraction with Gorilla

    Notebook by Stefano Fiorucci In this experiment, we will use Large Language Models to perform Information Extraction from textual data. 🎯 Goal: create an application that, given a text (or URL) and a specific structure provided by the user, extracts information from the source.

    Haystack by deepset12 min read
  • Prompt Optimization with 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?

    Haystack by deepset59 min read
  • Using Pre-Built Agents from Agent Pack

    Level: Advanced Time to complete: 25 minutes Components/Packages Used: agent-pack-haystack ( create_advanced_rag_agent, create_deep_research_agent), Agent, InMemoryDocumentStore Prerequisites: Haystack 3.1 or later, an OpenAI API key, and a Tavily API key (free tier available) Goal: After…

    Haystack by deepset13 min read
  • Building a Chat Agent with Function Calling

    Level: Advanced Time to complete: 20 minutes Components Used: InMemoryDocumentStore, SentenceTransformersDocumentEmbedder, SentenceTransformersTextEmbedder, InMemoryEmbeddingRetriever, ChatPromptBuilder, OpenAIChatGenerator, Agent Prerequisites: You must have an OpenAI API Key and be familiar with…

    Haystack by deepset10 min read
  • Haystack 3.1.1

    Release Notes v3.1.1 Bug Fixes The OpenAI Chat Completions and Responses converters no longer raise on an assistant message with no content parts, which a Chat Generator returns when it discards a malformed tool call.

    Haystack by deepset1 min read
  • Preprocessing Different File Types

    Level: Beginner Time to complete: 15 minutes Goal: After completing this tutorial, you’ll have learned how to build an indexing pipeline that will preprocess files based on their file type, using the FileTypeRouter.

    Haystack by deepset7 min read
  • Creating a Multi-Agent System with Haystack

    Level: Advanced Time to complete: 20 minutes Components Used: Agent, AgentTool, DuckduckgoApiWebSearch, OpenAIChatGenerator, DocumentWriter Prerequisites: You need Haystack 3.1 or newer, an OpenAI API Key, and a Notion Integration set up beforehand Goal: After completing this tutorial, you’ll have…

    Haystack by deepset11 min read

Showing 36 of 78 stories

Load more stories
AiByts Weekly Brief

Get the top AI news and tools straight to your inbox every week.

Weekly · AI news

Join 15,000+ AI enthusiasts