Skip to content

[Bug] ElasticSearch Connector doesn't respect limit or minRelevance parameters #934

Open
@basyonic

Description

@basyonic

Context / Scenario

Steps to reproduce:

  • Configure Kernel Memory ElasticSearch Connector
  • Ingest document
  • Use GetSimilarListAsync and pass limit and minRelevance Parameters

Expected
Limits and minRelevance are respected with max number of result match limit parameter and minRelevance Score match passed parameter

What happened?

Limits and minRelevance are not respected.
API always return max of 15 results with any relevance score

Importance

I cannot use Kernel Memory

Platform, Language, Versions

Kernel Memory 0.94.241201.1

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwaiting for authorWaiting for author to reply or address comments

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions