Skip to content

Commit e598c77

Browse files
Oracledb connector page update (#299)
* Added oracle-db connector information. * Added oracledb-connector information. * Updated oracledb-connector for the correct documentation links * Updated oracle-connector with metadata information. * Updated file with the link to changed oracle-connector file. * Modied index.md file to remove C# oracle connector entry. * Updated TOC.yml for oracle database connector entry. * Updated oracle-connector .md file for ms author. * Updated oracle-connector.md for adding an important highlight. * Updated these two files based on the reviewer feedback. * Updated oracle-connector.md file for modifying custom mapping content. * As per the MS git validation warning added relative path of record definition in the oracle-connector md file. * Updated oracle-connector file for Oracle Java connector information. * Updated oracle connector page for Java connector information. * Fixed typo * updated oracle connector page to fix the validation errors. * Fixed validation errors in oracle connector page. * Update oracle-connector.md * Update .NET info in oracle-connector.md * Update oracle-connector.md for formatting Java support table. * Updated oracle connector page for additinal information on using Jaccard similarity in C# connector. Also, updated the table formatting for Java connector. * Change single quotes to double quotes Changed single quotes to double quotes to ensure correct C# syntax is used, --------- Co-authored-by: Alex Keh <alex.keh@oracle.com>
1 parent a803813 commit e598c77

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

semantic-kernel/concepts/vector-store-connectors/out-of-the-box-connectors/oracle-connector.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The Oracle Database Vector Store Connector can be used to access and manage data
4242
| Supported data property types | <ul><li>bool</li><li>byte</li><li>short</li><li>int</li><li>decimal</li><li>long</li><li>float</li><li>double</li><li>DateTime</li><li>DateTimeOffset</li><li>TimeSpan</li><li>char</li><li>char[]</li><li>byte[]</li><li>String</li><li>Guid</li><li>*and nullable type of the above types*</i></li></ul> |
4343
| Supported vector property types | <ul><li>ReadOnlyMemory\<float\></li><li>Embedding\<float\></li><li>float[]</li><li>ReadOnlyMemory\<double\></li><li>Embedding\<double\></li><li>double[]</li><li>ReadOnlyMemory\<short\></li><li>Embedding\<short\></li><li>short[]</li><li>ReadOnlyMemory\<byte\></li><li>Embedding\<byte\></li><li>byte[]</li><li>BitArray</li><li>BinaryEmbedding</li></ul> |
4444
| Supported index types | <ul><li>Flat (default)</li><li>HNSW</li><li>IVF</li></ul> |
45-
| Supported distance functions | <ul><li>CosineDistance</li><ul><li>FLOAT32, FLOAT64, and INT8 vector default</li></ul><li>CosineSimilarity</li><li>DotProductSimilarity</li><li>NegativeDotProductSimilarity</li><li>EuclideanDistance</li><li>EuclideanSquaredDistance</li><li>HammingDistance</li><ul><li>BINARY vector default</li></ul><li>ManhattanDistance</li><li>JaccardSimilarity</li></ul> |
45+
| Supported distance functions | <ul><li>CosineDistance</li><ul><li>FLOAT32, FLOAT64, and INT8 vector default</li></ul><li>CosineSimilarity</li><li>DotProductSimilarity</li><li>NegativeDotProductSimilarity</li><li>EuclideanDistance</li><li>EuclideanSquaredDistance</li><li>HammingDistance</li><ul><li>BINARY vector default</li></ul><li>ManhattanDistance</li><li>JaccardSimilarity<br> To use Jaccard similarity, set the DistanceFunction string to "JACCARD" or "JACCARDSIMILARITY" (for example, DistanceFunction = "JACCARDSIMILARITY"). This value is case sensitive. Jaccard similarity requires BINARY numeric format vectors. </li></ul> |
4646
| Supported filter clauses | <ul><li>==</li><li>!=</li><li><</li><li><=</li><li>></li><li>>=</li><li>List.Contains() <ul><li>Only when checking if the model property is in the list</li></ul></li></ul> |
4747
| Supports zero, one, or multiple vectors in a record | Yes |
4848
| IsIndexed supported? | Yes |
@@ -266,7 +266,7 @@ The Oracle Database Vector Store connector provides a default mapper when mappin
266266

267267
The Oracle Database Vector Store connector supports data model annotations and record definitions.Using annotations, the information can be provided to the data model for creating indexes and database column mapping. Using [record definitions](../schema-with-record-definition.md), the information can be defined and supplied separately from the data model.
268268

269-
The following table shows the default primary key data type mapping between Oracle database and C#:
269+
The following table shows the default primary key data type mapping between Oracle Database and C#:
270270

271271
| C# Data Type | Database Type |
272272
| ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -361,10 +361,10 @@ The Oracle Database Vector Store connector provides a default mapper when mappin
361361

362362
The Oracle Database Vector Store connector supports data model annotations and record definitions.Using annotations, the information can be provided to the data model for creating indexes and database column mapping. Using [record definitions](../schema-with-record-definition.md), the information can be defined and supplied separately from the data model.
363363

364-
The following table shows the default primary key data type mapping between Oracle database and Java, along with the corresponding methods to retrieve data from a `ResultSet`:
364+
The following table shows the default primary key data type mapping between Oracle Database and Java, along with the corresponding methods to retrieve data from a `ResultSet`:
365365

366366
| Java Type | Database Type | ResultSet Getter Method |
367-
| ------------- |:-------------:| -----:|
367+
| ------------- |-------------| -----|
368368
| byte/Byte | NUMBER(3) | `resultSet.getByte(name)`|
369369
| short/Short | NUMBER(5) |`resultSet.getShort(name)`|
370370
|int/Integer | NUMBER(10) |`resultSet.getInt(name)`|
@@ -375,7 +375,7 @@ The following table shows the default primary key data type mapping between Orac
375375
The following table shows the default data property type mapping along with the corresponding methods to retrieve data from a `ResultSet`:
376376

377377
| Java Type | Database Type | ResultSet Getter Method |
378-
| ------------- |:-------------:| -----:|
378+
| ------------- |-------------| -----|
379379
| boolean | BOOLEAN | `resultSet.getByte(name)`|
380380
|byte/Byte |NUMBER(3)|`resultSet.getByte(name)`|
381381
|byte[] |RAW(2000)|`resultSet.getBytes(name)`|
@@ -392,8 +392,8 @@ The following table shows the default data property type mapping along with the
392392

393393
Starting with Oracle Database 23ai, database vectors can be mapped to Java data types. Multiple vector columns are supported. The following table shows the default vector property type mapping:
394394

395-
| Java Type | Database Type
396-
| ------------- |:-------------:|
395+
| Java Type | Database Type|
396+
| ------------- |-------------|
397397
| String | VECTOR(%d, FLOAT32) |
398398
|Collection`<Float>`|VECTOR(%d, FLOAT32) |
399399
|List`<Float>` |VECTOR(%d, FLOAT32) |

0 commit comments

Comments
 (0)