Quickstart: Agentic retrieval in Azure AI Search using JavaScript

Quickstart sample MIT license badge

This sample demonstrates the fundamentals of agentic retrieval using Azure AI Search. You create a search index, a knowledge source that targets the index, and a knowledge base that integrates an LLM for query planning and answer synthesis.

What's in this sample

File Description
package.json Project file that defines dependencies
sample.env Environment variable template for configuration
src/index.js Main script that demonstrates the complete agentic retrieval workflow

Documentation

This sample accompanies Quickstart: Agentic retrieval using JavaScript. Follow the documentation for prerequisites, setup instructions, and detailed explanations.

Next step

You can learn more about Azure AI Search on the official documentation site.