Skip to content
ajan.io

Docs menu

On this page

Azure AI Search

Connect Azure AI Search to ajan to run semantic vector searches over your indexed documents

Overview

Azure AI Search is Microsoft's AI-powered information retrieval platform. Once connected, you can perform semantic vector searches across your indexed documents directly from ajan conversations.

Prerequisites

Before setting up the integration, make sure you have:

  • An Azure subscription with access to Azure AI Search
  • An Azure AI Search service instance with at least one index
  • An admin API key for your Azure AI Search service
  • Documents uploaded to your index with vector embeddings

Setup

In ajan, go to Integrations and find Azure AI Search in the integrations list.

Enter your credentials

Fill in the required configuration fields (see the table below).

Test the connection

Save the integration β€” ajan will validate that your index exists and is accessible.

Start searching

Tag the integration with @ in any agent or add the Search documents action to your agent to search your indexed documents.

Configuration Parameters

Required Fields

FieldDescriptionExample
NameA name for this connectionCompany Knowledge Base
API KeyAzure Portal β†’ Settings β†’ Keys β†’ Generate a primary admin keyYour admin key
Index NameThe exact name of your Azure AI Search indexajan-prod-company
URLYour Azure AI Search service endpointhttps://my-service.search.windows.net
Search FieldThe vector field name in your index schemacontentVector
Top KNumber of search results to retrieve5

Optional Fields

FieldDescriptionDefault
Embedding ModelModel used for embeddings (display only)Ada v2
SelectComma-separated fields to returnAll fields
FilterOData filter expression to narrow resultsNone

Common Use Cases

  • Enterprise Knowledge Search β€” Search across internal documentation, policies, and knowledge bases using natural language
  • Research & Analysis β€” Find relevant research papers, reports, and data from large document collections
  • Customer Support β€” Quickly retrieve product information, FAQs, and support articles to answer customer queries
  • Content Discovery β€” Surface relevant content from archives, wikis, or document repositories

Troubleshooting

IssueCauseSolution
Index not foundIndex name mismatch or doesn't existVerify the exact index name in Azure Portal matches your configuration (case-sensitive)
No search resultsVector field name incorrect or filter preventing outputVerify the vector field name matches your index schema, and check that any OData filter expression is not excluding all results
Low search scoresEmbedding model mismatchEnsure all documents use the same embedding model (e.g., text-embedding-ada-002)
Authentication failedInvalid or expired API keyCopy a fresh admin key from Azure Portal β†’ Keys