Skip to content

Commit

Permalink
Debug # vec search results
Browse files Browse the repository at this point in the history
  • Loading branch information
epoz committed Mar 27, 2024
1 parent 4060410 commit e345dff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async def sparql_get(
{"request": request, "ENDPOINT": f"{SCHEME}{DOMAIN}/sparql"},
)

if FTS_FILEPATH:
if FTS_FILEPATH or RDF2VEC_FILEPATH:
query = fizzysearch.rewrite(query)

result = GRAPH.query(query)
Expand Down
1 change: 1 addition & 0 deletions src/app/rdf2vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def rdf2vec_search(node_uri: str):
)
if uri.startswith("<")
]
logging.debug(f"RDF2Vec search for {node_uri} found {len(results)}")
return results


Expand Down

0 comments on commit e345dff

Please sign in to comment.