Settings

Theme

Slack Search with LangChain's Self-Querying AI

youtube.com

2 points by vinitagr 2 years ago · 1 comment

Reader

vinitagrOP 2 years ago

In this video I have demonstrated and shown how to convert a search-related question asked to a @Slackhq Chatbot into a search with a pre-filter applied to make the search results more relevant.

I have used @LangChain 's Self-Querying feature that can convert a question like this:

"Can you find me that thread where Vinit Agrawal talked about AI Safety on the General channel?"

to

"from: @VinitAgrawal88 in:#general AI Safety"

This will reduce the search space significantly and improve the quality and relevance of search results.

Read more about LangChain's Self-Querying Retriever here: https://python.langchain.com/docs/modules/data_connection/re...

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection