Overview
Azure AI Search is Microsoft’s AI-powered information retrieval platform. Through Langdock’s integration, you can perform semantic vector searches across your indexed documents directly from conversations.Authentication: API Key
Category: AI & Search
Availability: All workspace plans
Category: AI & Search
Availability: All workspace plans
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 (1536 dimensions for OpenAI’s text-embedding-ada-002)
Setup
1
Navigate to Integrations
In Langdock, go to Integrations and find Azure AI Search in the integrations list.
2
Enter Your Credentials
Fill in the required configuration fields (see table below).
3
Test the Connection
Save the integration - Langdock will validate that your index exists and is accessible.
4
Start Searching
Tag the integration with
@ in any chat or add the Search documents action to your assistant to search your indexed documents.Configuration Parameters
Required Fields
| Field | Description | Example |
|---|---|---|
| Name | A name for this connection | Company Knowledge Base |
| API Key | Admin key from Azure Portal -> Keys | Your admin key |
| Index Name | The exact name of your Azure AI Search index | langdock-prod-company |
| URL | Your Azure AI Search service endpoint | https://my-service.search.windows.net |
| Search Field | The vector field name in your index schema | contentVector |
| Top K | Number of search results to retrieve | 5 |
Optional Fields
| Field | Description | Default |
|---|---|---|
| Embedding Dimension | Dimension of your vector embeddings | 1536 |
| Embedding Model | Model used for embeddings (display only) | Ada v2 |
| Select | Comma-separated fields to return | All fields |
| Filter | OData filter expression to narrow results | None |
Where to find your credentials:
- Service URL: Azure Portal -> Your Search service -> Overview -> copy the
Urlfield - API Key: Azure Portal -> Your Search service -> Keys -> copy an admin key
Available Actions
Search Documents
azureaisearch.searchDocuments
Performs semantic vector search across your indexed documents.
Requires Confirmation: No
Parameters:
query(VECTOR, Required): Vector query for semantic search
value: Array of search result objects containing:@search.score: Relevance score@search.highlights: Highlighted text snippets- Field values from the indexed documents
@odata.count: Total number of results@odata.nextLink: Link to next page of results (if available)
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
| Issue | Cause | Solution |
|---|---|---|
| Index not found | Index name mismatch or doesn’t exist | Verify the exact index name in Azure Portal matches your configuration (case-sensitive) |
| No search results | No documents or invalid embeddings | Confirm documents are uploaded with valid 1536-dimension embeddings in your vector field |
| Low search scores | Embedding model mismatch | Ensure all documents use the same embedding model (e.g., text-embedding-ada-002) |
| Authentication failed | Invalid or expired API key | Copy a fresh Admin Key from Azure Portal -> Keys |