mirror of https://github.com/hwchase17/langchain
Fix bug in SPARQL intent selection (#8521)
- Description: Fix bug in SPARQL intent selection - Issue: After the change in #7758 the intent is always set to "UPDATE". Indeed, if the answer to the prompt contains only "SELECT" the `find("SELECT")` operation returns a higher value w.r.t. `-1` returned by `find("UPDATE")`. - Dependencies: None, - Tag maintainer: @baskaryan @aditya-29 - Twitter handle: @mario_scrockpull/10258/head
parent
7fe8bf03a0
commit
334bd8ebbe
Loading…
Reference in New Issue