This is an automated email from the ASF dual-hosted git repository.

wenjin272 pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git


    from 678c5a7c [api][java][python] Reject null and non-positive limit in 
VectorStoreQuery (#1144)
     new 65badf93 [e2e] Tighten the API-key gating in ChatModelIntegrationTest
     new 1e91a775 [integrations][python] Align the OpenAI embedding model with 
the Java connection
     new e8f79d51 [integrations][java] Add OpenAI embedding model (#1103)

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:
 .../flink/agents/api/resource/ResourceName.java    |   6 +
 .../org/apache/flink/agents/api/yaml/Aliases.java  |   2 +
 .../apache/flink/agents/api/yaml/AliasesTest.java  |  14 +
 dist/pom.xml                                       |   5 +
 docs/content/docs/development/embedding_models.md  |  99 ++-
 docs/content/docs/development/yaml.md              |   2 +-
 docs/content/docs/faq/faq.md                       |   2 +-
 .../pom.xml                                        |   5 +
 .../integration/test/ChatModelIntegrationTest.java |  88 +-
 .../test/EmbeddingIntegrationAgent.java            |  13 +
 .../integration/test/EmbeddingIntegrationTest.java |  86 +-
 .../integration/test/OllamaPreparationUtils.java   |   9 +
 ide-support/pom.xml                                |  11 +
 .../embedding-models/{ollama => openai}/pom.xml    |  10 +-
 .../openai/OpenAIEmbeddingModelConnection.java     | 556 +++++++++++++
 .../openai/OpenAIEmbeddingModelSetup.java          | 112 +++
 .../openai/OpenAIEmbeddingModelTest.java           | 890 +++++++++++++++++++++
 integrations/embedding-models/pom.xml              |   1 +
 python/flink_agents/api/resource.py                |   4 +
 python/flink_agents/api/yaml/aliases.py            |   2 +
 python/flink_agents/api/yaml/tests/test_aliases.py |  17 +
 .../embedding_models/openai_embedding_model.py     | 341 +++++++-
 .../tests/test_openai_embedding_model.py           | 383 ++++++++-
 23 files changed, 2527 insertions(+), 131 deletions(-)
 copy integrations/embedding-models/{ollama => openai}/pom.xml (86%)
 create mode 100644 
integrations/embedding-models/openai/src/main/java/org/apache/flink/agents/integrations/embeddingmodels/openai/OpenAIEmbeddingModelConnection.java
 create mode 100644 
integrations/embedding-models/openai/src/main/java/org/apache/flink/agents/integrations/embeddingmodels/openai/OpenAIEmbeddingModelSetup.java
 create mode 100644 
integrations/embedding-models/openai/src/test/java/org/apache/flink/agents/integrations/embeddingmodels/openai/OpenAIEmbeddingModelTest.java

Reply via email to