Skip to content

Odd behavior with bl_type filtering #6

@gaurav

Description

@gaurav

I can run the following query on Babel Sapbert and get back reasonable-looking results:

{
  "text": "asthma",
  "model_name": "sapbert",
  "count": 10000,
  "args": {"bl_type": "Gene"}
}

However, if I change bl_type to Disease, it returns zero results:

{
  "text": "asthma",
  "model_name": "sapbert",
  "count": 10000,
  "args": {"bl_type": "Disease"}
}

However, if I run the query with a blank bl_type, I get back good search results, including lots of biolink:Disease results.

{
  "text": "asthma",
  "model_name": "sapbert",
  "count": 10000,
  "args": {"bl_type": ""}
}

Does anybody know what's going on here? Am I calling the model incorrectly?

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