LocalAI/api
mudler e62ee2bc06 fix: remove trailing 0s from embeddings
This happens when no max_tokens are set, so by default go-llama
allocates more space for the slice and padding happens.
2023-05-05 18:35:03 +02:00
..
api_test.go feat: add rwkv support (#158) 2023-05-03 11:45:22 +02:00
api.go feat: support deprecated embeddings API 2023-05-05 15:55:19 +02:00
apt_suite_test.go feat: add CI/tests (#58) 2023-04-22 00:44:52 +02:00
config.go feat: support arrays for prompt and input 2023-05-05 15:54:59 +02:00
openai.go fix: respect config from file for backends settings 2023-05-05 18:05:10 +02:00
prediction.go fix: remove trailing 0s from embeddings 2023-05-05 18:35:03 +02:00