Skip to content

[BUG] Return wrong number of retrieved documents #59

@cheungdaven

Description

@cheungdaven

when setting

  retriever_top_k: 3
  use_reranker: false
  reranker_top_k: 1

retrieve_context_for_query will only return 1 document, it is supposed to return 3 and discard the reranker_top_k param.

Metadata

Metadata

Assignees

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