]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
server : (embeddings) using same format for "input" and "content" (#10872)
authorXuan Son Nguyen <redacted>
Wed, 18 Dec 2024 08:55:09 +0000 (09:55 +0100)
committerGitHub <redacted>
Wed, 18 Dec 2024 08:55:09 +0000 (10:55 +0200)
commit46828872c31b25df16169cbbf5c2225fa9cb0675
tree320bc0628a04834afedbbad3a99346853750517b
parent6b064c92b4c0228e333193c167f2c98d2ec8d9bc
server : (embeddings) using same format for "input" and "content" (#10872)

* server : (embeddings) using same format for "input" and "content"

* fix test case

* handle empty input case

* fix test
examples/server/server.cpp
examples/server/tests/unit/test_embedding.py
examples/server/utils.hpp