Skip to content

Comments

Add semantic search configs for Azure Knowledgebase#26

Merged
MohamedSabthar merged 4 commits intoballerina-platform:mainfrom
SasinduDilshara:add-azure-knowledgebase
Nov 3, 2025
Merged

Add semantic search configs for Azure Knowledgebase#26
MohamedSabthar merged 4 commits intoballerina-platform:mainfrom
SasinduDilshara:add-azure-knowledgebase

Conversation

@SasinduDilshara
Copy link
Contributor

Add semantic search configs for Azure Knowledgebase

@SasinduDilshara SasinduDilshara force-pushed the add-azure-knowledgebase branch from d8a791f to 22b65de Compare November 3, 2025 09:42
@codecov
Copy link

codecov bot commented Nov 3, 2025

Codecov Report

❌ Patch coverage is 0% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 28.22%. Comparing base (bc8b4e3) to head (48501b3).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
ballerina/azure_ai_search_knowledgebase.bal 0.00% 23 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
- Coverage   28.76%   28.22%   -0.54%     
==========================================
  Files           5        5              
  Lines         737      751      +14     
  Branches      223      228       +5     
==========================================
  Hits          212      212              
- Misses        525      539      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

};

# Details for semantic configuration in Azure AI Search.
public type SemanticConfigurationDetails record {|
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
public type SemanticConfigurationDetails record {|
public type SemanticConfigurations record {|

search:ConnectionConfig searchClientConnectionConfig = {},
index:ConnectionConfig indexClientConnectionConfig = {}) returns ai:Error? {
index:ConnectionConfig indexClientConnectionConfig = {},
SemanticConfigurationDetails? semanticConfigurationDetails = ()) returns ai:Error? {
Copy link
Member

Choose a reason for hiding this comment

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

if the SemanticConfigurationDetails just have the name can't we introduce a string value instead of record?
semanticConfigurationName ?

@MohamedSabthar MohamedSabthar merged commit 32d6f50 into ballerina-platform:main Nov 3, 2025
2 of 4 checks passed
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.

2 participants