This is an automated email from the ASF dual-hosted git repository.
sxnan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
from 77b21e1c033 [FLINK-38586][table-runtime] Fix ClassCastException when
using Delta Join with lookup cache (#27167)
new 5e54fa37a9a [hotfix][model] Support automatic document generation
new 7ab3e03ec9b [FLINK-38581][model] Model Function supports error
handling strategy
new c3bf06141bc [FLINK-38581][model] Support surfacing error message
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:
docs/content.zh/docs/connectors/models/openai.md | 206 +------------
docs/content/docs/connectors/models/openai.md | 210 ++-----------
.../generated/model_openai_chat_section.html | 66 ++++
.../generated/model_openai_common_section.html | 60 ++++
...on.html => model_openai_embedding_section.html} | 6 +-
.../shortcodes/generated/openai_configuration.html | 120 ++++++++
.../flink/annotation/docs/Documentation.java | 6 +
flink-docs/pom.xml | 6 +
.../docs/util/ConfigurationOptionLocator.java | 4 +-
flink-models/flink-model-openai/pom.xml | 6 +
.../model/openai/AbstractOpenAIModelFunction.java | 292 +++++++++++++-----
.../flink/model/openai/ContextOverflowAction.java | 12 +-
.../model/openai/OpenAIChatModelFunction.java | 128 +++-----
.../model/openai/OpenAIEmbeddingModelFunction.java | 55 ++--
.../model/openai/OpenAIModelProviderFactory.java | 35 ++-
.../apache/flink/model/openai/OpenAIOptions.java | 209 +++++++++++++
.../ModelFunctionErrorHandlingStrategyTest.java | 331 +++++++++++++++++++++
.../src/test/resources/log4j2-test.properties | 0
18 files changed, 1161 insertions(+), 591 deletions(-)
create mode 100644
docs/layouts/shortcodes/generated/model_openai_chat_section.html
create mode 100644
docs/layouts/shortcodes/generated/model_openai_common_section.html
copy docs/layouts/shortcodes/generated/{jmx_server_configuration.html =>
model_openai_embedding_section.html} (57%)
create mode 100644 docs/layouts/shortcodes/generated/openai_configuration.html
create mode 100644
flink-models/flink-model-openai/src/main/java/org/apache/flink/model/openai/OpenAIOptions.java
create mode 100644
flink-models/flink-model-openai/src/test/java/org/apache/flink/model/openai/ModelFunctionErrorHandlingStrategyTest.java
copy {flink-clients =>
flink-models/flink-model-openai}/src/test/resources/log4j2-test.properties
(100%)