Hacker News new | ask | show | jobs
Slack Search with LangChain's Self-Querying AI (youtube.com)
2 points by vinitagr 909 days ago
1 comments

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...