Skip to content

Comments

Add examples for the module#7

Merged
Nuvindu merged 5 commits intoballerina-platform:mainfrom
Nuvindu:examples
Aug 31, 2025
Merged

Add examples for the module#7
Nuvindu merged 5 commits intoballerina-platform:mainfrom
Nuvindu:examples

Conversation

@Nuvindu
Copy link
Contributor

@Nuvindu Nuvindu commented Aug 27, 2025

Purpose

$subject

@codecov
Copy link

codecov bot commented Aug 27, 2025

Codecov Report

❌ Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.93%. Comparing base (2fbba96) to head (5655cb3).
⚠️ Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
ballerina/vector_store.bal 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
- Coverage   65.58%   64.93%   -0.65%     
==========================================
  Files           2        2              
  Lines         154      154              
  Branches       49       51       +2     
==========================================
- Hits          101      100       -1     
- Misses         53       54       +1     

☔ 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.

Comment on lines +35 to +36
// This is the embedding of a sample book entry
ai:Vector bookEmbedding = [0.1, 0.2, 0.3];
Copy link
Member

Choose a reason for hiding this comment

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

Is a complete/proper example too complicated?

Either way, would be better to have multiple embeddings where only one or few match.

@Nuvindu Nuvindu merged commit 5655cb3 into ballerina-platform:main Aug 31, 2025
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