mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2026-06-15 23:20:32 +03:00
LMStudio 0 value embeddings patch (#4084)
patch lmstudio encoding_format to fix all embeddings as 0 value
This commit is contained in:
@@ -63,6 +63,7 @@ class LMStudioEmbedder {
|
||||
.create({
|
||||
model: this.model,
|
||||
input: chunk,
|
||||
encoding_format: "base64",
|
||||
})
|
||||
.then((result) => {
|
||||
const embedding = result.data?.[0]?.embedding;
|
||||
|
||||
Reference in New Issue
Block a user