Skip to content

Zero embedding when using LMStudio and OpenAI Embedding Custom #5499

@pearsonkyle

Description

@pearsonkyle

Describe the bug

Hello,

I'm trying to make a DocumentStore however I'm running into an issue with my embeddings showing up as an array of 0's. I'm using LMStudio and running my own instance of pgvector. I've been able to make it through the embedding process however when I inspect my vectors they show up as an array of 0s. I tried using different models with varying dimensions but nothing worked.

Here is a similar issue explaining the problem for another js application: n8n-io/n8n#16985

To Reproduce

  1. Create DocumentStore
  2. Use OpenAI Embeddings Custom with LMStudio (https://huggingface.co/second-state/All-MiniLM-L6-v2-Embedding-GGUF)
  3. Set up PGVector, I'm using the image: pgvector/pgvector:pg18
  4. Chunk + Embed the document
  5. Inspect the database using adminer:5 image

Expected behavior

The array of embeddings should be non-zero.

Screenshots

Image

Flow

No response

Use Method

npx flowise start

Flowise Version

3.0.11

Operating System

macOS

Browser

None

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions