Learn how Haystack components, pipelines, and document stores can be used to build custom AI applications.
Building AI Applications With Haystack
Instructor: Tuana Çelik
Earn an accomplishment with PRO

- Intermediate
- 1 hour 25 mins
- 8 Video Lessons
- 6 Code Examples
- 1 Graded Assignment PRO
- Earn an accomplishment with PRO
- Instructor: Tuana Çelik
Haystack- Learn more aboutMembership PRO Plan
What you'll learn
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・6 Code Examples- IntroductionVideo・4 mins
- Haystack Building BlocksVideo with Code Example・14 mins
- Build Customized RAGVideo with Code Example・12 mins
- Custom Components -- News SummarizerVideo with Code Example・14 mins
- Fallbacks with Branching PipelinesVideo with Code Example・13 mins
- Self-Reflecting Agents with LoopsVideo with Code Example・11 mins
- Chat Agent with Function CallingVideo with Code Example・13 mins
- ConclusionVideo・1 min
- Quiz
Graded・Quiz
・10 mins

Elevate your learning experience with Pro
Upgrade to Pro and gain unlimited accomplishments on your resume
Instructor
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!

