Skip to content

Comments

Add support for Azure AI Knowledge Base#421

Merged
NipunaRanasinghe merged 15 commits intoballerina-platform:1.3.xfrom
dan-niles:azure-ai-search-knowledge-base-support
Oct 27, 2025
Merged

Add support for Azure AI Knowledge Base#421
NipunaRanasinghe merged 15 commits intoballerina-platform:1.3.xfrom
dan-niles:azure-ai-search-knowledge-base-support

Conversation

@dan-niles
Copy link
Contributor

Purpose

Addresses wso2/product-ballerina-integrator#1571

This PR introduces support for creating and configuring Azure AI Search Knowledge Bases in BI.

  • Renamed "Vector Knowledge Base" to "Knowledge Base" to support multiple knowledge base types in the future.
  • Added local index support for knowledge bases to integrate with the Search API.
  • Added connection line rendering when an embedding provider is used within a service.

Goals

Enable users to create and configure Azure AI Search Knowledge Bases in addition to the existing Vector Knowledge Base option. This expands BI’s AI integration capabilities by supporting Azure Search as a retrieval backend for semantic search and RAG (Retrieval-Augmented Generation) workflows.

Approach

  • Created KnowledgeBaseSearchCommand to retrieve available knowledge bases from local index.
  • Updated KnowledgeBaseBuilder to support creating Azure AI Search Knowledge Bases
  • Updated CodeAnalyzer to detect all types of knowledge bases
  • Updated design diagram to detect knowledge bases and connections used within them

@dan-niles dan-niles force-pushed the azure-ai-search-knowledge-base-support branch from ccdfe59 to 6a07abe Compare October 26, 2025 14:32
Update tests
@dan-niles dan-niles force-pushed the azure-ai-search-knowledge-base-support branch from 6a07abe to cdfe011 Compare October 26, 2025 14:33
Copy link
Contributor

@NipunaRanasinghe NipunaRanasinghe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LS changes LGTM

@NipunaRanasinghe NipunaRanasinghe merged commit ed47ad1 into ballerina-platform:1.3.x Oct 27, 2025
3 checks passed
@dan-niles dan-niles deleted the azure-ai-search-knowledge-base-support branch October 27, 2025 04:04
@dan-niles dan-niles restored the azure-ai-search-knowledge-base-support branch October 27, 2025 04:13
@dan-niles dan-niles deleted the azure-ai-search-knowledge-base-support branch October 27, 2025 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants