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

retrieval augmented generation

18 stories

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
  • 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
  • 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
  • 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
  • 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
  • Hybrid RAG Pipeline with Breakpoints

    This notebook demonstrates how to setup breakpoints in a Haystack pipeline. In this case, we will set up break points in a hybrid retrieval-augmented generation (RAG) pipeline.

    Haystack by deepset7 min read
  • Conversational RAG Agent using InMemoryChatMessageStore

    Level: Advanced Time to complete: 20 minutes Components Used: Agent, ChatPromptBuilder, InMemoryBM25Retriever OpenAIChatGenerator Archived Components Used: InMemoryChatMessageStore, ChatMessageRetriever, ChatMessageWriter Prerequisites: You need an OpenAI API Key Goal: After completing this…

    Haystack by deepset8 min read
  • Evaluation

    Evaluation measures performance using metrics like precision, recall, and relevancy, providing a clear picture of your pipeline’s strengths and weaknesses using LLMs or ground-truth labels.

    Haystack by deepset5 min read
  • Advanced RAG: Query Expansion

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

    Haystack by deepset10 min read
  • Calculating a Hallucination Score with the OpenAIChatGenerator

    In this cookbook we will show how to calculate a hallucination risk based on the research paper LLMs are Bayesian, in Expectation, not in Realization and this GitHub repo, https://github.com/leochlon/hallbayes. In this notebook, we’ll use the OpenAIChatGenerator from haystack-experimental.

    Haystack by deepset5 min read

Showing 18 of 18 stories

You're all caught up.

AiByts Weekly Brief

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

Weekly · AI news from Haystack by deepset

Join 15,000+ AI enthusiasts