Find answers from the community

Updated 2 months ago

is there a way to filter by score using

is there a way to filter by score using a VectorIndexRetriever
L
m
7 comments
probably nothing better than what you are currently doing lol
im having a lot of issues where it returns a random chunk from the db for a questopn thats irrelevant and even though im trying to tweak the prompt, it still keeps saying things like

Sorry i cant answer 2+2 because the context provides harry potter book
what kind of chat engine are you using? ContextChatEngine ?
Probably could tweak the prompt template that displays the context. Or use CondensePlusContextChatEngine
we use React agent or Openai agent, so whatever is under the good of those
spooky. It's just prompt engineering at that point lol (why did it call a tool if the user asked 2+2 ? lol)
Add a reply
Sign up and join the conversation on Discord