~data-platform/opensearch-project-components/+git/opensearch-ml-commons:lp-2.13.0

Last commit made on 2024-05-07
Get this branch:
git clone -b lp-2.13.0 https://git.launchpad.net/~data-platform/opensearch-project-components/+git/opensearch-ml-commons
Members of Canonical Data Platform can upload to this branch. Log in for directions.

Branch merges

Recent commits

a6042c6... by Pedro GuimarĂ£es

changed gradle distro url

493e394... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

check model auto deploy (#2288) (#2290)

Signed-off-by: Xun Zhang <email address hidden>
(cherry picked from commit 848abf6832f6ab2901f51c7c9893cae5630bd398)

Co-authored-by: Xun Zhang <email address hidden>

c5c4e61... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

Add a flag to control auto-deploy behavior (#2276) (#2287)

* Add a flag to control auto-deploy behavior

Signed-off-by: Sicheng Song <email address hidden>

* Fix compilation

Signed-off-by: Sicheng Song <email address hidden>

* Bump back schema version due to already bumped in guardrail pr

Signed-off-by: Sicheng Song <email address hidden>

---------

Signed-off-by: Sicheng Song <email address hidden>
(cherry picked from commit 22fcaf0bb3470d73ed869eabd71d02326408d85a)

Co-authored-by: Sicheng Song <email address hidden>

4dbeb28... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

restrict stash context only for stop words system index (#2283) (#2285)

Signed-off-by: Jing Zhang <email address hidden>
(cherry picked from commit 5f9026df15f7f1e146c6279fdbca3725ceb61d11)

Co-authored-by: Jing Zhang <email address hidden>

2365afc... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

fix building error http core5 diverging between main and 2x (#2278) (#2280)

Signed-off-by: Jing Zhang <email address hidden>
(cherry picked from commit cbbff4b4ac00850f46dde609476b420c153d67cf)

Co-authored-by: Jing Zhang <email address hidden>

c52b63a... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

fix mapping (#2279) (#2282)

Signed-off-by: Jing Zhang <email address hidden>
(cherry picked from commit f67eab0cd7975427ebd23cadab80b005423170f9)

Co-authored-by: Jing Zhang <email address hidden>

1841810... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

guardrails bug fixes and IT for creating guardrails (#2269) (#2275)

Signed-off-by: Jing Zhang <email address hidden>
(cherry picked from commit be56bcfdaf53087ba09bc989d5d3325943a4f4d0)

Co-authored-by: Jing Zhang <email address hidden>

1babe1f... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

add agent framework security it tests (#2266) (#2271)

* add agent framework security it tests

Signed-off-by: Xun Zhang <email address hidden>

* fix the algorithm upper case bug in prediction

Signed-off-by: Xun Zhang <email address hidden>

* add Locale.ROOT and convert to uppercase in FunctionName

Signed-off-by: Xun Zhang <email address hidden>

---------

Signed-off-by: Xun Zhang <email address hidden>
(cherry picked from commit b12a569d61806f388a33e40d02b920ed5a8c185c)

Co-authored-by: Xun Zhang <email address hidden>

839785f... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

fix remote register model / circuit breaker 500 (#2264) (#2273)

* move memory CB check into try block to catch exception and hand to listener for register remote model

Signed-off-by: Henry Lindeman <email address hidden>

* add test that memory cb exception is caught by action listener

Signed-off-by: Henry Lindeman <email address hidden>

* unthrow priviledgedExceptionAction

Signed-off-by: Henry Lindeman <email address hidden>

---------

Signed-off-by: Henry Lindeman <email address hidden>
(cherry picked from commit 30642e67e63f99fbefe490fd371c1b7ccb923cc5)

Co-authored-by: Henry Lindeman <email address hidden>

eeba1c3... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

Add mention of support for Cohere in RAG to 2.13 release note. (#2260) (#2262)

Signed-off-by: Austin Lee <email address hidden>
(cherry picked from commit 624dfbab760236dfb656ec396944650ddbe256e8)

Co-authored-by: Austin Lee <email address hidden>