neo4j-labs / llm-graph-builder

Neo4j graph construction from unstructured data using LLMs

Home Page:https://neo4j.com/labs/genai-ecosystem/llm-graph-builder/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

neo4j_retriever is not respecting score_threshold

ais-qianhao-liu opened this issue · comments

Is this a known problem?

Also should set this search_type="similarity_score_threshold"

retriever = neo_db.as_retriever(search_type="similarity_score_threshold", search_kwargs={'k': search_k, "score_threshold": score_threshold})

Currently I can manually filter the result docs, but would be great if this can be fixed

Hi @ais-qianhao-liu , we have updated the search_type thanks for your feedback.