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 f8eac10b [plan] Extract ResourceCache and PythonResourceBridge from 
AgentPlan (#548)
     new 61aebbf4 [ci] Improve the ci experience.
     new 05ed9910 [runtime] Support async execution for cross language 
resources.

The 2 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:
 .../agents/api/chat/model/BaseChatModelSetup.java  | 66 ++++++++++-----
 .../chat/model/python/PythonChatModelSetup.java    |  6 ++
 .../embedding/model/BaseEmbeddingModelSetup.java   | 43 ++++++----
 .../model/python/PythonEmbeddingModelSetup.java    |  6 ++
 .../apache/flink/agents/api/resource/Resource.java |  3 +
 .../agents/api/vectorstores/BaseVectorStore.java   | 41 ++++++---
 .../api/vectorstores/python/PythonVectorStore.java |  6 ++
 .../bedrock/BedrockEmbeddingModelSetup.java        |  5 --
 integrations/embedding-models/ollama/pom.xml       |  6 ++
 .../ollama/OllamaEmbeddingModelSetup.java          |  5 --
 .../ollama/OllamaEmbeddingModelConnectionTest.java |  6 +-
 .../opensearch/OpenSearchVectorStore.java          |  6 +-
 .../s3vectors/S3VectorsVectorStore.java            |  6 +-
 .../flink/agents/plan/actions/ChatModelAction.java | 11 ++-
 .../plan/actions/ContextRetrievalAction.java       |  8 +-
 .../apache/flink/agents/plan/actions/Utils.java    | 97 ++++++++++++++++++++++
 .../agents/plan/AgentPlanDeclareChatModelTest.java | 10 ++-
 .../plan/actions/ChatModelActionRetryTest.java     |  4 +-
 python/flink_agents/api/chat_models/chat_model.py  | 82 ++++++++++++------
 .../api/embedding_models/embedding_model.py        | 32 +++++--
 python/flink_agents/api/resource.py                | 37 +++++----
 .../flink_agents/api/vector_stores/vector_store.py | 33 ++++----
 .../built_in_action_async_execution_test.py        |  3 +
 .../e2e_tests_integration/long_term_memory_test.py |  6 ++
 .../chat_models/tests/test_ollama_chat_model.py    |  5 ++
 .../chat_models/tests/test_tongyi_chat_model.py    |  4 +
 .../chroma/tests/test_chroma_vector_store.py       | 18 +++-
 .../flink_agents/plan/actions/chat_model_action.py | 23 +++--
 .../plan/actions/context_retrieval_action.py       |  9 +-
 python/flink_agents/plan/actions/utils.py          | 58 +++++++++++++
 python/flink_agents/plan/resource_provider.py      |  1 -
 python/flink_agents/plan/tests/test_agent_plan.py  |  3 +
 .../flink_agents/runtime/flink_runner_context.py   |  1 +
 .../flink_agents/runtime/java/java_chat_model.py   |  5 ++
 .../runtime/java/java_embedding_model.py           |  7 ++
 .../flink_agents/runtime/java/java_vector_store.py |  4 +
 .../tests/test_vector_store_long_term_memory.py    | 24 +++---
 python/flink_agents/runtime/resource_cache.py      |  1 +
 .../runtime/tests/test_built_in_actions.py         |  3 +
 .../runtime/tests/test_get_resource_in_action.py   |  3 +
 .../apache/flink/agents/runtime/ResourceCache.java |  2 +-
 .../agents/runtime/context/RunnerContextImpl.java  |  1 +
 .../python/context/PythonRunnerContextImpl.java    |  5 ++
 tools/build.sh                                     |  2 +
 tools/ut.sh                                        |  2 +-
 45 files changed, 537 insertions(+), 172 deletions(-)
 create mode 100644 
plan/src/main/java/org/apache/flink/agents/plan/actions/Utils.java
 create mode 100644 python/flink_agents/plan/actions/utils.py

Reply via email to