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 1ac8583 [Feature][runtime] Support the use of Java ChatModel in
Python (#373)
add 63a2dcc [api][integration] Enrich interface for vector store.
add 2d0a8a5 [api][runtime][python] Introduce long-term memory interface
and provide a vector store based implementation.
No new revisions were added by this update.
Summary of changes:
python/flink_agents/api/{ => memory}/__init__.py | 0
python/flink_agents/api/memory/long_term_memory.py | 313 +++++++++++++++++++++
.../api/{ => memory/tests}/__init__.py | 0
.../tests/test_long_term_memory.py} | 24 +-
.../flink_agents/api/vector_stores/vector_store.py | 212 +++++++++++++-
.../vector_stores/chroma/chroma_vector_store.py | 169 ++++++++++-
.../chroma/tests/test_chroma_vector_store.py | 164 ++++++++---
python/flink_agents/plan/tests/test_agent_plan.py | 32 ++-
.../{api => runtime/memory}/__init__.py | 0
.../runtime/memory/compaction_functions.py | 175 ++++++++++++
.../{api => runtime/memory/tests}/__init__.py | 0
.../tests/test_vector_store_long_term_memory.py | 256 +++++++++++++++++
.../memory/vector_store_long_term_memory.py | 255 +++++++++++++++++
13 files changed, 1517 insertions(+), 83 deletions(-)
copy python/flink_agents/api/{ => memory}/__init__.py (100%)
create mode 100644 python/flink_agents/api/memory/long_term_memory.py
copy python/flink_agents/api/{ => memory/tests}/__init__.py (100%)
copy python/flink_agents/api/{agents/tests/test_row_schema.py =>
memory/tests/test_long_term_memory.py} (64%)
copy python/flink_agents/{api => runtime/memory}/__init__.py (100%)
create mode 100644 python/flink_agents/runtime/memory/compaction_functions.py
copy python/flink_agents/{api => runtime/memory/tests}/__init__.py (100%)
create mode 100644
python/flink_agents/runtime/memory/tests/test_vector_store_long_term_memory.py
create mode 100644
python/flink_agents/runtime/memory/vector_store_long_term_memory.py