Skip to content

Using Qdrant for vector search throws Error building Component Qdrant: 'NoneType' object has no attribute 'page_content' #7519

Open
@snagrecha

Description

@snagrecha

Bug Description

I am using a locally hosted instance of Qdrant to store documents via the File Upload component. I am connecting the File Upload Data to the Ingest Data of Qdrant. This seems to work fine with the data getting ingested in the vector db and search query retrieving relevant documents.

Image

However when I try to use the same vector store which already has the data ingested, I get the following error:

Image

Image

Should it not be able to use the vector store to just retrieve the documents without having to ingest?

Reproduction

  1. Create an OpenAI Embedding Component
  2. Create a Qdrant component which connects to a Qdrant collection with some data already present
  3. Connect the embedding component to the Qdrant component
  4. Provide a search query in the Qdrant component and run the same

Expected behavior

Expected behaviour is to be able to use the vector store to retrieve relevant chunks without having to ingest the documents every time.

Who can help?

No response

Operating System

Ubuntu 22.04

Langflow Version

1.3.2

Python Version

None

Screenshot

No response

Flow File

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