-
Notifications
You must be signed in to change notification settings - Fork 42
Adding Oracle Database Vector Store Connector #327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
psilberk
wants to merge
62
commits into
microsoft:main
Choose a base branch
from
psilberk:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
bc2c366
Adding Oracle Vector Store
psilberk ba1aa96
Upsert and Main sample
psilberk 7d476fc
Split out the data into its own module
fmeheust bf0c167
Removed dependencies
fmeheust 9a7c650
Merge branch 'microsoft:main' into main
psilberk a643fe2
Merge pull request #1 from fmeheust/split-data-module
psilberk 376d8d2
Added oracle store
fmeheust 458ace8
Added Oracle store
fmeheust 8bef1ff
Added reference to parent's pom in sqlite
psilberk a514b28
Any tag filter
fmeheust d8b6895
Clean pom and 1st Sample
psilberk e3ea6a2
Merge branch 'main' into pom_and_demos1
psilberk e5e4ae3
Merge pull request #2 from psilberk/pom_and_demos1
psilberk df07b40
Sample wip #2
psilberk f0099cf
Merge pull request #3 from psilberk/pom_and_demos1
psilberk 805f5fa
Add test for IndexKind.UNDEFINED and IndexKind.HNSW
norah-li 1ca9439
Remove old implementation
psilberk 92339ab
Merge pull request #4 from psilberk/pom_and_demos1
psilberk c3bfafb
Added constants for type mapping and matched ODP type mapping when po…
fmeheust bc0f640
Adding Book class and pom fixes
psilberk 3cbee72
Missing getter methods and wrong null check
fmeheust 03456d1
Merge remote-tracking branch 'origin/add-oracle-store' into add-oracl…
norah-li c3db036
add test for key type
norah-li 2306e21
enable test for COSINE_DISTANCE, COSINE_SIMILARITY, DOT_PRODUCT in Ho…
norah-li 0bf9199
Refactoring
fmeheust 434b9e6
Add test for supported data type(timestamp and uuid not included)
norah-li 89bc5ea
Merge remote-tracking branch 'origin/add-oracle-store-tests' into add…
fmeheust 1c83d62
Test and bug fixes
fmeheust a6fac68
BigDecimal mapping and value range
fmeheust 2f421a8
Any tag filter
fmeheust cf99cf7
Added constants for type mapping and matched ODP type mapping when po…
fmeheust a9bc539
Refactoring
fmeheust 17fce47
Add test for IndexKind.UNDEFINED and IndexKind.HNSW
norah-li a9e8213
add test for key type
norah-li b3e1f4b
Add test for supported data type(timestamp and uuid not included)
norah-li ec31376
Test and bug fixes
fmeheust cb4f726
BigDecimal mapping and value range
fmeheust 6bd3a8e
Upsert and Main sample
psilberk 2e31333
Books demo with vector similarity search
psilberk 32f3ddc
Fix pom for demo
psilberk e87089e
Merge pull request #6 from psilberk/pom_and_demos1
psilberk b7d5ab3
Fixing samples poms
psilberk 67aec2b
JsonTypeInfo annotation
fmeheust ef2050a
Merge branch 'add-oracle-store' of https://github.com/psilberk/semant…
fmeheust 0e044a0
Javadod and comments + map UUID to string and other small changes
fmeheust 113ae52
Merge remote-tracking branch 'origin/main' into add-oracle-store
fmeheust 9eaad94
Merge branch 'main' into add-oracle-store
fmeheust abd6d42
Fixed merge issues
fmeheust 219a4d8
add extended test
norah-li 756e1ad
resolve conflict of git rebase
norah-li 578c733
Changes after Michael's code review
fmeheust dd6be5e
add more test to extended test
norah-li f5c9cfa
Set search vector as array of float[] insteand of List as string
fmeheust d20908a
Merge branch 'add-oracle-store' of https://github.com/psilberk/semant…
fmeheust d6f63a5
Merge pull request #7 from psilberk/add-oracle-store
psilberk 2a8d372
Clean up and remove deps from pom
psilberk c793b82
Remove unused imports
psilberk 3b299ee
Copyright and license
fmeheust 632e388
Samples
fmeheust 9662092
Merge pull request #8 from psilberk/copyright-and-license
psilberk 129ad0d
Merge branch 'microsoft:main' into main
psilberk 68f7914
Addressing review comments
psilberk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>com.microsoft.semantic-kernel</groupId> | ||
<artifactId>semantickernel-parent</artifactId> | ||
<version>1.4.4-RC2-SNAPSHOT</version> | ||
<relativePath>../../pom.xml</relativePath> | ||
</parent> | ||
|
||
<groupId>com.microsoft.semantic-kernel</groupId> | ||
<artifactId>semantickernel-data-hsqldb</artifactId> | ||
<name>Semantic Kernel HLSQLDB connector</name> | ||
<description>Provides a HLSQLDB connector for the Semantic Kernel</description> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.microsoft.semantic-kernel</groupId> | ||
<artifactId>semantickernel-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.microsoft.semantic-kernel</groupId> | ||
<artifactId>semantickernel-data-jdbc</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-core</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.github.spotbugs</groupId> | ||
<artifactId>spotbugs-annotations</artifactId> | ||
</dependency> | ||
</dependencies> | ||
</project> |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>com.microsoft.semantic-kernel</groupId> | ||
<artifactId>semantickernel-parent</artifactId> | ||
<version>1.4.4-RC2-SNAPSHOT</version> | ||
<relativePath>../../pom.xml</relativePath> | ||
</parent> | ||
|
||
<groupId>com.microsoft.semantic-kernel</groupId> | ||
<artifactId>semantickernel-data-mysql</artifactId> | ||
<name>Semantic Kernel MySQL connector</name> | ||
<description>Provides a MySQL connector for the Semantic Kernel</description> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.microsoft.semantic-kernel</groupId> | ||
<artifactId>semantickernel-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.microsoft.semantic-kernel</groupId> | ||
<artifactId>semantickernel-data-jdbc</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-core</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.github.spotbugs</groupId> | ||
<artifactId>spotbugs-annotations</artifactId> | ||
</dependency> | ||
</dependencies> | ||
</project> |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>com.microsoft.semantic-kernel</groupId> | ||
<artifactId>semantickernel-parent</artifactId> | ||
<version>1.4.4-RC2-SNAPSHOT</version> | ||
<relativePath>../../pom.xml</relativePath> | ||
</parent> | ||
|
||
<artifactId>semantickernel-data-oracle</artifactId> | ||
<name>Semantic Kernel Oracle connector</name> | ||
<description>Provides a Oracle connector for the Semantic Kernel</description> | ||
|
||
<properties> | ||
<testcontainers.version>1.20.4</testcontainers.version> | ||
</properties> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.testcontainers</groupId> | ||
<artifactId>testcontainers-bom</artifactId> | ||
<version>${testcontainers.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.microsoft.semantic-kernel</groupId> | ||
<artifactId>semantickernel-data-jdbc</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-core</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.oracle.database.jdbc</groupId> | ||
<artifactId>ojdbc11</artifactId> | ||
<version>23.7.0.25.01</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.oracle.database.jdbc</groupId> | ||
<artifactId>ojdbc-provider-jackson-oson</artifactId> | ||
<version>1.0.4</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-api</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.testcontainers</groupId> | ||
<artifactId>testcontainers</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.testcontainers</groupId> | ||
<artifactId>junit-jupiter</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.testcontainers</groupId> | ||
<artifactId>oracle-free</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add version 0.0.1 and indicate that this is a preview version.