This is an automated email from the ASF dual-hosted git repository.
lihaopeng pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
from 625ee9b01bb [chore](cast)use new cast api in convert_field_to_type
(#55432)
add 2fae8eb4df7 [Enhancement](llm) Support embed function (#55017)
No new revisions were added by this update.
Summary of changes:
.../vec/functions/llm/{llm_generate.h => embed.h} | 22 +-
be/src/vec/functions/llm/functions_llm.h | 141 +++-
be/src/vec/functions/llm/llm_adapter.h | 557 ++++++++++++++--
be/src/vec/functions/llm/llm_classify.h | 2 +-
be/src/vec/functions/llm/llm_extract.h | 2 +-
be/src/vec/functions/llm/llm_filter.h | 6 +-
be/src/vec/functions/llm/llm_fix_grammar.h | 3 -
be/src/vec/functions/llm/llm_functions.cpp | 68 +-
be/src/vec/functions/llm/llm_generate.h | 2 +-
be/src/vec/functions/llm/llm_mask.h | 2 +-
be/src/vec/functions/llm/llm_sentiment.h | 3 -
be/src/vec/functions/llm/llm_similarity.h | 5 +-
be/src/vec/functions/llm/llm_summarize.h | 3 -
be/src/vec/functions/llm/llm_translate.h | 2 +-
be/src/vec/functions/simple_function_factory.h | 22 +-
be/test/llm/build_prompt_test.cpp | 13 +-
be/test/llm/embed_test.cpp | 719 +++++++++++++++++++++
be/test/llm/llm_adapter_test.cpp | 71 +-
be/test/testutil/mock/mock_query_context.h | 3 +-
.../doris/catalog/BuiltinScalarFunctions.java | 4 +-
.../java/org/apache/doris/catalog/LLMResource.java | 104 +--
.../property/constants/LLMProperties.java | 14 +-
.../functions/llm/{LLMGenerate.java => Embed.java} | 30 +-
.../expressions/visitor/ScalarFunctionVisitor.java | 5 +
gensrc/thrift/PaloInternalService.thrift | 1 +
.../suites/llm_p0/test_create_llm_resource.groovy | 28 +-
.../suites/llm_p0/test_llm_functions.groovy | 22 +-
27 files changed, 1477 insertions(+), 377 deletions(-)
copy be/src/vec/functions/llm/{llm_generate.h => embed.h} (63%)
create mode 100644 be/test/llm/embed_test.cpp
copy
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/llm/{LLMGenerate.java
=> Embed.java} (70%)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]