Short CourseIntermediate1 Hour 24 Minutes

Building AI Applications with Haystack

Instructors: Tuana Çelik

Haystack
  • Intermediate
  • 1 Hour 24 Minutes
  • 8 Video Lessons
  • 7 Code Examples

What you'll learn

  • Learn how Haystack components, pipelines, and document stores can be used to build custom AI applications.

  • Build a RAG pipeline and extend its ability by creating custom components.

  • Use conditional branching, self-reflecting agents, and function calling to build complex pipelines and apps.

About this course

In Building AI Applications with Haystack you will learn a high-level orchestration framework that helps ensure your applications are flexible, extendible, and maintainable, even as the technology stack changes, user needs arise, and new features are added.

Using a framework can provide common features out of the box that significantly speeds up the development process. Haystack offers robust and flexible architecture and framework for building AI applications. It manages complexity and helps you focus more on developing your application at a higher level of abstraction.

Throughout the course, you will develop several projects, including a RAG app, a news summarization app, a chat agent with function calling, and a self-reflecting agent with loops.

What you’ll do: 

  • Learn about the core abstractions and unique building blocks of the Haystack framework and see how these elements can be combined for various AI use cases.
  • Build a RAG pipeline by using Haystack 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 fall back to web-search when the LLM does not have the context needed to fully respond to the user’s query.
  • Build a self-reflecting agent for named entity recognition with a Haystack pipeline that is able to loop 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.

Start building exciting LLM applications and optimizing your development workflow using Haystack.

Who should join?

Anyone who has basic Python knowledge and wants to learn to build and customize complex apps using Haystack!

Course Outline

8 Lessons・7 Code Examples
  • Introduction

    Video4 mins

  • Haystack Building Blocks

    Video with code examples14 mins

  • Build Customized RAG

    Video with code examples12 mins

  • Custom Components -- News Summarizer

    Video with code examples14 mins

  • Fallbacks with Branching Pipelines

    Video with code examples13 mins

  • Self-Reflecting Agents with Loops

    Video with code examples11 mins

  • Chat Agent with Function Calling

    Video with code examples13 mins

  • Conclusion

    Video1 min

  • Appendix – Tips and Help

    Code examples1 min

Instructor

Tuana Çelik

Tuana Çelik

Developer Relations Lead at Haystack by Deepset

Course access is free for a limited time during the DeepLearning.AI learning platform beta!

Want to learn more about Generative AI?

Keep learning with updates on curated AI news, courses, and events, as well as Andrew’s thoughts from DeepLearning.AI!