microsoft / semantic-kernel-java

Semantic Kernel for Java. Integrate cutting-edge LLM technology quickly and easily into your Java based apps. See https://aka.ms/semantic-kernel.
MIT License
98 stars 18 forks source link

Add storage name support for all connectors #193

Closed milderhc closed 3 months ago

milderhc commented 3 months ago

Motivation and Context

Description

Adding option to have a different storage name for the index/tables created or queried, other than the field names in the record class.

Using Jackson in all connectors.

Also making Class<?> fieldType to be required for all VectorStoreRecordField classes. This is more consistent and avoids the need to be passing recordClass everywhere to get the DeclaredField and their type, also makes it more reliable when creating a separate VectorStoreRecordDefinition.

Contribution Checklist