This is an automated email from the ASF dual-hosted git repository.
xtsong pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git
from ca315e7 [runtime][java] Support use Long-Term Memory in action.
new afc0e6a [hotfix] Bypass Pydantic validation for Java resource wrappers
new 59d564c [hotfix] Improve create_collection_if_not_exists
configuration range for ChromaVectorStore
new ea6db46 [Feature][runtime] Support the use of Python VectorStore in
Java
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../api/resource/python/PythonResourceAdapter.java | 45 +++
.../api/vectorstores/VectorStoreQueryMode.java | 32 +-
.../PythonCollectionManageableVectorStore.java | 85 +++++
.../api/vectorstores/python/PythonVectorStore.java | 156 +++++++++
.../PythonCollectionManageableVectorStoreTest.java | 354 +++++++++++++++++++++
.../pom.xml | 5 +
.../test/VectorStoreCrossLanguageAgent.java | 239 ++++++++++++++
.../test/VectorStoreCrossLanguageTest.java} | 55 ++--
.../resourceprovider/PythonResourceProvider.java | 4 +-
.../apache/flink/agents/plan/AgentPlanTest.java | 31 ++
.../flink_agents/api/vector_stores/vector_store.py | 4 +-
.../vector_stores/chroma/chroma_vector_store.py | 21 +-
.../flink_agents/runtime/java/java_chat_model.py | 5 +-
.../runtime/java/java_embedding_model.py | 6 +-
python/flink_agents/runtime/python_java_utils.py | 35 ++
.../python/utils/PythonResourceAdapterImpl.java | 57 ++++
16 files changed, 1088 insertions(+), 46 deletions(-)
create mode 100644
api/src/main/java/org/apache/flink/agents/api/vectorstores/python/PythonCollectionManageableVectorStore.java
create mode 100644
api/src/main/java/org/apache/flink/agents/api/vectorstores/python/PythonVectorStore.java
create mode 100644
api/src/test/java/org/apache/flink/agents/api/vectorstores/python/PythonCollectionManageableVectorStoreTest.java
create mode 100644
e2e-test/flink-agents-end-to-end-tests-resource-cross-language/src/test/java/org/apache/flink/agents/resource/test/VectorStoreCrossLanguageAgent.java
copy
e2e-test/{flink-agents-end-to-end-tests-integration/src/test/java/org/apache/flink/agents/integration/test/VectorStoreIntegrationTest.java
=>
flink-agents-end-to-end-tests-resource-cross-language/src/test/java/org/apache/flink/agents/resource/test/VectorStoreCrossLanguageTest.java}
(67%)