Skip to content

semantic scores of all documents for a query #3996

@sinchanabhat

Description

@sinchanabhat

Hello,

I am trying to get the semantic scores of all the documents for a single query. Is there any variable that I need to pass in while using

pipeline = DocumentSearchPipeline(retriever)
result = pipeline.run(query, params={"Retriever": {"top_k" : 10}})

If I use or do not use top_k, I will get ordered scores, but I do not want ordered scores, I want scores for all the documents. Is this possible?

Looking forward!
Thanks
Sinchana

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions